Forum Moderators: open

Message Too Old, No Replies

Dragging while retaining rollover actions

Rollover actions blocked by drag function

         

catcherintherye51

7:20 pm on Jul 12, 2006 (gmt 0)

10+ Year Member



I have a movie clip of a world map image, with rollover buttons on a layer above the map. I dragged the map movie clip to the stage and assigned some dragging action to the clip:

on (press) {
startDrag(getProperty(_x, _y));
}
on (release) {
stopDrag();
}

After doing so, the map and rollover buttons drag fine, but the buttons lose their rollover action ability - they seem to be "blocked" by the drag function. When I rollover the button the cursor changes from an arrow pointer to a hand, but the rollover action (color change) doesn't occur. If I assign the drag to just the map layer, the map drags but the rollover buttons don't (obviously.)

Is there a way to drag the map movie clip and retain the rollover functionality within the map movie?

Thanks!