I’m close to getting this done, but there are two errors, and I don’t know very much about Flash Action Script coding tbh. I’ve been watching tutorials and such. Anyways, I have two lines of error in my code here.
importfl.transitions.Tween;
importfl.transitions.easing;
function animateme (event:MouseEvent) {
highlight.visible=true;
highlight.gotoAndPlay(1)
//Function that reports mouse coordinates
function reportStageMouse(event:MouseEvent) {
var myStageX:Number=Math.round(event.stageX);
var myStageY:Number=Math.round(event.stageY);
var xTween:Tween=new Tween(highlight."x",Strong.easeOut,highlight.x,myStageX,1,true);
var yTween:Tween=new Tween(highlight."y",Strong.easeOut,highlight.y,myStageY,1,true);
stage.addEventListener(MouseEvent.MOUSE_MOVE,reportStageMouse);
highlight.addEventListener(MouseEvent.ROLL_OVER,animateme);
ERRORS!
Scene=Scene 1, Layer=Actions 3.0, Frame=1: Line 14: Expected a field name after ‘.’ operator.
var xTween:Tween=new Tween(highlight.“x”,Strong.easeOut,highlight.x,myStageX,1,true);
Scene=Scene 1, Layer=Actions 3.0, Frame=1: Line 15: Expected a field name after ‘.’ operator.
var yTween:Tween=new Tween(highlight.“y”,Strong.easeOut,highlight.y,myStageY,1,true);
Any help would be appreciated, thanks a lot!