ActionScript 1/2 :: Dynamically Loaded .jpg Are Pixelated?
Aug 8, 2011
For some reason only some of the .jpgs on my flash site that are being loaded dynamically are loading pixelated. I've tried to look up solutions to this, but I'm not exactly sure where a quality=best or smoothing=true script should be placed. And I'm equally as puzzled as to why only some of my .jpgs are loading pixelated?
On the timeline where the movieclip is located I have the following code:loadMovie("Wave.jpg", _root.image_box_9); On the movieclip itself I have this code in order to create a fade in:
I've used AS2.0 to build my site. I have several .jpgs that I'm loading dynamically on my flash site from my server. For some reason only some of the .jpgs are loading pixelated. I've tried to look up solutions to this, but I'm not exactly sure where a quality=best or smoothing=true script should be placed. And I'm equally as puzzled as to why only some of my .jpgs are loading pixelated? This is very frustrating, this is the code I'm using to load my images:
I am making a simple little movie that reads an XML file, gets the url of the most recent nodes image and displays it.I have everything working, but the image gets pixelated when it gets sized down, and I cannot figure out how to enable smoothing with my code.I am new to A.S. so I am fumbling my way through something this advanced. From my reading I think I cannot enable smoothing because I am using a UILoader to display the image?[code]
I have imported two images from PS to Flash in PNG format. They are the perfect size and ready to use (i.e. not scaling these images). When I convert them to movies, the animation looks great in Flash, but when I export them they only look good when I have the HTML settings set to "Best". If I don't have this setting on, it looks like crap (i.e. very jagged). These are photos btw, not vector images or shapes.
The reason I want this to be optimized without the control of HTML is because I am creating web banners for advertising. When I submit my swf file to the webmaster, they basically will embed the swf with whatever settings they choose. If they don't have the setting on "Best", the file looks like crap. Allow smoothing is on.
1. When I import the PNG image, can I safely select JPG compression via the Bitmap Properties? Or do I need to keep it as lossless? If I select JPG, I can considerably reduce the filesize, although I'm not sure if that causes the images to look jagged as well.
2. Is there anything I can do outside the HTML settings to display my animations without the jagged edges? I need to keep my filesize under 50Kb which is pretty hard when working with photos and animation etc.
I am calling a group of "large" jpgs into a slide show viaxml at runtime.The files are at size and with no compression as they are seelocally on a touchscreen.They look good in Pshop on screen, but when viewed in the swfthey have odd edges in t etext areas or anywhere there is adramatic shift in color or contrast. It looks like compressionissues, but I have been through each file multiple times andnothing seems to be wrong.Is there a limit to what file size can be imported andmanaged clearly by flash?Movie is 1924 x 1200 and the slideshow running in the windois 1277x959(rgb,jpg,files@72DPI)Image quality is very important on these because they are on
I'm having problems with image resolution...I'm using .png files, and the color/reso looks great in the flash file, but when I play the swf, the resolution gets all pixelated.
I have a swf embedded in a HTML page at 100% - so it resizes with the page. In this I am dynamically loading jpegs... however, if the swf is displaying at anything other than its original size the jpegs look clumsily pixelated... which would be understandable if they were bigger than their native size, but it also happens when theyre smaller....
I created a flash image gallery for my site but the images look pixelated. I really don't like the way they look. Im fairly new to web design and very new to flash.
I have scaled down some JPG's in flash and they look fine but when I publish to a SWF they look pixelated. I've read other threads and done what is suggested i.e. Smoothing on or off, JPG's instead of PNG's and quality at 100% with no success. I know that Flash isn't a resolution based application and bitmaps are but the images look fine in the Flash IDE.
First i made the images with drop shadows in Illustrator and they looked fine there. When i copied them in to Flash they became pixelated.
I then got rid of the drop shadow in Illustrator and re-made it directly in Flash using the Filter/Drop Shadow property. It still is coming out very pixelated, even on "high quality" setting.
I'm trying to scale down some vectors but when i do they become pixelated. So I tried putting then in a container and scaling down the container, but pixelation still occurs.can anyone tell me why this is happening and a possible work around?Here is the function from my class:
private function addItems():void { addChild(itemsContainer);
I'm trying to scale down some vectors that have a z position set (other than zero) and they are becoming pixelated. So flash is obviously bitmapping the vectors.
Does anyone know of a work around to stop the pixelation?
Here is the function from my class:
private function addItems():void { addChild(itemsContainer); // make the items.
I'm creating a very basic tween of an image which scales down to half it's size. It looks fine in Flash but when published the scaled down image looks like crap, all pixelated. I've done this hundreds of times in other versions with no problems except now. The publish setting for jpeg is set at 100% etc...
I've got a FLA file making an animated banner. When I export it as an animated GIF, the background (which originally is a solid color) has either dots or crosses making up the color. I've tried different settings such as dithering, changing the palette but have had no luck. And I'm using one of the 256 colors. Using a FLA that did have a good solid bg converted animated GIF, I tried to export that one as well and it comes up with the same problem. So that means it's not the color/fla that is wrong, but is my exporting to animated gif method. Attached is how the background turns out:
Why when I take a file that's huge and resize it smaller does it look so pixelated? I have on smoothing and the file looks great until I make it smaller.
I'm exporting some 1280x720 HD vid from a typical vector cartoon made in flash. I've used PNG, Animation, and 8bit Uncompressed and still my vid looks pixelated in the fine details. Exporting a still the same size gives clean results. Any magic setting I'm missing to make this look better?
Adding example of pixelated fine lines in uncompressed video.
I am facing a problem: graphic pixelated issue. I have created some images in photoshop and want to import to flash. However i realized from my fren that it has got to do with photoshop which is in raster type while flash it in vector style that's why it appears to be pixelated in flash.
I've completed all 3 tutorials listed on gotoAndLearn and I've got the following code.[code]So as you know I've got my 10 items dynamically loaded out of XML, as well as the MC Box, which is centered on the stage.My question is, how would I get the carousel to rotate around the centered box. I'm not sure how to adjust the depths to go behind the centered mc. I know [code]is probably where I need to make an adjustment, but I'm lost as far as what to do.
I have created an image in photoshop (96dpi, same as my monitor) and imported it as a png into flash where it becomes a bitmap. Once I had imported the image I went to library and allowed smoothing on the image and set it to lossless. It performs a motion tween and simply flys from one side of my movie to the other. However, the whole way it appears pixelated. I had done this on a previous movie with the same image, just with a different animation and I had the same problem. But in this case the 'allow smoothing' worked. Not this time though.
I've found using the 3D rotation tool to give rough/jaggy/pixelated edges to my vector clips, even after using:cache as bitmap"stage.quality = StageQuality.BEST;" in Document classIs there a way around this?
When I rotate images that have been imported to the library or loaded via loader and try to rotate or scale them using the interface or actionscript they become sort of pixelated and blocky. Has anyone else experienced this? If so, does anyone know why it happens or how to compensate for it?
I am making a 3d scene in flash 10 and i have found that a movie clip with a vector graphic inside it becomes pixelated when the z axis is set it a negative value.
I've been charged with the crusade of making a prettydifficult (to me) slideshow. This is what the client wants:1. externally loaded images2. externally loaded text (comments for each image)3. the timeline of the slideshow to be dictated by the numberof externally loaded images.Now, ive made tons of slideshows with 1. and 2. before, butthe request for 3. totally screws me up. I usually have a setamount of images that will be used, and accordingly, set up thetimeline using empty movie clips that use the loadMovie command todynamically grab images from a specified folder. They fade tweenover each other and everyone is happy. However, if I were to make amovie with item 3's parameters, I can't define a predeterminedtimeline. Im sure this can be done with actionscript but I am 100%c
I have a TargeMC that i load another .swf file into. is it possible to have a button inside the loaded .swf that changes TargetMC swf file. sence it is dynamically loaded i dont know how to referance it from the loaded movie inside.
I have dynamically loaded a video . I have removed the movieclip containing the video but the video is still playing. How can i remove the video as well?
I'm having problems accessing a function that I loaded from a MC I have in my library. Addchild and all that stuff works, I just can't run the function inside these dynamically added movieclips.[code]But the moment I add .myTest(); to them, the one in button clicked works fine, but the other one fails and causes a compilation error.