CreateJS / TweenJS

A simple but powerful tweening / animation library for Javascript. Part of the CreateJS suite of libraries.
http://createjs.com/
MIT License
3.56k stars 967 forks source link

validate #60

Closed henricavalcante closed 8 years ago

henricavalcante commented 9 years ago

in this line:

MotionGuidePlugin.calc = function(data, ratio, target) {
        if(data._segments == undefined){ MotionGuidePlugin.validate(data); }

I can't found function 'validate' in MotionGuidePlugin object.

lannymcnie commented 9 years ago

This looks like it was not completely implemented. Typically the data comes from Flash Pro export, so I don't think we have run into any cases where this actually happens.

In the short term, we will ensure that it errors properly (vs a random RTE) - and hopefully implement the validate method eventually.

Thanks for the report!

henricavalcante commented 9 years ago

@micaelsouza @danilothiago please follow this issue

lannymcnie commented 8 years ago

The RTE handling was added in October 2015. Closing this issue, since there is no plan to handle it differently.

henricavalcante commented 8 years ago

thanks. =)