hamutal
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by hamutal
-
-
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.
-
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...
-
no, of course it's in the com/grennsock folder
I put the "com" folder with the Buttons....
-
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!
5001: The name of package 'com.greensock' does not reflect the location of
in GSAP (Flash)
Posted
OK- I don't know how or why but suddenly it started working.... super weird...
Any way thank you so much for answering!