Can you give a code sample?

On October 28, 2005 10:55 am, Tim Walling wrote:
> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
> > > [email protected]
> > > http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
> > _______________________________________________
> > osflash mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
>
> --
>
> ---
> Tim
> timwalling.com <http://timwalling.com>

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to