I'm trying to use PHP and Flashwriter to place a JPEG into a SWF wrapper, but have the SWF placed not at 0,0... I want it placed so 0,0 is at it's center, not top left.
So, I drew the rectangle starting at (0 - width/2),(0 - height/2). The rectangle draws in the right place, but the bitmap fill still shows the image at 0,0.. so the image is cut off and in the wrong place.
Check out the attached ZIP file with a SWF inside to see what I mean.
I want to move the bitmap fill so that it stars at the top left corner of the rectangle. Is this too obscure, or can some SWF expert help me?
hi,
I am also trying to write my own swf files and was having troubles with JPEG. My problem was how to display jpegs. I used DefineBitsJPEG2 tag and showframe and that does not do it. I also tried to show the jpeg within a rectangle as a clipped bitmap fill and that didnt work either? can you tell me what tags did uwrite in order show the JPEG. may be then I can work on it figure out whats causing your problem too.
Abhi.