Missing Actions layer

:hangover:

I got this movie clip from flashguru. I want to modify it so that when the mouse hovers over or near the buttons, the line and buttons follow the mouse. Why is it that i can’t seem to find the actions for the hex button, but when i open the debugger i can see it clear as day. Where is this missing frame so that i can change the on state of the mouse? Its driving me insane!

hi,
do you mean this?:

on (press) {
	startDrag("", false, 10, this._y - 175, 340, this._y + 175);
	dragging = true;
}
on (release, releaseOutside) {
	stopDrag();
	dragging = false;
}

Double click on an hex(MC) on the stage and click again (just once this time) on it, open the actions panel and there it is.

If you want to chage the over or down states of the button double click on that second one.

Cheers

SHO

the button is in a movieclip.
this was made in flash 5 where you couldnt control button position via actionscript. To move a button you would have to place it in a movieclip and move that movieclip (which I still do since buttons arent ‘this’-referencing)

So just double click the hex to open it and select the hex again (which is the button) to get the code.

I would also like to take this time to familiarize you with the movie exlorer. Know it. Use it. Like it. (Live with it!) :wink:

ok kool, now i see it and i can change the on state from press to rollover.
Now, if i want the area directly to the left of the hexagons to be the area where the hexagons will follow the mouse do i create area masks and set the On rollover actions to the mask?

Hi,

if you look “inside” the button symbol you’ll see that the last frame is called hit. Whatever you put in that frame whereever you put it, it will be the area where the button reacts to the mouse (they can be multiple areas in multiple places)

Cheers

SHO

slikspic ::

Did u get the preloader thing i did for you on one of your threads?

:q:

yes i did thanx i used it as a reference to create my own. but now i’m stuck even further… read the forum on Level hierarchies