vita_de Posted August 20, 2012 Posted August 20, 2012 Hello I can not understand how it works WidgetFlash :: loadMovie. example: var counter:Number = 0; this.createEmptyMovieClip( 'contener', 0 ); onEnterFrame = function() { counter++; if (counter >= 100) { counter = 0; string = 'icons/' + String(Math.round(Math.random() * 17)) + '.png'; contener.loadMovie( string ); trace( string ); } } In Flash, everything works perfectly, Unigine icon is loaded only once, the next load is performed. Thank you.
vita_de Posted August 27, 2012 Author Posted August 27, 2012 Solved! LoadMovie after boot replaced with the name of a MovieClip. After that, we can not access this MovieClip. It would be good in the following versions of the engine like to see the implementation of the original Flash. Thank.
Recommended Posts