-
Trouble with an import
So when compiling, I keep getting this issue:
1172: Definition fl.transitions:Tween could not be found.
I use the IDE Adobe Flash CS. Anyone know whats wrong? Do I have to add a class path somewhere?
-
Have you imported the tween class?
import fl.transitions.Tween;
-
Yeah, I have the imports, I think I'm missing some sort of plugin or class library. Not sure what I'm doing wrong. Its like my flash doesn't have fl.transitions or something.
-
Designer, Programmer, Musician
Make a fresh/new .fla document. Put some movieclip on stage, name it whatever you want, and add this script in the first frame of the main timeline to test the Tween class:
import fl.transitions.Tween;
var t1:Tween = new Tween (YourClipName, "alpha", null, 0, 1, 50, false);
Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|