Ok, here is another good, simple and easy tutorial for writing a generic script in Actionscript 2.0. 10 Minutes With Flash: ActionScript You’ll Never Have to Write Again, is indeed a good tutorial even when Actionscript 2.0 have matured and had been with us for quite sometime.
Via : Inform IT
“With ActionScript, there are all sorts of options for reusing code. You can write scripts as class files and simply create instances of them in your project. You can write functions and call back to them whenever you need to. You can also write up a script and include it in your project via an #include command. In this article, you’ll create an instance of the MovieClipLoader class to handle loading assets into a movie at runtime, save it as an external file, and then include it in a movie; enabling you to load anything you want using one line of code instead of 20. If you’re familiar with the MovieClipLoader class, you’ll know that arguably the best use for it is as a preloader, using the onLoadProgress method to trigger some sort of progress bar animation or percentage text, For this article, however, you’ll just write a generic script you can modify later.”
Other previous articles by Robert Hoekman, Jr. on Macromedia Flash MX 2004 includes :
Optimizing Flash MX 2004 workspace and revealing hidden features,
Bitmap Video Effects,
Repeating History through Commands and
The world according to Shared Libraries.
If you wish to advertize on iGeeks, please contact the manager for the same.
iGeeks would love to publish your technical articles; contact the manager if you wish to write for iGeeks.

brajeshwar [at] brajeshwar.com
Comments
There are no comments for this post so far.
Post a comment