Articles Tagged 'LoaderInfo'

Create a preloader in Actionscript 3.0 Generic

It may seem a predictable and already exhausted, but with Flash CS3 and the new management of document classes (package) permitted in Actionscript 3.0, is not fully functional immediately create a preloader. The latest release of Flash, in fact, manages to load the movie in a different way from previous versions. On the net you can find different proposals and solutions to create a preloader "old school". However, several examples I found did not satisfy me fully as they require to alter the movie so that it works like a classic preloaders. In practice, when you develop must always remember "this thing I have to do so otherwise the preload does not work"! And for movies already filled in, then?

Loader

The solution I have adopted, at least for now, was to make a movie outside (my loader - see example ) able to load any movie outside, including a picture! This solution, although it requires basically two movies (the loader and the FILAME true), it becomes economical only if you can create a loader that can be used over and over again, that is able to upload any movie, any resolution and any frame rate.

Continued ...

Read the parameters of a movie in Actionscript 3.0

With Flash CS3 has changed the way to read the parameters passed to a movie, or as params that as GET parameters. In previous versions of Flash it is a parameter was available as a variable directly in the first frame. Now, fortunately, we have an object that handles parameter passing, and not only: LoaderInfo .

Continued ...