Skip to main content
Participant
February 11, 2009
Question

Need help with actionscript (flash professional)

  • February 11, 2009
  • 2 replies
  • 283 views
Ok so its been a while since I've used flash and i need a little bit of help. I've searched through the help books and tried to figure it out on my own but im stuck.
I'm making a website for my music page using flash professional on Mac OSX.
I'm trying to make a menu along the left side that when you press the "more" button at the bottom of multiple other buttons it will make the set of links (which i have as buttons) switch out with another set of links. (also buttons)
I cant get this more button to do it though!
here is a link to my .fla file
http://rapidshare.com/files/196874495/website.fla.html

Help would be GREATLY appreciated.
Thanks.
-Ken
This topic has been closed for replies.

2 replies

Ned Murphy
Legend
February 11, 2009
_parent tells the guy that's holding the movieclip (its parent) to do something.

The reason I say something seems corrupted with the file is because I took your button out of the movieclip and used it with the code you had for the movieclip, which should have worked as you had it on(release){ gotoAndPlay(2)} because for whatever reason, buttons don't consider the guy holding them as their parent... bitter adopted orphans I reckon.

but it didn't work, and I gave up trying to figure out why. Sometimes files just need to find a new home in another file.
Ned Murphy
Legend
February 11, 2009
If you add _parent. to the front of the gotoAndPlay(2) call it will work, but your design is a bit corrupted somehow. That more "button" is a movieclip containing a "more" button and both have on(release) code assigned to them.

Poysonally, I gotta wonder why you don't just shorten up the buttons and let them all share the stage. They have alot of fat around them and there's certainly enough room for them all if they were thinner.
Participant
February 11, 2009
wait... so what exactly does the _parent command do in this case?

and point taken. fixing that now