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 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 grasp of basics.
- Taka
On Wed, Apr 1, 2009 at 11:11 AM, Gustavo Duenas
<[email protected]> wrote:
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 ballXTween:Tween = new Tween(logoCacao, "y",Bounce.easeInOut,
logoCacao.y,
645, 2, true);
//here is my problem when I try to calculate, when it hits the
floor(645)
if(logoCacao.y>=645){
trace("I'm here");
}
it would work with <=, but no with >= or ==
any ideas, I've been trying to resolve this too much time, I
rather have
some fresh ideas or pointer what am I missing.
Gustavo
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Gustavo A. Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS
904. 265 0330 - 904. 386 7958
www.leftandrightsolutions.com
Jacksonville - Florida
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders