Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
eschacha #1
play next 5 frames and then GoTo
Hi there
I have a button, which when clicked I want to continue playing the movie for
an additional 5 frames, then go to the desired location. I can do this by
having the button "play" and then 5 frames later using a "GoToandPlay". This is
no good if I have several buttons with different destinations however. Can I
actionscript the button to "play next 5 frames and then GoTo"?
eschacha Guest
-
goto on indexed clips
I bet this one has already been post, but I didn't find it. I have several instances, named mc_1, mc_2.... mc_20, I would kike to be able to do... -
goto command
Does perl have a goto command. For example if you tell scrip to do something and it returns a 1 then it should go to a block of code that does... -
checking for the existence of a global variable, continuous play vs. single play (code included)
I have a director application that I'm working on. There's a version that's called "full play" that basically is a copy of the interactive portion,... -
Problem with GOTO Label:
HIi all, Trying to execute the following code within a procedure: DECLARE CONTINUE HANDLER FOR SQLSTATE 'WW033' GOTO create_batch; .....some... -
goto net page [Please Help]
Sure, Lingo doesn't do that. The gotoNetPage() function only allows for two arguments, the URL and the target. Further, you'll probably find that... -
Peter Blumenthal #2
Re: play next 5 frames and then GoTo
Set a variable to different value depending on which button is pressed. On
the frame with your gotoAndPlay command, use the variable:
btnBut0.onPress = function(){
sNextFrame = "portfolio";
play();
}
btnBut1.onPress = function(){
sNextFrame = "clients";
play();
}
Then on the 5th frame:
gotoAndPlay(sNextFrame)
hth
}`¬P
--
---------------------------------------
[url]http://www.phageinteractive.com[/url]
PhageInteractive Ltd.
remove mm_ to mail
---------------------------------------
'I wish we lived in a world where it was possible to be religious and think
at the same time.' - Jonh Graves
Peter Blumenthal Guest



Reply With Quote

