When I generate spritesheets using the JSFL SpriteSheetExporter it seems the generated png's always come with a solid background. I have found no information in the documentation on how to control this (e.i make the background transparent).
SpriteSheetExporter.format returns "RGBA8888", so the image appearenly has an alpha channel.
Grateful for any information or ideas to help resolve this issue.
The transparent background is the default
Maybe your Movie Clip have a solid background
Thanks for the reply.
No, the movieclip has a transparent background.
Note that this question concerns the JSFL SpriteSheetExporter (scripting). The tutorial you refer to seem to cover the sheet exporter in the Flash IDE.
That's what I thought as well, but looking at the file properties of the exported PNG it says that bit depth is 32.
Do you know if there is a way to control the bit depth of the generated image?
Ok, getting desperate here, and according to the support guy I chatted with this forum is my best chance of getting help. So if anyone can help resolve this... well, you know.
In fact I'd be happy to get in touch with anyone who has been able to make use of the SpriteSheetExporter object (JSFL, not the one in the IDE) at all, because given how poor/faulty the documentation is and how buggy the feature itself is you'd expect to see some more forum questions out there related to this, which there aren't.
Any update on this? I've hit the same issue. If you look at the window for "Generate Sprite Sheet" in Flash CS6, there is a "Background Color" option. No such option exists in JSFL, so all the pngs are generated with a white background, making scripting useless for any animation with transparency (all of them in my case).
Europe, Middle East and Africa