I’m very excited to publish this, it’s a toolkit I’ve made under the last few months to be able to get graphics and animations made in flash exported to other formats so they can be used on other platforms. The code is pure AS3 so you can run it using either Flash authoring, Flash Builder or Flash Develop. However, it exports Flash assets, so it won’t do you much good without flash authoring.
It’s not perfect yet by any stretch, but I hope it’s useful enough for people to pick up and use. The code is licensed under a simplified BSD license, so you can pretty much do whatever you please with it, if you end up using it I value any and all feedback, send me an email and tell me what you think!
The project is at https://github.com/grapefrukt/grapefrukt-export
i couldn’t use it , after adding var export:SimpleExport = new SimpleExport(this); it gives me an error ReferenceError: Error #1065: Variable leeksheet is not defined. ReferenceError: Error #1065: Variable MainTimeline is not defined. flash cs4
It has rudimentary support for masks, any instance with named with “mask” in the beginning of its name will be flagged as one. That means it will be flagged as such in the exported XML, the actual masking however is up to your engine to deal with. “Static” masks, ie. within objects exported as textures, are fully supported.
Hey i wanted to know how does this tool handles masks? does the mask needs to be a movie clip names mask too?
Wow thanks so much for sharing, its saved so much time! would it be possible to ask for an example that has the commands to export the text? I apologise, ive tried looking through the documentation and have been looking on all forums for any kind of hint (apparently im the only person that would love to get this to work. but then there are so many other cool features that they probably havent had time to play with the text ! (its possible i’m doing things incorrectly and looking in the wrong places too – since im pretty new to flash/programming) sorry !! i couldn’t understand how to do it , the rest works so well, fantastic job! my next challenge it to integrate with cocos2d any hints regarding how to link animations to coordinates would be very appreciated also this helped me get it up and running, maybe it will help another newbie too 🙂 Reply #48 http://bitcollective.ca/forums/index.php?topic=61.45 once again many thanks! N
Hi, thanks for this great tool ! We are trying to use it for game with lots of animations. And we miss some things. Grapefrukt does not recognize Skew transformation, and when symbol Flip horizontal/vertical. is it possible to add this to the grapefrukt? Could you help me with that?