all groups > flash actionscript > july 2007 >
You're in the

flash actionscript

group:

goto and play + expression ??


goto and play + expression ?? no_nicknames_left
7/10/2007 11:32:40 PM
flash actionscript:
Hi, I am new to the forum. I was wondering if anyone could help me. I have a
button that I want it's function to be jump ahead 30 frames when pressed, and
another that will jump back 30 frames on release. Is there a way this with
timeline control ? I can't figure it out.

Thanks !
Re: goto and play + expression ?? no_nicknames_left
7/11/2007 12:00:00 AM
Re: goto and play + expression ?? kglad
7/11/2007 4:19:17 AM
yes. if you want to control the movieclip mc's timeline, use:



ffButton.onPress=function(){
mc.gotoAndPlay(mc._currentframe+30);
}
rewindButton.onPress=function(){
mc.gotoAndPlay(mc._currentframe-30);
}
Re: goto and play + expression ?? kglad
7/11/2007 1:35:46 PM
AddThis Social Bookmark Button