/ Published in: ActionScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var movLoad:MovieClipLoader = new MovieClipLoader(); var myListener:Object = new Object(); myListener.onLoadInit = function(thisClip:MovieClip) { /*thisClip.onRelease = function (){ gotoAndPlay("uno"); }*/ thisClip.onEnterFrame = function() { if (this._currentframe == this._totalframes) { gotoAndPlay("uno"); } }; }; movLoad.addListener(myListener); movLoad.loadClip("1_Loop_Location.swf",loop1);