Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export Keyframe data only? #1

Open
TiltStudios opened this issue Mar 26, 2012 · 1 comment
Open

Export Keyframe data only? #1

TiltStudios opened this issue Mar 26, 2012 · 1 comment

Comments

@TiltStudios
Copy link

This project is truly awesome! I'm glad I found this. I was looking through the examples and messing around a bit and noticed that your XML export seems to bake the keyframe data to standard frames. Is it possible to export only the keyframes, and have whatever run-time engine interpret the tweens?

@grapefrukt
Copy link
Owner

Thanks!
The xml export is indeed for all frames which is a bit wasteful, but it was also very easy to implement. It should be possible to parse out keyframes using the as3swf library (which is already used for svg-export), but it will be more complicated than the current code.

It might even be possible to use as3swf to figure out where and for what they keyframes are placed and then use the current method of parsing values.

Here's an example of timeline reconstruction using as3swf:
http://wahlers.com.br/claus/blog/timeline-reconstruction-with-as3swf/

I'll try and look into this whenever I have some time to spare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants