[Golist] HydroTween- custom numeric parameter's tweens

Gil Birman gil at allflashwebsite.com
Thu Jul 31 14:57:11 PDT 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://goasap.org/pipermail/golist_goasap.org/attachments/20080731/34b0dc98/attachment.html 


More information about the GoList mailing list