Thursday, October 29, 2009

Away3D basic demo

i was playing around with away3d for flash. I just wanted to create a simple 3D plane with a different MovieClip mapped to each side which both retained their interactivity.

demo here

i've bundled the source here in all platform friendly zip format (dunno about you but i'm getting tired i've getting source made by OSX archive that adds all the extra mac crap and makes me unzip every file on its own...)

anyways, source is in CS3 and uses Away3d 2.4

download here

Labels: , ,

Friday, October 9, 2009

more facebook flash fun

ok so found out today that you are not allowed to give the user insentive to add an app to their profile in order to access a differnt part of your app. i was trying to detect if they had installed the app, however the FBML else tag is not available for the tag meaning you can detect if they haven't added it, you just can't do anything about it...

my way around it was to have a link in the profile app which passed a variable for which page to go to via GET. more soon...

Labels: , , ,

Thursday, October 8, 2009

facebook app + flash = hmmmm

well i've started building a facebook app that's flash based and jumped head on into the Facebook AS3 API. there's likely going to be a lot of posts about this as i found out new things.

so far i've been able to embed a flash movie into the canvas page with the FBML tag. i've then got that to add a smaller flash app onto the user's profile page.

it's been tough finding out how to do all this stuff as the facebook docs are huge but not very well organised, at the end i might even write a tutorial about it.

here's somethings which i discovered that should have been very clearly mentioned in the getting started docs:

- you cannot get a vistor's user id (and therfore info) from a profile app. i was wanting to create an app that has a different state for the owner and a different one for a visitor, unfortunately it's not easy, if even possible at all.

- the 'add to profile' button as far as i have discovered cannot be edited or incorporated into a flash app so it just has to sit on the outside of the flash app on the canvas page

will list more issues as i find em. if you have any questions, email me and i'll give ya a hand.

Labels: , ,