Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 12-04-2017, 11:23 AM   #1
Join Date: Oct 2010
Posts: 68
Default Tween Class Problems

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!

I am using Animate 2018 CC.

Any help/suggestions appreciated.

Best Tommy Banana

Last edited by tommybanana; 12-04-2017 at 11:25 AM.
tommybanana is offline   Reply With Quote
Old 12-04-2017, 11:46 AM   #2
Join Date: Oct 2010
Posts: 68

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.
tommybanana is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 06:46 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Tween Class ProblemsTween Class Problems
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.