ActionScript 3.0 :: Poor JPEG Quality When Loaded Externally In Flash Via .xml?
Sep 25, 2011
Basically, my problem is that I have a movie that loads images from an external source based on paths contained within an .xml. As far as I can see, there is no restriction to the size of the loaded image, which are are JPEGs, hence flash will not have these images resized. The images look fine when loaded in Photoshop or viewed separately, but the quality is just awful when loaded within the movie.I've tried the usual hints like increasing JPEG quality in Publish Settings, but understand that since these images are not imporated into Flash CS5 before compiling, but are instead loaded when the .swf is run, these settings would not have any effect.Does anyon
Code:
stop();
var my_x:Number;
[code].....
View 3 Replies
Similar Posts:
Jul 26, 2011
I have a movie that loads images from an external source based on paths contained within an .xml. As far as I can see, there is no restriction to the size of the loaded image, which are are JPEGs, hence flash will not have these images resized. The images look fine when loaded in Photoshop or viewed separately, but the quality is just awful when loaded within the movie.
I've tried the usual hints like increasing JPEG quality in Publish Settings, but understand that since these images are not imporated into Flash CS5 before compiling, but are instead loaded when the .swf is run, these settings would not have any effect.
[Code]....
View 1 Replies
May 9, 2011
way to set the quality of a loaded jpeg the way we're able to set the quality on library item? It's pretty neat to be able to set the smoothing, is there a similar way to set quality?? Is there an approach anyone would recommend for dynamically setting the quality on a loaded image?
var loader:Loader = new Loader();
loader.load(new URLRequest("myImage.jpg"));
addChild(loader);
[Code].....
View 2 Replies
Jan 24, 2009
I was wondering, after looking into loading external images via xml- how you would control the size of those images on resize and on first loading.
Do you define the size of the container mc?
Can you apply the same or similar onresize code as you would when applying it too images on the stage?
View 4 Replies
Sep 7, 2011
I'm thinking of developing an application with Adobe Flash CS4 but I'm having some serious quality issues when importing material from Adobe Photoshop CS4 and Adobe Fireworks CS4.When I import the material as a bitmap, the quality is better (then importing as movieclip) but not good enough.I was just wondering, how do the pro's do it? All the big companies, organizations ect ect.
View 1 Replies
Feb 19, 2010
The quality of my gradients needs to be as good as in Photoshop. But no matter what I do, they look choppy (with banding). Here an example: Flash (Timeline or AS3 the same) / Photoshop
[Code]....
View 11 Replies
Oct 23, 2006
In it are about 20 thumbnails that, when clicked, open up into large ~750x600 images. The images contain some text on them. In Flash itself, the images open up properly and look great. But when the site is placed on the web (and the html code below is used), the images are resized to smaller, poorer quality and the text (on the images) is practically unreadable. I have tried the images as jpegs and pngs - both look crappy on the web.
I use the following html code to make the site fit peoples' various browser window sizes. This is what is causing my problem, because when I don't use this html code the images look fine. But, I NEED to use this code in order for the site to fit various browser windows.
HTML Code:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="100%" HEIGHT="100%" id="index.swf">
[Code]....
So how can I make my site fit the browser window WITHOUT ruining my images in the process? How can I 1) keep the image sizes constant, or 2) let the images resize along with the rest of the site, but keep them in good quality?
View 1 Replies
Dec 4, 2010
I'm trying to create a small animated graphic but under gif. format looks terribleI am missing any trick or should I try other format (which)?
View 5 Replies
May 9, 2011
I'm building a flash website where I'll show my tv commercial works. In the flash project I placed a FLVPlayback component that will play different flv videos. Those videos look very good and crispy when played in quicktime player. But when I export the swf from flash and play it the videos look bad with a lot of compression artifacts and pixelation.To show you what I exactly mean you can go to my website (url...) and click the 8th video in the scroll panel. Compare it's quality with the link to which refers the (url...)
View 1 Replies
Feb 1, 2011
I'm getting reduced image quality when I modify my MovieClip's .rotationY property. I've read that flash converts the object into a bitmap which explains the reduction in quality. However my MovieClip will eventually return to it's default position .rotationY = 0; and i don't want it to have a loss in quality.
View 1 Replies
Mar 16, 2009
I make my textfield and wrap it in a movieclip and add it to the stage, and it looks great. As soon as I make it a linkage class (ClientText) and add it with
var clientText = new ClientText ();
clientText.x = 75;
clientText.y = 60;
addChild(clientText);
It gets really rough (see image attached) any idea how I can fix this?
View 2 Replies
Jul 22, 2010
I've had no such problem like this until today. Basically when i try and drag an object from photoshop to the stage in flash, everything looks great on the stage and usualy everything looks fine in the test / debug mode. But suddenly i've come up against a very anoying problem. Everything looks great on the stage, but as soon as I go to test the movie, the image quality of whatever it is I have imported goes terrible. Like its been compressed to less than 10kb!The image looks fine on the stage but the problem accurs when I try to test to movie.I have tried importing different size images, not transforming the images in flash, making sure all the settings (I know of) are on high.
View 2 Replies
Mar 7, 2011
Now, after my flash player update from 10.0 to 10.2.152, resized image quality is poor. Also quality depends on original image dimensions, even 1px difference in width or height for same user's original image for some reason can affect differently on quality of resized image.Actionscript Code:
result = new FileWork(Bitmap(loader.content));
Actionscript Code:
package fgm{ import flash.net.*; import flash.system.*; import
[code].....
View 1 Replies
Oct 13, 2008
Does anyone notice that, for a dynamic text field, the font quality changes with font size?It will consistently become suddenly bolder at certain font size!URL...It will only not happen if font is embedded...but due to file size this is often not possible!Is this a flash bug/limitation?
View 1 Replies
Apr 30, 2011
So I have a 5 minute animation that has narration to explain what is going on. First I ran into synching problems when I had the sound as an external file. Today I found a tutorial that had me import the mp3 file into the library, put it on its own layer and put the synch setting in properties to "stream". Now when I play the movie in flash the audio still sounds normal but when I test or publish the movie the sound quality goes so far down it's intolerable. She sounds like Yosemite Sam with all the Suffering Suckatash. This is pretty urgent, my graduation next week pretty much depends on this project.
View 2 Replies
May 17, 2011
The audio is fine in the flash file but it is bad in the quicktime or swf file I exported.
View 4 Replies
Sep 15, 2010
I am using TweenMax to animate the z coordinates of a movieclip containing vector type. So far I've only done a super-simple pan out/zoom in, but I feel like I must be doing something wrong because the type looks awful when it's zoomed out and in. I would think that a vector object should look great at any size, but its very pixilated.
[URL]
Code: Select allimport com.greensock.*;
step1();
function step1()
{
TweenMax.to(mc_z, 1, {z:5000, delay:1, onComplete:step2});
[Code]....
View 3 Replies
Aug 22, 2006
I modified a version of the xml photo gallery tutorial featured on this website, and am using that. But when my images pop up the quality is horrible. I've gone through and checked everything I know to look at. Then I decided to build my flash site twice as big, and use pictures that were twice as big to get some quality. This didn't work either..
View 4 Replies
Apr 8, 2011
Same file streamed from FMS4 (same on 3.5) with rtmp protocol has very poor quality compared to real file quality. Is there some low level configuration to do on Flash Server? Is the streaming server making some kind of transcoding before sending the stream? Or it can be Flash Player? Tried unchecking "hardware acceleration" but nothing changes. I am on a local gigabit network, so no network bottlenecks. Video seems very pixelated on the edges (not soft/antialiased). These are the file details:
[CODE]....
View 4 Replies
Mar 14, 2004
is there a way of making flash test if a jpeg is present when trying to load it externaly?
View 3 Replies
Feb 28, 2012
I'm trying to get a transparent image to fly in from the side. So, I *thought* I was doing the correct thing by moving the "symbol" off of the visible portion of the stage, and creating a motion tween to move it onto the stage. The motion works, but the quality of the image in general (and the text in specific) looks pixelated.Thus, I did a little bit of snooping, and everyone said that you should start with a bitmap. So I saved the image from Photoshop into .bmp format, and was able to set the properties to "allow smoothing" and with lossless compression. So far, so good. Now, as I expected, the transparency is no longer there...
So here's the question: how can I make this image retain its quality, still have transparency, and a motion tween?It seems like this is some set of characteristics that don't play well together, even though I see this type of thing online ALL the time.I tried "Trace Bitmap" to convert to a raster image, and tried to follow some suggestions online, but when I do "Trace Bitmap", it ends up looking like it has a bunch of grayish dots on the image... definitely NOT what I was expecting.
View 1 Replies
Aug 11, 2011
I am using Flex for displaying videos streamed using the Red5 server. Basically i have two perspectives - one who relays and one who receives the broadcast. On the Flex side, in the video display, the video quality is good but on the receiver side it appears pixelated. I can't find the cause. Does this have anything to do with Flex encoding of videos or any Red5 server settings?
View 1 Replies
Oct 8, 2009
I am creating a flash image gallery, much like flickr. I need the fullsize images to dynamically change size according to browser size /resize. The original images are of various sizes when i load them. I have set the _quality parameter to "BEST" on the clip I load the jpegs into. It actually works pretty smooth, but in between when there is some sharp lines in the image, it looks awfull - the line being cracky and disordered.
View 1 Replies
Aug 15, 2009
When exporting, you get the little popup window which asks which actionscript version to use and such. There is also a option to reduce JPEG quality, which I really need in order for my filesize to be reduced.However, when I try reducing and saving, the file has the exact same size as my old uncompressed version, and it even looks the same when played.
View 2 Replies
Mar 24, 2010
I am developing image uploader for Flash 10. Is there a way to read jpeg quality of the browsed images.
View 1 Replies
Oct 18, 2009
Ever since I got the hang of AS3 and discovered FlashDevelop, I pretty much abandoned fla.Back in the days, before switching to it, lack of alpha channel support by the .jpg format was a non issue, since Flash IDE allowed to embed png images in the library and apply lossy jpeg compression to them while retaining their transparency data.Programmatically, however, I'm only able at the moment to embed either flat jpegs, or lossless, consequently unacceptably large, transparent pings. (Indexed gif is not practical in the context/nature of the pictures to be embedded.*)
Is there a way to "JPEG-ize" pings at compile time using only code? Perhaps there are some parameters to follow [Embed(source = 'transparent.png')... that are not known to me? Obviously, I'm aware of such acrobatics as loading/embedding a external swf published from Flash IDE containing the bitmaps, or storing the alpha channels separately, ets but I wonder if this can be done elegantly to satisfy code purism.While GIF is great for storing pixel art, icons and whatnot, for smooth/soft images using way over 256 colors, its quality/compression ratio is rather unfavorable. Additionally, it only supports 2-bit transparency i.e. aliased edges.
View 2 Replies
Jan 11, 2011
I'm working on some optimisation techniques to allow Flash for export my .swf in various file sizes.I need to export the same .swf in a high quality and a lower quality version; so I normally just alter the JPEG quality manually.But I was wondering if there is a method using AS3 that allows me to adjust the JPEG quality dynamically? [code]
View 3 Replies
May 10, 2010
I am new to Flash CS5 and I have created a slide show. I am trying to reduce the .swf file size for faster loading. I have been trying to adjust the size using the jpeg quality slider, but it doesn't seem to function whether I set it to 0 or 100 or anywhere in between. Publishing always generates the same size swf file.
View 3 Replies
Mar 5, 2010
In Flash, I can go into the properties of an image in the library and check 'allow smoothing' to enable resampling when the image is scaled or rotated.
How can I achieve the same effect for images loaded dynamically by the SWF from an external URL?
View 2 Replies
Mar 9, 2010
I'm loading an swf say "test.swf" which gets loaded in imageLoader , so I can get its content by :
imageLoader.content
So if I wanted one of the movieClips inside it I would do this :
imageLoader.content.testMovie.transform.colorTransform = someTransformation;
But when I do this, since the movie is not loaded the file is not compiled and gives me an error your referring to something that is not there. How else am I supposed to reference a content that will be loaded later?
View 2 Replies