Archive for the ‘ Flash ’ Category

APE Physics Engine

This looks like it could be my new favorite library. Looks like you could make a lot of fun stuff with this.
http://www.cove.org/ape/index.htm

iPhone Apps with CS5

Lee Brimelow has a great video about creating apps for the iPhone with CS5. This is is just a preliminary video showing a prerelease version of Flash CS5. The process may change in the final release, but it gives a good idea of what is going on and what kind of performance you can expect.
Sounds like it costs $99 per year to become an iPhone developer through Apple. You’ll have to pony up if you are serious about developing iPhone apps.

http://www.gotoandlearn.com/play?id=116

Here’s a little on someone’s experience creating apps for the iPhone:

http://joshblog.net/2009/10/18/bowler-hat-games-phase-two-begins-chroma-circuit-for-iphone/

SWFObject

SWFObject, if you haven’t heard of it already is a really great little javascript that simplifies the process of embedding your swf files in an html page. This is a huge improvement over the default systems provided Publishing from Flash or Dreamweaver.

The method provided by the Publish settings in Flash and Insert > Media > Flash in Dreamweaver work just fine, but they leave you with a huge Javascript mess in your HTML page. SWFObject provides a clean and organized system that works well and provides a few extra perks.

You can download SWFObject here: http://code.google.com/p/swfobject/

SWFObject is contained in a single small Javascript file. I have been using the latest version (at the time I wrote this it was 2.2) and it seems to work well.

You can write the code for yourself following the documentation on the site listed above. Or use the code generator here: http://www.bobbyvandersluis.com/swfobject/generator/index.html

I had some trouble getting Flash to display 100% width and height. But this was sorted after a short Google search. Turns out the following styles are required:

html, body {
 background-color: #616264;
 margin:0;
 height:100%;
 overflow: hidden;
}
#flashcontent {
 height:100%;
}

Note, without overflow:hidden you end up seeing the scroll bars and the page scrolls about 5px. This was very confusing, you would figure that 100% height would make everything the size of the browser rather than a little larger?

HYPE Framework for Flash

Hey, here’s an interesting thing from Brendan Hall and Joshua Davis.

http://hype.joshuadavis.com/

It’s sort of a particle system/group animator. Not sure exactly what to call it. It allows you to set up elements, copy them, animate them and set cycling motions, with ease. Looks like fun. Could be good for creating animated backgrounds and what not.

ImageStreak Class for AS3

Here’s a new version of the ImageStreak Class written for AS3.

http://webdevils.googlecode.com/files/ImageStreak.zip

This class loads an image file. Creates a new Bitmap and BitmapData objects. Then it procedes to draw the image one pixel column at a time drawing the current pixel across the image. After it’s finished with the first column it moves on to the next. Until the entire image is drawn.