dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Image Decode Error

  1. #1
    always collects
    Join Date
    Jun 2006
    Location
    Fairfield
    Posts
    26

    Image Decode Error

    Just started with CS4 edition and I'm looking at creating some mobile screensavers. However, I've run into some issues when placing a jpg on the stage. I get the message "Image Decode Error" come up once I run the movie. What is this all about?

  2. #2
    Moderator
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    how large in file size is the jpeg?
    aviarts.com - web development and flash development

  3. #3
    always collects
    Join Date
    Jun 2006
    Location
    Fairfield
    Posts
    26
    Thanks for the reply mate. The jpeg is 1.29mb. I didn't expect that to be of significance because I used the line tool to cut the image into a much smaller movie clip symbol.

  4. #4
    Moderator
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    1.2mb is probably too large for memory for the phone or emulator profile you are testing with. JPEG expands into memory, so it gets larger after it loads.

    Just as an experiment you might try loading a much smaller jpeg like 100k and work upward to find out the memory limit. You also need to test this on the phone because sometimes the CS emulator does not reflect memory in the same way as the device. Sometimes the device has more memory than the emulator and other times its the other way around.
    aviarts.com - web development and flash development

  5. #5
    always collects
    Join Date
    Jun 2006
    Location
    Fairfield
    Posts
    26
    Thanks mate I'll give it a crack.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center