[osflash] Using MM Tween with MTASC

Tim Walling tswalling at gmail.com
Fri Oct 28 09:55:29 PDT 2005


I've used this class fine in MTASC without any need to setup anything in the
FLA. I think all I had to do was swap out their easing classes with Robert
Penner's. I'm sure the below works also, but I just wanted to point out that
I'm using the Tween class now on a project, along with Penner easing
equations and I can compile fine.

example:
----
import mx.transitions.Tween;
import com.robertpenner.easing.*;

var tween = new Tween(mc, "_alpha", Quad.easeOut, mc._alpha, 100, 1, true);
----

Tim




On 10/28/05, Leif Wells <leif.wells at gmail.com> wrote:
>
> What we needed to do was open our input FLA and add empty symbols that
> link to the Tween Class and any easing classes we were using in the
> project.
>
> That way you start with the files already there.
>
> Otherwise you'll need to add them to your project in a "additional
> parameters" field in Eclipse, in your ant build process or add them on
> the command line depending on how you are working.
>
> Leif
>
> On 10/28/05, Justin Clarke <justin.clarke at dcinteract.com> wrote:
> > Hi there,
> > I've googled high and low and still don't know why mx.transitions.Tween
> > doesn't do anything when I attempt in Eclipse using MTASC. Has anyone
> > come across this problem? For instance this works fine in the Flash IDE:
> > var tween:mx.transitions.Tween = new mx.transitions.Tween(node_mc, "_x",
> > mx.transitions.easing.Elastic.easeOut, 100, 200, 3, true);
> >
> > But when I attempt this within MTASC nothing happens! I've imported the
> > classes fine, ticked 'mx' in the flashout compilation and...nothing
> > happens. No error messages and no movement.
> >
> > Any pointers really appreciated - I must be missing something really
> > simple here.
> >
> > cheers,
> > justin.
> >
> >
> > _______________________________________________
> > osflash mailing list
> > osflash at osflash.org
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>



--

---
Tim
timwalling.com <http://timwalling.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20051028/32ca0763/attachment.htm


More information about the osflash mailing list