Hi All,
I'm after a quick response.
I'm doing a flash menu for a site and am stuck with a bit of actio script. Below is a link to the swf file.
http://www.calicoprint.co.uk/nav.swf
What I am after is for the white bar to follow the mouse when you are over the flash file y axis only (this works on the file),then when you take your mouse away from the file it returns to a specific position.
The action I have so far is attached bellow.
onClipEvent (load) {
_y = 20;
speed = 3;
}
onClipEvent (enterFrame) {
endY = _root._ymouse;
_y += (endY-_y)/speed;
}
I do need this a quick as posibble,
Many thanks and sorry for the rush.
Keith
Title should read 'help with flash' not hel, though it does feel like that.
I'm after a quick response.
I'm doing a flash menu for a site and am stuck with a bit of actio script. Below is a link to the swf file.
http://www.calicoprint.co.uk/nav.swf
What I am after is for the white bar to follow the mouse when you are over the flash file y axis only (this works on the file),then when you take your mouse away from the file it returns to a specific position.
The action I have so far is attached bellow.
onClipEvent (load) {
_y = 20;
speed = 3;
}
onClipEvent (enterFrame) {
endY = _root._ymouse;
_y += (endY-_y)/speed;
}
I do need this a quick as posibble,
Many thanks and sorry for the rush.
Keith
Title should read 'help with flash' not hel, though it does feel like that.