web1.play(); web2.stop(); this.onEnterFrame = function():Void { if (web1._currentframe == web1._totalframes) { //web1._currentframe=0; web1.stop(); web2.play(); } if (web2._currentframe == web2._totalframes) { //web2._currentframe =0; web2.stop(); web1.play(); } }