facebookarchive / Keyframes

A library for converting Adobe AE shape based animations to a data format and playing it back on Android and iOS devices.
https://facebookincubator.github.io/Keyframes/
Other
5.33k stars 302 forks source link

Unable to execute script at line 87 #93

Closed leeyc09 closed 7 years ago

leeyc09 commented 7 years ago

can not execute script at AE cc 2015, 2017 , windows 10.

Error Message is "Can not run script at 87 line. Uncaught JavaScipt exception:TypeError: cannot convert to c:\Programs files\adobe\~\Support File\script\~~~\AECompToKeyFramesAnimation.js"

leeyc09 commented 7 years ago

error occur this function AECompToKeyFramesAnimation.js function warnIfUsingMissingFeature(shouldWarn,feature)

leeyc09 commented 7 years ago

remove these line : keyPath.unshift(comp&&comp.parentFolder$name); console.warn('UNSUPPORTED: %s',keyPath.join(' → '));

you will work fine..

subtleGradient commented 7 years ago

Sorry for all the instability until now. Try the latest version here: https://github.com/facebookincubator/Keyframes/releases/tag/previewer-v1 It fixes a bunch of little bugs and has better error handling. It also includes a Previewer for Android.

Let me know if this still gives you any problems.

subtleGradient commented 7 years ago

Changes landed in master now

kongnanlive commented 7 years ago

can not execute script at AE cc 2015 13.2, 2017 14.0, windows 7. Not all! @subtleGradient

kongnanlive commented 7 years ago

@subtleGradient remove keyPath.unshift(comp&&comp.parentFolder$name); console.warn('UNSUPPORTED: %s',keyPath.join(' → ')); Can work!