Hi all, I ran into something strange whereby if I modify a movieclip's property
(say alpha), it would kill the tween that will take place later that involves
the movieclip. Wonder if anyone has run into this?
1) In a test FLA, create a movieclip called "test". Inside "test", create two
frames, "start" on frame 2 and "end" on whatever (say frame 30).
2) Put a movieclip called "box" on timeline and tween it from "start" to "end".
3) In the main timeline, add this:
stage.addEventListener(MouseEvent.MOUSE_DOWN, click);
function click(event:MouseEvent):void
{
test.box.alpha = 1; // <-- changing alpha value causes the tween to stop
working, comment this out and tween works
test.gotoAndPlay("start"); // tween test.box by moving it across the stage
}
- boon
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders