Código ActionScript :
frameMc = new Array ("frame1","frame2","frame3","frame4","frame5","frame6"); _global.sigFrame = function() { _root.mask.play(); _root.mask.onEnterFrame = function() { if (_root.mask._currentframe == 12) { var i:Number = 0; _root.cargadorMC.loadMovie(frameMc[i]+".swf"); delete _root.mask.onEnterFrame; } }; };
Tengo también una function que retrocede en el array. Resumiendo, una avanza en el array y la otra retrocede.
PD: en el codigo he puesto var i:Number = 0; por poner un valor.