18 Replies Latest reply: Apr 5, 2013 10:45 PM by Naagas RSS

    Flash Pro CS6, JSFL, and SpriteSheetExporter.exportSpriteSheet()

    samahn Community Member

      Hi, I've been trying to use SpriteSheetExporter.exportSpriteSheet() but it just reports the following error:  "Argument number 1 is invalid"

       

      The documentation says to pass a (file) path for the first argument.  I've tried to pass both a platform path and a URI to a file to the method without success.

       

      The documentation seems to need some clean up too:

      http://help.adobe.com/en_US/flash/cs/extend/WSd5f4b6c52cfaa4b1-d3431961351cb0528c-7ffb.htm l

       

      Anyone have a working example?