I would use zmc_tween:

http://hosted.zeh.com.br/mctween/using.html

#include "zmc_tween.as"

var timeTo = 2;
var pointB = Stage.width/2;

mcname.onRollOver = function() {
        mcname.tween(["_xscale", "_yscale"], [120,120], 1, "easeoutcirc", 0,
function() {
                trace("done scaling");                                          
                                                                                
        });
}

mcname.tween("_x", pointB, timeTo, "easeoutcubic", 0);


Of course I'm using his old stuff.


hth,


Mike



On 2/23/06, artur <[EMAIL PROTECTED]> wrote:
> i cant seem to figure this one out:
>
> i want to create a tween that loops the _y value of an mc.
> ( so that it goes from point A --> B --> A and loop infinitely)
>
> and upon its rollover i want the loop to stop and for the mc to
> scale 120%.
>
> im sure this is a no brainer ..i just cant figure it out..
> thanks in advance.
>
> artur
>
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>


--
Mike
----------
http://www.mikebritton.com
http://www.mikenkim.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to