0
我似乎無法弄清楚如何從自定義類中更改時間軸的框架。自定義類中的AS3 - gotoAndStop()
package {
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.display.*;
import flash.events.Event;
import flash.text.TextField;
import flash.external.ExternalInterface;
import flash.net.navigateToURL;
import flash.external.ExternalInterface;
import classes.json.JSON;
public class Initialize extends MovieClip {
private var initialized:Boolean = false;
public var _stage:Stage;
public function Initialize(stage:Stage):void {
if(!initialized) this._stage = stage;
gotoAndStop(3);
}
}
}
由Frame 3:
var Ad:Initialize = new Initialize(stage);
有人能幫助我嗎?