|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Loading image into Flash
Hi all,
I'm loading a high quality image from a xml file using: PHP Code:
The only problem is that when they get loaded and shown in flash, their quality has been drastically reduced, making the images look like rubbish. I'm exporting the movie with the following options: Version: Flash Player 6 Load order: bottom up [what does this actually mean?] JPEG quality: 100 What is making the image quality so bad? Do I have to do some transformation to the loaded movie to get the origional image quality shown in Flash? Thanks in advance.... |
|
#2
|
|||
|
|||
|
Hi, got some links for you:
Improving bitmap image quality in Flash JPEG Quality publish setting does not affect image quality Their both off the macromedia site. I was going to ask if you had any form of scaling applied but the first link says that as well. Hope they help -Tann |
|
#3
|
|||
|
|||
|
Hi there,
Thanks for the links, very intresting. Both articales seem to be refering to images imbeded into the flash movie, rather than images imported into flash at run-time, even though the 2nd link talks about imported images, although I'm not sure if they mean imported into the Movie during playback, or imported prior to the movie being exported into swf. Quote:
One thing I have noticed is that when I play the stand-alone swf file, and compare it to the movie played in the HTML file generated by flash, the stand-alone has perfect image quality, while the HTML file shows reduced image quality & is larger in x&y, almost as if the swf has been scaled larger. Don't quite understand this, as in my example the swf file is 600 x 316, with the same setting in the HTML code? Not quite sure where to go from here, image quality is very important for this movie, and it's not possible to have all the images imbeded into the movie as the data is being pulled from a database. |
|
#4
|
|||
|
|||
|
Hi, ok well maybe its the shockwave file it self. Make sure that automatic scaling is off (last page of publish settings). For a quick test stick this in the first frame of your movie:
Stage.scaleMode = "noScale"; Stage.align = "tl"; That will turn off scaling and set the alignment to the top left. -Tann |
|
#5
|
|||
|
|||
|
I can't thank you enough.....
Turned off the scaling which added the tiny bit of code into the HTML: <param name=scale value=noscale /> and now it works perfectly... Thanks... |
|
#6
|
|||
|
|||
|
a side note
the image you can import cannot be a ".gif' format. Won't work.
|
|
#7
|
|||
|
|||
|
Not too late I hope...
Hi all,
I actually have the exact same problem, i.e. the quality of dynamicly imported jpeg (with loadMovie) is really bad. I tried to turn off the scaling but no effect... I have an additionnal problem (which might be linked, for all I know) : I am quite sure I am doing something wrong, but the pixel size seem to vary in different part of the animation. For instance, a dynamicly loaded image is 70-pixel large but I need a 82-pixel large mask over it to let it show entirely... My fault I am sure, but where... I welcome any suggestion ! Thanks, Matt |
|
#8
|
|||
|
|||
|
Hi, if you have the image loaded into a blank movie that you made in the library then select that blank movie on the stage. If the movie has some content to start with such as a box then open the movie and set the box size to 70x?. Align it to 0,0. Now go back to the movie which contains this movie. If you select the movie the image is to be loaded into it's size (in the properties window) should be 70x?. If it's not then now is the time to set it to that, again via the properties window.
|
|
#9
|
|||
|
|||
|
Thanks a lot for this tip, should help a great deal !
Regarding the dynamicly imported jpeg quality, I noticed something funny: the quality is great (after I turned off the scaling) in Flash Player 6 but really poor in Flash Player 7. Can someone explain this ? Thanks a lot again !!! Matt |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Loading image into Flash |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|