A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Image size limitation?

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Posts
    29

    Image size limitation?

    Hi,

    I having trouble displaying an image (draggable movie clip in a window), in Flash MX, that is 2048 x 3069 pixels. Does Flash MX have a limitation on the file size or dimension size of an image? I get either a red square or severly blurred lines. I need to show it at that resolution. ANy have any experience in this or know if there is a max image size allowable?

    Thanks!

    -Z

  2. #2
    Lifesaver Lightwave Network's Avatar
    Join Date
    Sep 2002
    Location
    Denver, CO, USA
    Posts
    649
    Works fine on my end. I sucessfully imported a 2048 x 3069 BMP RGB image. Make sure you're not using a CMYK image, though. I'm not positive, but I don't think Flash likes anything but an RGB image. Check your dpi, too--set it to 72dpi. When you import an image that uses a higher dot-per-inch ratio, your images will import smaller--they'll look like thumbnails; so if your image has high dpi and has a lot of red in it, this could cause your little red box.

    Plus, (sounds like you're on a Mac,) be careful with TIFF and PICT images--they tend to be large in file size--too big and Flash might freak out.

    Hope this helps!


    ... gimme just one more line of code to ease the pain.

    http://www.ln.tv
    http://www.davevillano.com
    http://www.premierloftsdenver.com
    http://www.backyard.cc -- coming soon!


  3. #3
    Junior Member
    Join Date
    Jan 2001
    Posts
    29
    Hi,

    Thanks for the reply. I still couldn't get it to work. It is 72 dpi and in RGB. I tried jpg, bmp, png, and still no luck. I am on a Mac. (OS X). I get like a bright red color in place of the image when I export it. Within the flash file, it appears. But it won't appear when I export it. I tried all kind of export settings too. Nothing. Anyone tried this on Flash MX, on a Mac OS X computer? I'm stuck.

    Thanks again for the help,
    -Z

  4. #4
    Lifesaver Lightwave Network's Avatar
    Join Date
    Sep 2002
    Location
    Denver, CO, USA
    Posts
    649
    Why is it that you're using such a high resolution image?

    Flash's max stage height is 2880 px--and your image is 3069?

    Now, I HAVE seen problems with images that are too far off the stage. For example, if I make a movie clip with a bunch of thumbnail images put together to make a horizontal display, and if the images are so far off the stage that I can't see them, then the published movie will show me a bunch of funky-funked-up pics...


    ... gimme just one more line of code to ease the pain.

    http://www.ln.tv
    http://www.davevillano.com
    http://www.premierloftsdenver.com
    http://www.backyard.cc -- coming soon!


  5. #5
    Junior Member
    Join Date
    Jan 2001
    Posts
    29
    It actually is within a smaller window (like about 250 by 250 pixels), and is a draggable movie clip. So imagine you are looking at this smaller frame, and behind it is an image you can drag around and see parts of. The stage size is 800 by 600. I understand how the stage and work area function, but it appears the image size is causing the problem.

    Maybe I can try splitting it in 2? That may work. I will let you know....

  6. #6
    Senior Member
    Join Date
    May 2001
    Posts
    1,838
    1.
    Import that picture to flash. The property panel shows 2048x3069 in size. Now modify the value in property panel to smaller value such as 512x1023; The picutre will shrink.

    2.
    Select it and convert it to new symbol. Adjust the registration point 0,0 if necessary.

    3.
    Write a line of script at frame 1 of this symbol or onClipEvent(load) section:
    this._xscale=400;this._yscale=300;

    Thus you have a picture movieClip of 2046x3069 in size.

  7. #7
    Junior Member
    Join Date
    Jan 2001
    Posts
    29
    Thanks for the reply, but I still got the same result! Did you do this on a PC?

    I actually did find a solution, which I recommend to anyone having a similar problem.

    I split the image in half and then imported both pieces in Flash. The I simply aligned them and it worked fine. It appears like this is a limitation of Flash to have an image this big. Hope they fix this!

    Thanks,

    -Z

  8. #8
    Senior Member
    Join Date
    May 2001
    Posts
    1,838
    Yes, mine is PC.

    Check your library.

    There will be a symbol, kind is Bitmap, size is 2048x3069.
    There is another symbol, kind is Movie Clip, size is 512x1023.

    If you zoom the movie clip, Flash player can play well, no matter how large is the end width after you zoom.

    Flash just can not allow a Movie Clip symbol with width >2280;

    Because the fla includes a large jpg, the file size is big as 1.3M. I wont post here.

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