[Golist] HydroTween- how cn I add an update function to an sequence Item?

Burak Delice burak at delizade.com
Fri Aug 1 06:26:45 PDT 2008


(somebody stop burak!) I forget to ask in prev. message : how can I state an update function for a sequence Item ?
 

var sq: HydroSequence(
{target:mc,x100},
{target:mc,y100});
sq.start();

function update(){
// I want to link this function to sq HydroSequence's FIRST Item

}

  ----- Original Message ----- 
  From: Gil Birman 
  To: Mailing list for the Go ActionScript Animation Platform 
  Sent: Friday, August 01, 2008 12:57 AM
  Subject: Re: [Golist] HydroTween- custom numeric parameter's tweens


  For custom properties I use this function.

          /**
            * Added by Pickle: Add a property using genericRead and genericWrite
            *  @param    newProp    New Property name
            **/
          public static function addProperty(newProp:String) {
              if (! _propertyList.hasOwnProperty(newProp))
                  _propertyList[newProp] = {prop:newProp, read:genericRead, write:genericWrite};
          }

  You can also update via SVN and this function remains and you have the latest version of HydroTween...

  Before you do your tween do this:

  HydroTween.addProperty("zoom");  // add zooming for Papervision3D

  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/20080801/e99dfd15/attachment.html 


More information about the GoList mailing list