Groups | Blog | Home
all groups > flash (macromedia) > august 2003 >

flash (macromedia) : Help with buttons in the same movieclip --- PLEASE, HELP!!!


juditpa NO[at]SPAM yahoo.com
8/21/2003 6:56:41 PM
I have a problem with a flash document:
I have an animation with a movieclip called "MCfonscolor".
Inside this movieclip "MCfonscolor" there is a button.
What I want is that when clicking on this button it goes to another
frame inside the same movieclip "MCfonscolor".
There is no way for me to make it work.
Could you help me please?
Thanks a lot,
Mark
8/22/2003 12:12:48 PM
[quoted text, click to view]

If i understand you correctly:

add this code to your button; so click button and type this:

on(release) {
gotoAndStop(n);
}

where 'n' is your framenumber.

also and better:

name your button, BTNclick

and this code in the timeline of your movie:

BTNclick.onRelease = function () {
gotoAndStop(n);
}
AddThis Social Bookmark Button