A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: poor image quality when loading JPEG file using MovieClipLoader.loadClip()

  1. #1
    Senior Member
    Join Date
    May 2004
    Posts
    182

    poor image quality when loading JPEG file using MovieClipLoader.loadClip()

    I have a JPEG file that looks fine in Photoshop. When I load it into a movie clip using MovieClipLoader.loadClip() API it renders in much poorer quality than the original. I tried setting _highquality = 2 on the target movie clip object to no avail. Please help.

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    In your main movie , have this on the first frame.

    _quality="BEST";

    ...and see if it looks better.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Senior Member
    Join Date
    May 2004
    Posts
    182
    Thanks. Tried that. The same problem...

  4. #4
    Senior Member
    Join Date
    Feb 2004
    Location
    Worcester Ma
    Posts
    161
    Open the jpg in Fireworks and resave/export it back out as the same jpg. I had the same problem before and it seemed Fireworks made the jpgs more "Flash" friendly.

  5. #5
    ___________________
    Join Date
    May 2004
    Posts
    3,174
    i had that problem every single time i used any image until i stop using a library - this is probably rubbish but try deleting any occurences of your image from the fla...

  6. #6
    Senior Member
    Join Date
    May 2004
    Posts
    182
    thanks for all your responses. setting the JPEG qulaity to maximum in the publish settings fixed the problem. btw, my JPEG is not in the library, i use loadClip to load it dynamically.

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