Action Script Error Expected a field name after '.' operator. Please Help!

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!

You want highlight, "y" not highlight."y".

Hey, thanks. That seemed to take care of the one error. I added these voids in because a bunch more came up if I didn’t. Just what the tutorial said to do, but now I get a couple more errors here.

Scene=Scene 1, Layer=Actions 3.0, Frame=1: Line 4: ‘{’ expected
function animateme (event:MouseEvent):void {

Scene=Scene 1, Layer=Actions 3.0, Frame=1: Line 9: ‘{’ expected
function reportStageMouse(event:MouseEvent):void {

Not sure if I understand this. W/o the :void on each line, it brings up like 4 or 5 different errors. The tutorial says to put the :void in each line, but with it I get that :frowning: Thanks for helping!