Jump to content
Search Community

Ethan Kennerly

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Ethan Kennerly

  1. Sometimes I use a plugin's property without activating that plugin.

    Of course that is my fault and I fixed it.

    However, I find it helpful to be notified that the plugin was not activated.

    Currently I inserted into the TweenLite.as function _initProps (line 574):

     

     

                    } else {
                        if (!target.hasOwnProperty(p)) {
                            trace("TweenLite._initProps:", p, 
                                "is not an activated plugin and not a property of", target, 
                                ". Creating PropTween.");
                        }
    

     

    I hesitate to touch the source code, which would be replaced when a new version is released.

    Do you recommend another way to see a trace statement when the property has not been activated?Can you you see examples of problems with this trace technique?
     
    Thank you for reading!
×
×
  • Create New...