PDA

View Full Version : on(release) button problem


jason_v2
07-15-2006, 12:35 AM
Hey guys,

I'm kinda new at this and I have a problem that I've been trying to figure out fo a couple days now.

I have 5 buttons in my movie clip. It is basically a drop-down menu that responds when I click the "Menu" Button.

I have written "stop();" on frames 1, 10 (The up movement of the buttons), and 15 (the down movement of the buttons).

The Frame labeled "up" (frame 5) is the frame where the buttons move from the up position to the down position via Motion Tween (they are covered by a banner).

The Frame labeled "down" (frame 11) is the frame where the buttons move from the down position to the up position (via Motion Tween).

My code on the "Menu" Button is as follows

Frame 1:

on (release)
{
gotoAndPlay("up");
}

Frame 10:

on (release)
{
gotoAndPlay("down")
}

Frame 15:

on (release)
{
gotoAndPlay("up")
}

When I preview in flash and click on the Menu Button, nothing happens.

Can anyone help shed some light on my situation? I would appreciate it.

Thanks!

Flash Gordon
07-15-2006, 12:41 AM
try adding

on (release)
{
this._parent.gotoAndPlay("up")
}
If that doesn't work, attach you file here.

jason_v2
07-15-2006, 02:49 AM
Hey Flash Gordon,

Thanks for responding! I tried that and it didn't seem to work. I have attached my file to this post. If you could just give it a quick glance I would really appreciate it.

Thank you!

-Jason.

sophistikat
07-15-2006, 04:28 AM
hey jason

open your MenuButton Button and click on the button again; change it to a graphic and that should do it.