Skip navigation
Currently Being Moderated


Aug 7, 2012 1:39 AM

  • Currently Being Moderated
    Aug 7, 2012 1:39 AM   in reply to Community Help

    The description of the parameters above is clearly wrong. It should probably say something like:


    - path A string, expressed as a file:/// URI, that specifies the path and name of the exported spritesheet image file.

    - imageFormat A string specifying the file format of the image file ("PNG" or "JPG" is what I've succeded in using so far).

    - writeMetaData Optional. A boolean specifying whether or not a external file containing the spritesheet metadata should be generated. Defaults to true.


    Also, the spritesheet images always seem to come with solid backgrounds, even for PNG's, which needless to say make them useless in many (well, most) cases. My guess is that this is a bug. But, if this is expected behavior, and there is a way to get transparent backgrounds, the documentation should be updated to include this information.

    Mark as:
  • Currently Being Moderated
    Aug 7, 2012 7:28 AM   in reply to maki99

    Hi maki99, sounds like you've had more luck with this than I have.


    Even with a valid URI path and "PNG" imageFormat, I still get this error:

    exportSpriteSheet: Argument number 1 is invalid.


    Do you know if there are any nuances with the URI path value?


    Also regarding solid backgrounds, try these values for the imageFormat:  RGBA8888, PNG32

    Mark as:
  • Currently Being Moderated
    Aug 7, 2012 8:27 AM   in reply to samahn

    Hi samahn,


    Re the "Argument 1" error, I just responded to your forum query:


    Neither "RGBA8888" nor "PNG32" are accepted as the imageFormat parameter.



    Mark as:
  • Currently Being Moderated
    Oct 17, 2012 4:40 AM   in reply to maki99

    As 'aviPro' had found out (, the second parameter can have more choices:




    , bitDepth:32

    , backgroundColor:"#00000000"



    This is how you can get the transparent background for example.

    Mark as:
  • Currently Being Moderated
    Dec 21, 2012 5:06 PM   in reply to Community Help

    Is it possible to the invoke the built in flash spritesheetexporter at this point?  It would be great for the user to be able to change the settings through the built in SpriteSheetExporter and that the window would return the results to JSFL.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points