-
How to show JPEGS?
Hi,
I am trying to generate .swf files using Java. I have developed the classes and I can now draw single shapes. My problem is with JPEGs. I DefineBitsJPEG2 tag along with PlaceObject2 and ShowFrame tags. but I am only getting a blank frame. I have gone throught the binary data generated by my code and it looks fine with respect to all the tags and header. I skipped the bytes in the JPEG data though.
So, what could I be doing wrong? Also, I am unable to draw more than 1 figure either using only one DefineShape Tag or multiple tags for each image. Any suggestions?
Guys, I need your inputs. Please help me out.
ciao,
Abhi.
-
The easiest way to figure something small like this out is to create it in the flash authoring tool. then create it in your app. then use a file compare program to see the differences.
there are some strange things that you have to do with the jpeg header i think i remember.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|