Could someone please help me update this little flash menu from Flash 5 to Flash CS3 (9).
On the stage I have a button with the following code:
on (rollOver) {
a:yvel= 1;
}
on (rollOut) {
a:yvel = 0;
}
Also on the stage is a movieClip with the following code:
onClipEvent (enterFrame) {
if (yvel == 1) {
_y = _y+(80-_y)/8;
}
if (yvel == 0) {
_y = _y+(-27-_y)/11;
}
}
Flash CS3 is giving me the following errors when I publish:
Scene=Scene 1, layer=buttons, fr Syntax error. a:yvel= 1;
Scene=Scene 1, layer=buttons, fr Unexpected '}' encountered }
Thank you in advance.






Bookmarks