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

The xml export does not include the draw order #17

Closed wldevries closed 8 years ago

wldevries commented 8 years ago

For instance the god scores export has the layers export in the following order:

  1. cloudback
  2. cloudfront
  3. rainbow
  4. rays
  5. text

The actual draw order is by my best guess the following:

  1. rays
  2. cloudback
  3. rainbow
  4. cloudfront
  5. text

Either the Part or the Frame should include a draw order or z value. My understanding of Adobe Animate is limited so I wouldn't know..

grapefrukt commented 8 years ago

It's been ages since I touched this code, but I'm sure there's a zIndex property included in the exports. Though it's not impossible this might be broken somehow.

wldevries commented 8 years ago

I saw it's part of the textures xml export