Question about Macromedia Flash MX

1 Answer

CS3 Action Scripting - How do i get buttons to link to scenes?

Hi there. With this new cs3 they dont make it easy :P How do i link buttons with actionscripting to just go to another scene? So Onclick it will move to scene 2 etc



Posted by on

Ad

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 16 Answers

It looks crazy but AS 3.0 is too easy and takes half of the time what you took to learn flash AS 2.0 . Button Script in AS 2.0 is like below and you were able to put the script in buttons/movieClip
on(release){
whatTodo();
}
but in as3.0 only you can use frames to add script and must use listeners for buttons. like
buttonName.addEventListener(MouseEvent.CLICK,dothis);
function dothis(evt:Event){
do_this_function();
}
evt:Event is must. it is passing the event object when u click on button.

Posted on Jan 09, 2009

Ad

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya Technician can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repair professionals here in the US.
click here to Talk to a Technician (only for users in the US for now) and get all the help you need.
Goodluck!

Posted on Jan 02, 2017

Ad

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Hi i can not activate my photoshop cs3 ? Can you


USE THIS SERIAL
1330-1427-7710-3653-4506-6726

DONT FORGET TO RATE

Jun 22, 2010 | Adobe Computers & Internet

1 Answer

I'm trying to create a control buttons for a flash CS3 movie and will also include another set of buttons that will take you to next scene and previous scenes.


ok, i tell u one thing.

one.fla

frame 1:

create a movieClip at 550x400 and give a instance name as 'movie_mc'

frame 2: Create two buttons as btn1,btn2.give instance as same.

frame 3: press F9 and Give 'stop();'
var count = 0

file1.fla

create animation

file2.fla

create animation

one.fla

next button script is

on(press)
{
count = count+1;
movieclipinstancename.loadMovie("file"+count);
}

previous button

on(press)
{
count = count-1;
movieclipinstancename.loadMovie("file"+count);
}


May 31, 2009 | Adobe Flash® CS3 Professional Full Version...

1 Answer

Button with url link


Active your button in flash (by one click on it), now, it's active, now open Action Script pan, and now, insert this peace of code:
on (release) {
    getURL("Put your URL here");
}


for example:
on (release) {
    getURL("http://www.example.com");
}

note: now, if you active "Script Assist" on this peace of code you can put some parameters to it easily like "Variabales" and "Windows". in Windows you can choose that if your URL open in Blank page or self, of course you can put it manually like this:
on (release) {
    getURL("http://www.example.com", "_blank");
}

If you have more question , just leave a comment. Good luck

Mar 24, 2009 | Adobe Computers & Internet

1 Answer

Cs3 Buttons


Hi,,
My name is Hitz.. I able to solve your linking problem very queckly..

Jan 22, 2009 | Macromedia Flash MX

1 Answer

Cs3 for mac


Hi Hugo,

Reinstall CS3 from the original installer and don't upgrade unless you own the software.

All the best
Sean
PiDigital.co.uk

Dec 16, 2008 | Adobe Computers & Internet

2 Answers

Next button


Ihave a next button and 1 scene in flash cs3 action script 1.0 & 2.0 iwant this button when iclick on it go to for example frame 5 and when i click again go to frame 10

Nov 10, 2008 | Macromedia Flash MX

3 Answers

Flash Action Scripting


I might have something for you:

[Getting Started with ActionScript]

And over here are some more:
[ActionScript Tutorials]

I hope this helps, please rate.

Greetings,

DarkNeogen.

Jan 29, 2008 | Macromedia Flash MX

2 Answers

Flash CS3 action script 3.0 "Next Scene button"


please write this code on button u created

 

on(release){

 

_root.gotoAndPlay("scene_Name");

 

}

 

 

Oct 09, 2007 | Macromedia Flash MX

Not finding what you are looking for?
Macromedia Flash MX Logo

Related Topics:

188 people viewed this question

Ask a Question

Usually answered in minutes!

Top Macromedia Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18414 Answers

Folusho Adeyanju
Folusho Adeyanju

Level 2 Expert

131 Answers

Tony

Level 3 Expert

2600 Answers

Are you a Macromedia Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...