Friday, November 30, 2007

New Project Launched

After I returned from Brighton and Flash on the Beach I was immediately booked on a job. To be honest, all I wanted to do was lie down for a week, but that wasn't meant to be.

Luckily, it was an interesting job and one I haven't done before. A snow globe. I got to do a few things I've wanted to use in a project; copy images via BitmapData so I only need to load them once, and I adapted Seb Lee-Delisle's AS3 particle system for the snowflakes.

Wish you were cheer

Ran into a couple of bugaboos; namely SharedObject issues. Somewhere along the line we thought a downloaded globe could access a SharedObject created by a website. I think I knew this already, but I was hoping I was wrong. So we had to go with writing a text file on the fly, grabbing the exe and zipping them both up for download.

For the embed code, it was a fairly simple matter of copying basic object and embed code and using FlashVars in the code for the blog aspect. One thing I didn't know and had to join MySpace to discover, MySpace rewrites that code on the fly and it does away with whatever it is I had that the globe recognizes for the globe. Any globe embedded on MySpace is blank. It still looks pretty sweet, and the snowflakes still work, but it's a bummer it's not your own globe. And FaceBook won't let the code work at all. If anyone knows anything about embedding swf's in FaceBook, enlighten me.


Wish you were cheer

However, if you have a blog, it works fine. See the post below this one.






Wish you were cheer

Labels: , , ,

0 Comments:

Post a Comment

<< Home