Is it possible to move a symbol in the same frame?
I have a mask over some buttons in a frame and I want to hide the mask on hover so that the buttons are visible.
EG: You hover over JOB OPPORTUNITIES and a submenu of buttons is revealed.
BUT when you hover over one of the other buttons on the page it will put it back in place to hide the buttons again.
I did have it so that on hover it would just jump to a new frame but then the page the person is viewing changes back to the main page with hidden buttons.
Show us an example of what you want.. makes life easier.... you can move a symbol easily by putting this on the symbol.
onClipEvent (enterFrame) {
//x movement
mx=_root._xmouse;
if (mx<_x) {
dx=_x-mx;
}
else {
dx=mx-_x;
}
moveSpeedx=dx/15;
if (mx<_x) {
_x=_x-moveSpeedx;
}
else {
_x=_x+moveSpeedx;
}
}
This is a mouse follow script but can be modified to whatever you want for a menu. Just make the menu tree with the links and them use the AS symbol as a mask.
humanus somes est divinitus in ipsum
Wiliiam Wallace
All I'm trying to do is hide and unhide a mask based on mouse over.
I'm assuming that this is an event and I'm pretty sure the problem is in my scripting. I DON'T KNOW HOW TO ACTIONSCRIPT much at all yet. I'm trying to learn it now.
Anyway, Here is what I did.
For practice I created three objects.
2 - test buttons
1 - mask
Test button should be visible at all times and the test2 should be hidden by the mask.
When one mouses over the Test button it should hide the mask thus making the test2 button visible.
Close...I already tried this method. But maybe I did something wrong...I made all of the buttons part of the movie file. Maybe I should just make the one button that needs this action part of the movie clip?
You sparked and idea...thanks.
Though I'd still like to know if I can hide and unhide a mask on mouseOver.
I now remember the issue I had with making the buttons a separate movie clip.
I get the correct action and response but there doesn't seem to be an option for getting the buttons in the movie clip to jump to a frame in the main movie.
Purhaps that's simply the whole issue I've been having?