|
-
I have a problem. I'm trying to have a draggable bracket around the selection of buttons, while also playing a movie with every button roll-over. The problem I have having is that I can't stop the draggable after I've started it, so the buttons are basically horiztonal across the entire screen, which is stupid because you could click on a button from anywhere on the x axis aslong as you are at the right y co-ordinate. What I am asking here is, without making a giant button behind the selection buttons(About, Portfolio, etc) that makes the brackets draggable, how can I achieve this ability to have a draggable movie underneath the button navigation while also having rollovers.
http://24.100.163.228/to/new/main.html
Take a look and see if you can understand what I am saying 
Thanks,
Dennis
-
Insert an "if" statement before the draggable code. For example
if (_xmouse>-70, _xmouse<-20)
//this stops the action from happening when
//the curosr is outside this range.
{
//draggable code inserted here
}
let me know if that works for ya
-
I've been trying to set that up...
I've tried to use xmouse boundaries but it doesn't seem to completely work. See that code there only says if it's outside of this area, start drag or stop drag...whichever it is...
But in order to stop you have to start the drag. And for some odd reason, once I start the drag, I can never get it to stop! Let alone have the buttons work as well. I don't understand the logic behind this code, it makes NO sense. If there is a roll over, drag, if not, then dont...but it doesnt work that way, it stops dragging when I go above and below the y values, but the x values are stuck because the scrolling is confined to the menu square...therefor the mouse is centered and locked into place. Because it is locked, the code never realises that when the mouse moves from that area, it shouldn't be locked anymore...pain in the butt...
Dennis
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|