PDA

View Full Version : Button within a button


VideoGuy
07-25-2003, 01:02 AM
This may be an easy one, but bear with me, I'm not much of a programmer (yet) I need to figure out a way to create a button within a button. My interface consists of large buttons for the different categories so that when you roll over them they come into view. You might have seen this type of interface before at www.oringe.com because that's where I got the idea. Anyway, I have it working fine but I need to add buttons within the large section buttons. No matter what I do the end result is a constant loop.

Check out my site to see what I mean:
button test (http://www.blackburstentertainment.com/test2)

You'll notice that in the gear section I have set up a button to test the loop. Maybe I'm doing the whole thing wrong from the start but like I said I'm kinda teaching myself as I go along. Any help at all would be really appreciated. Thanks!

VideoGuy

Caimin
07-25-2003, 01:38 AM
You can't literally have a button within a button - but you can put a button within a movieclip, which may help.

subquark
07-25-2003, 10:35 AM
best to use movieClips as buttons, not button symbols. much more flexability. see my site, then the little blue button to see abit about this. once you use mcs, you can do a lot more, like what you want to create.

an mc that is built like a button, and onRollOver tells another mc within it to play (that's the one that contains the other "buttons")

also see www.rockagainstsuicide.com and notice how the top bottoms continue their "wobble" cycle even after you roll off of them. it's just an mc that tells another one to play

let me know if you need more help, good luck! :)