Jump to content

[SOLVED] Bug WidgetFlash::loadMovie


photo

Recommended Posts

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.

Link to comment

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.

Link to comment
  • 3 weeks later...
×
×
  • Create New...