10-17-2008
XML files allow you to keep all of your data outside of your source .fla, giving you complete dynamic control of the content without having to go republish your flash file. Since most of the work I do involves an XML file, this is how i use the URLLoader Class to load the data:
Code after jump.
Read Full Post
This is the best way I have found of loading images, catching any error that might come along. This can also be used for loading external swf files, just changing the Bitmap in the imageLoaded method to MovieClip
Code after jump.
Read Full Post
10-16-2008
A while ago Lee Brimelow posted about a way to publish flash files from textmate, but for some reason it never worked for me. Based on that method and some research into extending flash I have created a way to test your flash movies from Textmate, without switching to Flash.
Code after jump.
Read Full Post
On pretty much every project that I do, I use an external variable or two to specify the path of a file(generally an XML file). when testing the flash movie you can use one variable and have it use a different one when embedded into the html page. To do this you use the Capabilities class in flash.system. using playerType == “External” which means testing from the IDE.
Code after jump.
Read Full Post
Sometimes you want to create rows and columns dynamically, and for a long time I didn’t know how, with some research and some documentation perusal, I found that using the % modulo will help you create rows and columns.
Code after jump.
Read Full Post
The Programmatic Tween Engine that I use and highly recommend is the TweenMax family from GreenSock. He has done an excellent job on continually improving an already robust engine, adding new features and new members to the family almost monthly. The syntax is easy to use and very simple, he has also included the Penner [...]
Read Full Post