0
Tween Class not working
Participant
,
/t5/animate-discussions/tween-class-not-working/td-p/9536595
Dec 04, 2017
Dec 04, 2017
Copy link to clipboard
Copied
Hi I am trying to check out the Tween class in AS3.
I am importing the class:
import fl.transitions.Tween;
import fl.transitions.easing.*;
And then using it in code such as:
myTween = new Tween(emily_mc, "x", Elastic.easeOut, 30, 500, 3, true);
But I get n an error implying that the Tween class isn't imported:
Emily Demo/MC1.as, Line 44, Column 28 | 1046: Type was not found or was not a compile-time constant: Tween. |
everything i can find onlne suggest sthat the Class should be imported!
NB I am using Animate CC 2018.
Have also tried in Flash CS6 abnd get same error.
Any help/suggestions appreciated.
Best Tommy Banana
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
tommybanana1967go
AUTHOR
Participant
,
LATEST
/t5/animate-discussions/tween-class-not-working/m-p/9536596#M174771
Dec 04, 2017
Dec 04, 2017
Copy link to clipboard
Copied
I have found a solution using Greensock: Tween Lite which works fine.
But would be interested to find out why Tween class doesn't work.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

