Hello.
I have a script that I use for menues where a slider moves on mouse over.
Example is found here: http://www.eterya.com
This is a movie clip using as2. What I need is for this to work in as3.
Heres the code for the movie clip:
xpos = _xmouse;
ypos = _ymouse;
}
onClipEvent (enterFrame) {
_root.slider._x = (_root.xpos-_root.slider._x)/5;
_root.slider._y = (_root.ypos-_root.slider_y)/5;
xpos = _root.slider._x;
ypos = _root.slider._x;
}
Heres the code attached to the buttons:
on (release, rollOver) {
_root.xpos = 1578;
_root.ypos = 0;
}
on (release) {
getURL("html/hjem.htm","main");
}
Can someone help me to convert this to as3?
Sincerely
Ronny