FORUMS: list search recent posts

preloader for cs3

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
zowie repoza
preloader for cs3
on Sep 9, 2007 at 7:23:01 pm

Had a pretty sweet library of preloaders--but I find that now that I've migrated from FlashMX to cs3, none of them work anymore.

Anybody got a good preloader that works in cs3?

Any ole simple loading/percent bar would be kool.

Thanx heapz,
z


Return to posts index

Doccie
Re: preloader for cs3
on Sep 9, 2007 at 7:35:23 pm

This is the one I have been using with AS3. Please note that it is still more than OK to use AS2 if you're working on smaller projects that don't require an Object Oriented Approach.

http://pastebin.coconut.se/?id=5552

Kind regards,
Pieter


Return to posts index

zowie repoza
Re: preloader for cs3
on Sep 10, 2007 at 12:19:44 am

Thanx Pieter, I'll give it a shot--though that line of script was surely greek to me . . .

Z ya,
z


Return to posts index


Doccie
Re: preloader for cs3
on Sep 10, 2007 at 8:37:59 am

Basically, it does the same thing you would do when using AS2.
Instead of creating an empty container clip, it does this for you by instantiating the loader class.

Then, you attach event listeners that let you know when a certain event occurs (the loadProgress for instance, gets called continuously for as long the movie is loading). To these event listeners you attach a function, that gets executed every time the event occurs.

addEventListener(name of the event to listen to, function to execute);

And then you just write the corresponding functions.

Kind regards,
Pieter


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]