Topic: moving menus border (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: |
posted 03-20-2004 15:23
OK heres the scenario. I have like 5 buttons horizontally aligned of equal size, and I have one square border line a little bit bigger than the size of a button. I want that when ever I hover over a button on the menu row.. the border square follows and stops over the button my mouse is hovering over. I know as will be in play.. just need help on what to do plus snippets wold be most welcome |
Bipolar (III) Inmate From: Brisbane |
posted 03-21-2004 19:57
So, are you saying you have no idea how to do this at all? |
Maniac (V) Inmate From: Boston, MA, USA |
posted 03-22-2004 21:57 |
Bipolar (III) Inmate From: Brisbane |
posted 03-26-2004 16:50
Nice one steve, but I'm curious as to why you put all the code on the button. I'd do things the other way around and simply send the "target" to the border which can avoid confusion of acidently overwriting the onEnterFrame event and allow for smoother transitions. |
Maniac (V) Inmate From: Boston, MA, USA |
posted 03-27-2004 00:28
Oh - that's cool too! Many solutions. Yeah, there is the possibility of overwriting the onEnterFrame. I guess in my mind having the button carry the function made it easier to add and subtract buttons if needed. A button that contained the code seemed more flexible, though looking at yours yours seems just as flexible. Guess that's just how the inspiration struck that day! |
Bipolar (III) Inmate From: Brisbane |
posted 03-27-2004 03:16
Yeah, I edited the notes, but wasn't too sure on any kind of formality so I kept it real simple (smal amendment at the bottom). I mean, you did most of the hard work of setting up the mc's and all. Didn't really want to seem like I was stealing your thunder, just providing a slightly different way of doing things. |
Maniac (V) Inmate From: Boston, MA, USA |
posted 03-27-2004 14:21
Well yes - mine does tend to go to shreds without the onRollOut! |
Bipolar (III) Inmate From: |
posted 04-15-2004 07:01
sorry for the delay guys had business Thanx Steve for the demo it was very much what I was looking for. |