作者:一线天24_226 | 来源:互联网 | 2023-05-18 04:04
I need to stop the movie at the first frame using a function from a class, I know I can use stop(); or this.stop(); but how do I stop the main timeline from within a class function?
我需要使用类中的函数在第一帧停止电影,我知道我可以使用stop();或者this.stop();但是如何在类函数中停止主时间轴?
package {
public class myApplication {
public function myApplication(stageRoot:Stage) {
stop(); // this doesn't work
this.stop(); // this doesn't work either
}
}
}
1 个解决方案