[Golist] HydroTween- custom numeric parameter's tweens
Burak Delice
burak at delizade.com
Fri Aug 1 00:36:22 PDT 2008
----- 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/23d217da/attachment.html
More information about the GoList
mailing list