Hi there....
I have the following code on my main timeline. I also have a few MovieClips of
which I need ot animate onPress:
import mx.transitions.Tween;
import mx.transitions.easing.*;
//l1
new Tween(this.l1_mc, "_alpha", Strong.easeOut, 0, 100, 3, true);
new Tween(this.l1_mc, "_y", Strong.easeOut, 106, 6, 1, true);
//l2
this.l1_mc.company_btn.onPress = function() {
new Tween(this.l2Company_mc, "_alpha", Strong.easeOut, 0, 100, 3, true);
new Tween(this.l2Company_mc, "_y", Strong.easeOut, 106, 6, 1, true);
}
Now for some reason the onPress is not working. I put a trace in there and i do
get feed back from that, however the
MovieClip will not animate. is ther ean error in my code?
Thanks!
::::::::::::::::::::::
Dustin
::::::::::::::::::::::
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders