[Golist] HydroTween- custom numeric parameter's tweens

Burak Delice burak at delizade.com
Thu Jul 31 06:28:05 PDT 2008


hi,
i tried to tween a variable like this :

mc= new MovieClip();
mc.var1 = 0;
HydroTween.go(mc, {var1:100}, .3, 0, Elastic.easeOut, null, up);
  
public function up() : void {
   trace(mc["var1"]);
}

or 

private var var1:Number;
....
var1 = 0;
HydroTween.go(this, {var1:100}, .3, 0, Elastic.easeOut, null, up);
  
public function up() : void {
   trace("var1");
}

but, value is not increased. always 0. how can I do that? 

regards



  ----- Original Message ----- 
  From: Gil Birman 
  To: Mailing list for the Go ActionScript Animation Platform 
  Sent: Wednesday, July 30, 2008 10:35 PM
  Subject: Re: [Golist] HydroTween init3D


  From what Moses said, it would be nice if there were a "3D" property or something to indicate that a tween wants render(..) to be called on update. Also, is it unreasonable to assume that you'll want to use multiple 3d viewports? If so, maybe 3D should be more than merely an on/off flag, and allow you to specify a renderer...

  HydroSequence( { target:planeA...., 3D: renderer1 } );
  HydroSequence( { target:planeB, ...., 3D: renderer2 } );

  Gil



------------------------------------------------------------------------------


  _______________________________________________
  GoList mailing list
  GoList at goasap.org
  http://goasap.org/mailman/listinfo/golist_goasap.org



  __________ Informazione NOD32 3302 (20080728) __________

  Questo messaggio  h stato controllato dal Sistema Antivirus NOD32
  http://www.nod32.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://goasap.org/pipermail/golist_goasap.org/attachments/20080731/e933a27a/attachment.html 


More information about the GoList mailing list