I have no idea how to get my button to go to the next scene in 3.0. it used to be so easy in flash MX. Could you give me the script code to make 1 button go to the next scene on release?
Please write this code on button u created on(release){ _root.gotoAndPlay("scene_Name"); }
Now this Solution for Adobe Flash CS3 [ActionScript 3.0]
Open Flash CS3
Step-1:- Select- File> New
Step 2:- Take two button [Next Scene] and [Previous Scene] Name it nex and prev respectively.
Step 3:- Write a Text in Scene
Step 4:- Past below code in Top Frame of the Scene
stop();
function nextscene(event:MouseEvent):void
{
nextScene();
}
function prevscene(event:MouseEvent):void
{
prevScene();
}
nex.addEventListener(MouseEvent.CLICK, nextscene);
prev.addEventListener(MouseEvent.CLICK, prevscene);
Step 5:- Select- File>Insert>scene
Step 6:- Take two button [Next Scene] and [Previous Scene] Name it nex and prev respectively.
Step 7:- Write a Text in Scene
Step 8:- Past below code in Top Frame of the Scene
stop();
function nextscene1(event:MouseEvent):void
{
nextScene();
}
function prevscene1(event:MouseEvent):void
{
prevScene();
}
nex.addEventListener(MouseEvent.CLICK, nextscene1);
prev.addEventListener(MouseEvent.CLICK, prevscene1);
Step 9:- Press Ctrl+Enter to Look the Solution
×
Listen the next sene is normaly pretty hard so switch to actionscript 2 and use this code
on(release){
_root.gotoAndPlay("scene name", 1);
}
or use a frame lable it still connects to a scene no matter what because it's an extension to the main line
on(release){
_root.gotoAndPlay("FrameLable");
}
41,452 views
Usually answered in minutes!
if i want to learn more more actionscript then what can i do?
have no idea how to get my button to go to the next scene in 3.0. it used to be so easy in flash MX. Could you give me the script code to make 1 button go to the next scene on release?
Backwards compatibility was broken in CS 3, I liked Flash better when it was called Macromedia, not Adobe, and WORKED!!
It says actions cannot be applied to the object
make a a next button on flash cs3
make a next button on flash cs3
I want my "ENTER" button to go to the next scene which is a Slide Show, What code do I need to write to make this happen?
Im trying to make a button to go to the next scene but 3.0 "wont support action"
hai. i have problem to link btwn 2 diffrent scene with 2 different fla. i am using flash pro 8. can u help me?? tq
how to give a web link inside a flash
same same.
×