actionscript 3 - AS3 - MovieClip Preloader -


i wanna have multiple instances of movieclip symbol on stage each of them loads different image. movieclip symbol should have 2 frames. 1st frame containing action script loader's progress bar; , second frame uiloader displays external image.

i know how implement preloader swf file. , know how have movieclip symbol uiloader , create multiple instances different images.

since wanna put file on web, need preloaders each instance. can't figure out how have preloader inside instance (it doesn't work; whether actual image on 2nd frame of movieclip or loading externally)

that's because stage behaves different movieclip. need preloader programmatically. define class movieclip symbol , make instance of other mc works preloader, make visible , play while image changing adding eventlistener: addeventlistener(progressevent.progress, updateinfo);


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -