Jump to content
Search Community

hamutal

Members
  • Posts

    5
  • Joined

  • Last visited

hamutal's Achievements

0

Reputation

  1. OK- I don't know how or why but suddenly it started working.... super weird... Any way thank you so much for answering!
  2. First of all- thanks for replying As far as I can see everything is as you say... I'll write the folders layout in case I'm missing something: Prog/ project.fla project.swf com/ greensock/ TweenLite.as ...ect. UI/ file1.as file2.as ...ect. Buttons/ file1.as file2.as ...ect. Also- it doesn't find it in the import "auto fill" (it shows only the Buttons and UI folders...) And all the files are AS3.
  3. At first I added a source path to the folder where both are placed. But frankly I tried since then all sorts of source paths... none of them worked...
  4. no, of course it's in the com/grennsock folder I put the "com" folder with the Buttons....
  5. 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!
×
×
  • Create New...