开发者

On click...Goto a scene within embedded swf

开发者 https://www.devze.com 2022-12-18 23:27 出处:网络
Hope the following makes some sense: I have a \'parent\' flash swf that loads up a series of \'child\' swfs on respective button releases.Click \'Button 1\' and \"button_1.swf\" is loaded etc..

Hope the following makes some sense:

I have a 'parent' flash swf that loads up a series of 'child' swfs on respective button releases. Click 'Button 1' and "button_1.swf" is loaded etc..

Button actions in the child swf are essentially being ignored. For example:

on(release) { with (_level0) { gotoAnd开发者_运维知识库Play("scene_in_child1"); } }

Which works fine in the self-contained child swf (where the button in question is located), hoped it would also work through the parent swf to jump to "scene_in_child1" (in child1.swf).

Clearly something is wrong with my targeting here, where am I going wrong?

Thanks!


aha - solved this, ridiculously simple - used _parent.gotoAndPlay. Thanks anyway.

0

精彩评论

暂无评论...
验证码 换一张
取 消