Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
scmk #1
how buttons inside a MC go backward?
Hi there!
I?m programing 10 buttons inside a MC, each button moves the timeline to a
desired frame, where there's a similar set of buttons to move the timeline
forward again. Now, the question is can I move backward if I change frame 10 to
frame 1? And is it even possible to move backward? If yes, please help advise
me on the actionscript.
Currently, the successful script to move it forward is this:
on (release) {
gotoAndPlay("frame 10 of 30");
}
Thanks a lot
:)
scmk Guest
-
Radio Control Buttons Inside a Data Repeater.
I know this is probably pretty trival. I am trying to put a radio button inside a repeater control. That will allow me to select each row one by... -
Radio buttons inside Accordion tab?
So I upgraded to 1.6.1 and fixed my IE issues, but it broke my radio buttons. On my page (http://www.riverviewbiblecamp.com/menu.php) I've got radio... -
Buttons for links inside flash form
Is it possible to place buttons inside a flash from and use these buttons to exit the form and go to another page? I assume using GetURL would be... -
Buttons inside Buttons Help Please
Yo! Hoping someone can help me out - who isn't? Anyway, I've got an instance of a button... we'll call it "Producers". in the over state of... -
buttons inside MCs
I have a movie clip as a rollover menu, which as 4 buttons within it. The movie clips has the following code attached to it, making the MC play... -
kglad #2
Re: how buttons inside a MC go backward?
to play a timeline backwards you need to initiate a loop that contains a
prevFrame() statement or its equivalent. for example:
reverseI=setInterval(reverseF,80,lastframe); // lastframe is the number of
the last frame to play
function reverseF(lastF){
prevFrame();
if(_currentframe==lastF){
clearInterval(reverseI);
}
}
kglad Guest
-
scmk #3
Re: how buttons inside a MC go backward?
Hi there!
Thanks for your help! I'm so sorry but I'm a newbie on actionscript so could
you advise me further to complete the code? Like for example, where I need to
put in what....like what you did for the last frame advice.....
Thanks very much!
:)
Web designer
scmk Guest
-
kglad #4
Re: how buttons inside a MC go backward?
the code for the function reverseF() can be attached to any frame on the
timeline that contains your buttons that you want to initiate the reverse
movieplay. the reverseI=setInterval() code should be attached to your
button(s) that will initiate the reverse play.
kglad Guest



Reply With Quote

