You can use the mc_tween: http://hosted.zeh.com.br/mctween/index.html
2006/9/7, Telmo Dias <[EMAIL PROTECTED]>:
Try: myTimeTween .stop(); ;-) Telmo Helmut Granda wrote: > I have a small piece of script that was passed down to me and I cant > figure > out how to stop it from executing: > > var interval:Number = 60; > myTimeTween = new mx.transitions.Tween(pBar, "_height", > mx.transitions.easing.None.easeNone,0,162,interval,true); > > I have tried different methods: > > delete myTimeTween; > delete mx.transitions.Tween; > clearInterval(interval); > myTimeTween = new mx.transitions.Tween(pBar, "_height", > mx.transitions.easing.None.easeNone,0,162,0,true); > delete interval; > Create a new frame and send the playhead to the next frame; > > but none of those seem to work, I have even tried to fire all the > statements > above at once (and some others that I cant remember rigt now)and still > the > tween keeps on executing. > > Any Pointers or ideas will be greatly appreciated. > > ...helmut > > > > -- > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > 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 > > _______________________________________________ Flashcoders@chattyfig.figleaf.com 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
-- marlus araujo _______________________________________________ Flashcoders@chattyfig.figleaf.com 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