Hello!
I got this error 5001: "The name of package 'com.greensock' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file."
My code is:
package Buttons{
import flash.display.Sprite;
import flash.events.*;
import com.greensock.*;
import com.greensock.easing.*;
public class OpenMenuButton extends Sprite {
function OpenMenuButton () {
this.addEventListener (MouseEvent.MOUSE_OVER,RolledOver);
}
private function RolledOver (mouseOv:MouseEvent):void {
TweenLite.to(this, 1, {scaleX:1.5, scaleY:1.5, ease:Back.easeOut});
}
I put them in the same folder.
Am I'm missing something?
thanks!