grapefrukt / grapefrukt-export

a set of actionscript tools to export animations and graphic assets made in flash authoring to other formats.
197 stars 29 forks source link

Is it possible to generate clip game automatically randomly #12

Closed FlashTang closed 11 years ago

FlashTang commented 11 years ago

Hi grapefrukt Is it possible to generate clip name automatically randomly How can I change your src , to make it do that way instead of giving names manually I think sprite has a default name , so no need to give it a name ?

Thanks

grapefrukt commented 11 years ago

The code that deals with removing unnamed instances is here, it should be easy to remove. https://github.com/grapefrukt/grapefrukt-export/blob/master/src/com/grapefrukt/exporter/extractors/ChildFinder.as#L77

But, be warned, the auto-naming isn't necessarily consistent between exports, so it may cause a ton of changes in your data files.