Copy link to clipboard
Copied
how i can linking scene??
when i use this action
(
button_7.addEventListener(MouseEvent.CLICK, fl_ClickToGoToScene_4);
function fl_ClickToGoToScene_4(event:MouseEvent):void
{
MovieClip(this.root).gotoAndPlay(1, "show"); )
an error appear :
ArgumentError: Error #2108: Scene show was not found.
at flash.display::MovieClip/gotoAndPlay()
at first02_main_fla::MainTimeline/fl_ClickToGoToScene_4()
what should i do??
click the keyframe (to select it) and in the properties panel, in the name field, type a frame name (eg, frame1_show).
in your code, use:
gotoAndPlay('frame1_show');
Copy link to clipboard
Copied
create a scene named "show".
or don't use scenes for navigation. they are unnecessary. you can always name keyframes and used them.
Copy link to clipboard
Copied
i already have the scene called "show"
how i can use frames instead of scene???
Copy link to clipboard
Copied
click the keyframe (to select it) and in the properties panel, in the name field, type a frame name (eg, frame1_show).
in your code, use:
gotoAndPlay('frame1_show');
Copy link to clipboard
Copied
thanx alot ... i'll try it
Copy link to clipboard
Copied
you're welcome.
(p.s when using the adobe forums, please mark helpful/correct responses, if there are any.)