转到外部闪光灯动作脚本 3 中的下一帧
Go to next frame in external flash Action script 3
我有两个按钮:
- 第一个按钮加载 swf。
- 第二个按钮转到此 swf 中的下一帧。
第二个按钮的代码不起作用。
这是我的代码:
ProLoader
class 有 content
属性.
content : DisplayObject
Contains the root display object
of the SWF file or image (JPG, PNG, or GIF) file that was loaded by
using the load() or loadBytes() methods.
因此,您的代码应如下所示:
(fl_ProLoader.content as MovieClip).nextFrame();
我有两个按钮:
- 第一个按钮加载 swf。
- 第二个按钮转到此 swf 中的下一帧。
第二个按钮的代码不起作用。
这是我的代码:
ProLoader
class 有 content
属性.
content : DisplayObject
Contains the root display object of the SWF file or image (JPG, PNG, or GIF) file that was loaded by using the load() or loadBytes() methods.
因此,您的代码应如下所示:
(fl_ProLoader.content as MovieClip).nextFrame();