I am creating a navigation that has buttons that move-- I created them as movie clips so I could do this
onClipEvent (load) {
goal = 277.2;
}
onClipEvent (enterFrame) {
_y += (goal-_y)/2;
}
to get the movement to appear to slow down as they reach their destination.
I need the button to click and jump to a frame of the scene… The instance in the movie clip is a button, on which I put action
on (release) {
gotoAndPlay(“nav_expand”);
}
but it won’t do anything!! I can’t seem to get a button to act like a movie or to get a movie to act like a button - can anyone help???
system
September 26, 2002, 11:03pm
2
have you tried:
on (release) {
_root.gotoAndPlay("nav_expand");
}
system
September 26, 2002, 11:24pm
4
hmm… actually, you’re right… it’s looking for ‘nav_expand’ on the same movie clip it resides in…
system
September 26, 2002, 11:44pm
5
so is it working now?.. it should…
you have a button… which is in a MC and the MC is on the main stage… the button is telling the main timeline to jump to the named frame lable… if this is how you have it set up, I see no reason why it shouldnt work. Good Luck - any more questions post here.
Peace
system
September 26, 2002, 11:51pm
6
Yeah - that was the problem – I actually have a container movie pulling in another swf… so I used:
on (release) {
_level0.nav_holder.gotoAndPlay(“nav_expand”);
}
duh! Thanks for your help!
system
September 26, 2002, 11:57pm
8
heh, i see my smilies are being used…
…eeexcellent… :+)
system
September 27, 2002, 12:00am
9
heck yeah… I love 'em… it was such an awesome idea to make more of 'em… … I think I have a few ideas too heehee:crazy:
system
September 27, 2002, 12:05am
10
well if ya don’t have the time right now, I can make some more!
Just fire away…
(within reason that is… Don’t ask for a smilie that resembles george bush for example… i have 18x18 px’s to mutter around in… lol )
system
September 27, 2002, 12:16am
11
I was going for the mona lisa…:goatee: