-
loading external jpeg problem(s).. pls help
Hello folks, me again
Quick question...
I'm having some trouble here, using this code:
container_1_mc.loadMovie("1.jpg");
When l test the movie the 1.jpg shows up fine no problems at all.
However if l change it to 2.jpg (which is an existing file within the same folder) the movieClip just goes 'blank'...
here's an upload of both the images.
This one works fine: http://img208.echo.cx/img208/2532/13nm.jpg
this one (for some reason, doesn't): http://img208.echo.cx/img208/3138/bg5fv.jpg
And all l've done to the actionscript command is change the '1' to a '2', respectfully. They're both nearly the same size... I honestly can't figure it out.
Samantha Gram
-
When you have a link to an external .jpg file, I have learned (through this board) that when you 'save for web'--the photograph-- in photoshop, you must un-click the 'progressive' box. Otherwise, it doesn't show up.
I hope that helps.
bluej2
-
Yes, that was the problem... Thank you for the help.
I dont understand why there isn't a little more information available about this. I've spent hours looking through flash sites, and thumbing through my flash books trying to figure out what l was doing wrong, and didn't see anything about progressive vs. standard file formats.
Samantha Gram
-
Grayscale JPEG files cannot be loaded dynamically too.
This becomes a problem when you don't know what type of JPEG files u're going to load. (e.g. user avatar)
One way is to let your server convert the image into SWF. :P
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
|