Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
castlestudio #1
Actionscript question.
Is there an ActionScript 2 variable that will, on release, play the remaining
frames of a scene, and the go to the corresponding scene associatd with the
button?
Example:
"Scene A" plays to frame 15 of a 30 frame scene and stops. At frame 15 the
user has an option of 3 buttons, Each with a corresponding Scene. OnRelease of
"Button B" the scene is to play to frame 30 of "Scene A" and then proceed to
frame 1 of "Scene B".
castlestudio Guest
-
ActionScript 3 question
ActionScript 3 is only to be used in Flex 2 beta 2 and must have Flash Player 8.5? is there an option to use AS 3 in Flash ? -
radio buttons and actionscript question
I have a flash form with 3 different questions on it. The third question is only needed if either question 1 or 2 (radio buttons) are answered "Yes"... -
Help on actionscript, newb question
Ive got a question, i cant import a song that is mp3 format into one of my flash animations. I try to import it, and it gets cut off a few seconds... -
Math Actionscript question
Hello, I am creating a number guess game like the one located here: http://digicc.com/fido/ But tailored to our company. Where I am getting lost... -
ActionScript Question: Bring tab layers forward onclick
Hello, I have four tabs (4 buttons look like tabs). These are all on the same layer. When I click the tab of each layer I want to bring that... -
Sneelock #2
Re: Actionscript question.
No, can't target scenes, only frames.
So if you call frames from your buttons it will work.
From buttons or frames you can write variables for future use.
Then pick them up when you need them.
PS don't use scenes, learn to use movie clips, it's much easier to deal
with...
Jon
"castlestudio" <webforumsuser@macromedia.com> wrote in message
news:c20n1b$enm$1@forums.macromedia.com...remaining> Is there an ActionScript 2 variable that will, on release, play thethe> frames of a scene, and the go to the corresponding scene associatd withthe> button?
>
> Example:
>
> "Scene A" plays to frame 15 of a 30 frame scene and stops. At frame 15OnRelease of> user has an option of 3 buttons, Each with a corresponding Scene.to> "Button B" the scene is to play to frame 30 of "Scene A" and then proceed> frame 1 of "Scene B".
>
>
Sneelock Guest
-
Pea #3
Re: Actionscript question.
um. By the sounds of it this may be over your head a little but...
place a stop(); action on frame 15
In each of the buttons place the following code:
// Button 1
on (release){
nextScene = 'scene A';
play();
}
// Button 2
on (release){
nextScene = 'scene B';
play();
}
// Button 3
on (release){
nextScene = 'scene C';
play();
}
ANd then on frame 30 (last frame of this scene) place the following code:
gotoAndPlay( nextScene, 1 ); // Place the first frame of the scene stored in
'nextScene'
Hope it helps,
Pea
Pea Guest
-
Pea #4
Re: Actionscript question.
Sneelock, yes about the scenes. I hope Macromedia gets rid of them in future version of flash
Pea Guest



Reply With Quote

