Preloader AS3
oleh Comicsserg
Preloader AS3
Tag untuk Preloader AS3
Deskripsi
A tutorial about the preloader in flash.
Komentar
Craetions
Feb. 10, 2010
Have you also thought about reusablility? Passing the height and width of the game.swf to dynamically resize the preloader.swf would be a great touch.
Craetions
Feb. 10, 2010
Meh, wasn't watching, forgive the typos.
Craetions
Feb. 10, 2010
Serously, last thing: var perc:Number = l.contentLoaderInfo.bytesLoaded / l.contentLoaderInfo.bytesTotal
Craetions
Feb. 10, 2010
One last note, for anyone using this method of loading a swf from another swf(aka the preloader.fla), you must create the swf of your content.fla and then create the swf of the preloader.fla loading it. That swf is the one you use to upload as the game (preloader+content). Cheers.
Craetions
Feb. 10, 2010
nvm, forget that last part, I doubt it would work with Kongregate.