PDA

View Full Version : Menu trying ...



e-sarbak
March 3rd, 2005, 01:43 AM
I just tried to make a menu that I had see lots of times
How can I improve it?
Please say something...:)

lostinbeta
March 3rd, 2005, 10:17 AM
Good job with that, a lot of people have trouble pulling these menus off. It's obviously a lot harder to make it dynamic though, which is what most people try to do.

I can't open your file because I use Flash MX, but it appears to me that the lighter blue subsections are buttons. If this is the case, you cannot contain buttons withim them because due to scope issues you cannot have a button within a button. So generally for menus like this you have to use the hitTest and onMouseDown method to see if something is clicked.

e-sarbak
March 3rd, 2005, 01:07 PM
I have used movie clips there and It is also Flash MX I couldnt why u couldnt open the file

lostinbeta
March 3rd, 2005, 01:30 PM
Hmm, odd. Usually the Unexpected File Format error only happens when a Flash MX user tries to open a Flash MX 2004 file. Either that or the file is corrupt.

And yes, you may have used movie clips, but you must be using an onPress/onRelease handler on it that is causing it to act as a button. And this would cause complications to buttons added within the clips. But it really does all depend on the setup so I could be wrong.


Oh, the file works now... odd...lol.

And I just checked, yes it is because you are including the animation within the button