TweenMax import issue
- Started
- Last post
- 13 Responses
- CyBrain
I have an FLA with one movie clip named president_mc on the stage, nothing else.
Here's my document class.
http://pastebin.com/f22a652a2Here's my error:
5001: The name of package 'gs' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. /Testing/as3_tweenlite/gs/TweenM...
- PonyBoy0
you sure the fla resides in the same folder as the 'gs' folder?
- PonyBoy0
can you paste the full error... it got truncated in your post... (or did it?)
also - the line below is redundant - you don't need it if you've already got ' import gs.* '
import gs.TweenMax;
- acescence0
gs is in your class path, and again in your import statement
- CyBrain0
I changed the import statements.
http://pastebin.com/d350212c5Still get the same error:
5001: The name of package 'gs' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. /Applications/Adobe Flash CS4/classes/gs/TweenLite.as
- CyBrain0
OK, I found Control > Delete ASO files, but that didn't change anything.
- CyBrain0
OK, I found Control > Delete ASO files, but that didn't change anything.
- SteveJobs0
right, this may not solve your problem, but deleting aso files is to flash what rebooting sometimes is to windows: sometimes it's best to try in-between changes.
- PonyBoy0
and if you want to use any easing other than default (which you're trying to do as you have the 'ease:...' param activated... you still need to import the easing folder...
import gs.easing.*
- CyBrain0
Yeah, luckily, I was just screwing around trying to learn some TweenMax stuff and not working on a site with 10 classes. This stuff is hard enough without having to worry about needing two versions of a program to clean out the bugs.