[Flashcoders] how can I set the end of a dynamic tween

2009-04-01 Thread Gustavo Duenas
Hi Coders I have this code, is for a dynamic tween., pretty easy actually but when the logo hits floor(645 value y) I would like to have something else, because the logo is a movie clip, there is the code. stop(); import fl.transitions.Tween; import fl.transitions.easing.*; var

Re: [Flashcoders] how can I set the end of a dynamic tween

2009-04-01 Thread Taka Kojima
You need to use an event listener, (or if it's as2 assign an onComplete function). Not to be rude, but you should probably go out and buy a book on ActionScript -- this is a very basic question, and where I can answer this in depth, it really won't do you much good in the long run without a good

RE: [Flashcoders] how can I set the end of a dynamic tween

2009-04-01 Thread Cor
: [Flashcoders] how can I set the end of a dynamic tween Hi Coders I have this code, is for a dynamic tween., pretty easy actually but when the logo hits floor(645 value y) I would like to have something else, because the logo is a movie clip, there is the code. stop(); import fl.transitions.Tween

Re: [Flashcoders] how can I set the end of a dynamic tween

2009-04-01 Thread Taka Kojima
To: Flash Coders List Subject: Re: [Flashcoders] how can I set the end of a dynamic tween Actually, probably better off using a TweenEvent, instead of a Timer. stop(); import fl.transitions.Tween; import fl.transitions.easing.*; var ballXTween:Tween = new Tween(logoCacao, y,Bounce.easeInOut

Re: [Flashcoders] how can I set the end of a dynamic tween

2009-04-01 Thread Gustavo Duenas
Well I did, but was a Event.On_Complete, instead of the one you mentioned later, anyway thanks for your help. gus On Apr 1, 2009, at 2:29 PM, Taka Kojima wrote: You need to use an event listener, (or if it's as2 assign an onComplete function). Not to be rude, but you should probably go

Re: [Flashcoders] how can I set the end of a dynamic tween

2009-04-01 Thread Paul Andrews
@chattyfig.figleaf.com Sent: Wednesday, April 01, 2009 7:43 PM Subject: Re: [Flashcoders] how can I set the end of a dynamic tween Actually, probably better off using a TweenEvent, instead of a Timer. stop(); import fl.transitions.Tween; import fl.transitions.easing.*; var ballXTween:Tween = new Tween

Re: [Flashcoders] how can I set the end of a dynamic tween

2009-04-01 Thread Gustavo Duenas
: [Flashcoders] how can I set the end of a dynamic tween Actually, probably better off using a TweenEvent, instead of a Timer. stop(); import fl.transitions.Tween; import fl.transitions.easing.*; var ballXTween:Tween = new Tween(logoCacao, y,Bounce.easeInOut, logoCacao.y, 645, 2, true

Re: [Flashcoders] how can I set the end of a dynamic tween(solved)

2009-04-01 Thread Gustavo Duenas
. Paul - Original Message - From: Taka Kojima t...@gigafied.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, April 01, 2009 7:43 PM Subject: Re: [Flashcoders] how can I set the end of a dynamic tween Actually, probably better off using a TweenEvent, instead

RE: [Flashcoders] how can I set the end of a dynamic tween

2009-04-01 Thread Cor
: [Flashcoders] how can I set the end of a dynamic tween Thanks Taka and Cor, I did the TweenEvent.Motion_Change or motion_finish and it works. The tween event are not in any part of my book, or should I look better. Anyway, didn't have idea they existed. Thanks. Gustavo. On Apr 1, 2009, at 3:01 PM, Taka