From: jonathan howe <[email protected]>
To: Flash Coders List <[email protected]>
Sent: Mon, April 26, 2010 10:17:10 AM
Subject: Re: [Flashcoders] Infinitely Looping Image

<snip>
Hi, John,

The first reference to "cloudTween" I see is here:

cloudTween.addEventListener(TweenEvent.MOTION_FINISH, restartAnimation);

So I'm guessing you need to declare and assign that object before you try
attaching an event listener to it.
</snip>

Sorry. The var is declared early on:

        var cloudTween:Tween = new 
Tween(parent_container2,"x",null,0,300,1,true);

<snip>
In the future, the quality of the feedback you'll get will reflect the
effort you put into describing the problem. "It ain't working" isn't helpful
for someone analysing: Throws an exception? Doesn't compile? Animation
starts but then doesn't loop?
</snip>

Doesn't play. Everything else pops up fine. No errors.
TIA,
John


      
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to