On Sat, Nov 21, 2009 at 10:23 AM, Keith Reinfeld
<[email protected]>wrote:

> The problem must be with some other code that you are not showing.
>

No, that's all the code!
beno


> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of beno -
> Sent: Saturday, November 21, 2009 7:33 AM
> To: Flash Coders List
> Subject: [Flashcoders] Still Infinitely Looping
>
> Hi;
> The following code causes an infinite loop of the hands:
>
> package
> {
>  import flash.display.MovieClip;
>  import com.greensock.*;
>  import com.greensock.plugins.*;
>  import com.greensock.easing.*;
>  public class Main extends MovieClip
>  {
>  public function Main():void
>    {
>  }
>  public function init():void {
>    hatAndFace();
>    eyeball1();
>    eyeball2();
>    rightHand();
>    leftHand();
>  }
>  public function hatAndFace():void
>    {
>    var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace();
>    TweenPlugin.activate([AutoAlphaPlugin]);
>    addChild(mcHatAndFaceInstance);
>    mcHatAndFaceInstance.x = 350;
>    mcHatAndFaceInstance.y = 100;
>    mcHatAndFaceInstance.alpha = 0;
>    TweenLite.to(mcHatAndFaceInstance, 2, {autoAlpha:1});
>  }
>  public function eyeball1():void
>    {
>    var mcEyeballInstance1:mcEyeball = new mcEyeball();
>    TweenPlugin.activate([AutoAlphaPlugin]);
>    addChild(mcEyeballInstance1);
>    mcEyeballInstance1.x = 380;
>    mcEyeballInstance1.y = 115;
>    mcEyeballInstance1.alpha = 0;
>    TweenLite.to(mcEyeballInstance1, 2, {autoAlpha:1});
>  }
>  public function eyeball2():void
>    {
>    var mcEyeballInstance2:mcEyeball = new mcEyeball();
>    TweenPlugin.activate([AutoAlphaPlugin]);
>    addChild(mcEyeballInstance2);
>    mcEyeballInstance2.x = 315;
>    mcEyeballInstance2.y = 115;
>    mcEyeballInstance2.alpha = 0;
>    TweenLite.to(mcEyeballInstance2, 2, {autoAlpha:1});
>  }
>  public function rightHand():void
>    {
>    var mcHandInstance1:mcHand = new mcHand();
>    addChild(mcHandInstance1);
>    mcHandInstance1.x = 400;
>    mcHandInstance1.y = 200;
>  }
>  public function leftHand():void
>    {
>    var mcHandInstance2:mcHand = new mcHand();
>    addChild(mcHandInstance2);
>    mcHandInstance2.x = 800;
>    mcHandInstance2.y = 200;
>  }
>  }
> }
>
> I have the following in the first frame of a layer of the timeline:
>
> var main:Main = new Main();
> addChild(main);
> main.init();
> stop();
>
> Someone, presumably working with greensock.com, mentioned that I should
> d/l
> the latest version of TweenLite since an earlier version had a bug that
> could have triggered the infinite loop, but I replaced my older version
> with
> a brand new one as per his instructions. Please advise.
> TIA,
> beno
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.709 / Virus Database: 270.14.76/2517 - Release Date: 11/21/09
> 01:47:00
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to