AS3Tip: Tween in AS3.0 project

Wednesday, July 25th, 2007

If you want make just pure AS3.0 project, not Flex project, there is problem with Tween. Adobe has not included Tween to pure AS3.0 project, it’s included in Flex framework library (at least I don’t know something). So you have few possibilites how to use Tween in your project. By including Flex framework library, make your own Tween Class, or use any already built framework, packages which has custom Tween class inside.

Let me know, how you are using Tween in your AS3.0 projects, maybe you will help someone.


Here is list of already build Tween classes for you (I will update it, when someone point out new class):

AddThis Feed Button

This is some text prior to the author information. You can change this text from the admin section of WP-Gravatar  I'm living in Bratislava, Slovakia. I'm Senior Flex, AIR Developer for my own company Flexets. Read more from this author


tagged under: ..

ABOUT THIS AUTHOR

I'm living in Bratislava, Slovakia. I'm Senior Flex, AIR Developer for my own company Flexets.

Get a Trackback link

1 Trackbacks/Pingbacks

  1. Pingback: free tween sites on July 10, 2008

5 Comments


  1. Kevin Hoyt
    Visit Site
    July 25th, 2007

    There’s a cool feature in Flash CS3 called “Export Motion XML” which I’ve written about on my blog. In my example, I use the XML in Flex, but there’s no reason the classes and XML couldn’t be used in pure AS3 projects as well. This does a lot more than just tween, and may be worth looking into.

    Regards,
    Kevin Hoyt
    Platform Evangelist
    Adobe Systems, Inc.


  2. Tink
    Visit Site
    July 25th, 2007

    You can add the Flash ActionScript 3.0 library and use

    fl.transitions.Tween
    fl.motion.Motion


  3. Joey van Dijk
    Visit Site
    December 13th, 2007

    Hi there,

    I saw some tips from Colin Moock with Flex Builder 2, but now having Flex Builder 3 it almost crashed my interface yesterday.

    I really find it awkward that you can use Flex Builder for Actionscript project but they ‘forgot’ to implement the Tween classes?!

    So is there a way to make it work in Flex Builder 3 and otherwise to point it out to Adobe?

    This is important because if you want to create small fast Actionscript 3 projects I thought Flex Builder 3 would be the perfect editor for it on a Mac.

    :(


  4. o’reilly
    Visit Site
    January 15th, 2008

    I had this problem too when I finally decided to move on from the Flash Authoring Tool to just a plain text editor and the free Flex SDK (why the move? because I began noticing that my projects were increasingly being done in pure ActionScript to the point where I no longer used the timeline).

    Anyway, since I already had the authoring tool installed (and collecting dust), all I did to regain the beloved fl.transitions.Tween class was copy the fl package from C:\Program Files\Adobe\CS3\Adobe Flash CS3\en\Configuration\ActionScript 3.0\Classes and import them into my projects. Note: I don’t believe you can freely distribute the fl package because of licensing.

    As for the Tween class in Flex (mx.effects package), I have no idea how to use it since the Tween in the fl package is what I’m used to.


  5. Bailey
    Visit Site
    January 28th, 2008

    Well thats a bit of a pain. We programmers will get it one way or another!

    Thanks o’reilly, worked for me.

Live Preview

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

This site is using OpenAvatar based on
Images is enhanced with WordPress Lightbox JS by Zeo
Clicky Web Analytics