We are writing software that generates native SWF's in binary.
We define a simple JPEG image using DefineBitsJPEG2.
When we try to place the character using PlaceObject2 and a simple scaling matrix.
The swf renders completely blank.
My question is:
Is it possible to place the image directly using PlaceObject2 or do you need to generate a shape first and use the bitmap as a fill style?
The spec leads me to beleive direct placement should be possible. However I have not seen any examples to prove it.
I've opened the SWF with a decompiler and the image appears to be valid. SWF is not corrupt to my knowledge.
I've included the generated SWF in question as an attachment.
Thanks for the help!
Mike M.
Solved this a few week ago by generating a shape and then using the image bitmap as a fill style for the shape.
This seems like more work than should be necessary...but it works!