ActionScript 3.0 :: Dynamic Loaded Image Low Quality When Rotated?
Jun 11, 2010
I'm loading external images in a flash animation, on slides, and these ones get a random rotation.My problem, the rotated images are looking bad and pixelised almost like if you were using bitmap text for dynamic text areas.
I have some nasty issue. I need to display dynamically loaded HTML document with images but my designer wants the document to be presented in angular (slopy) manner rather than simply vertically placed on stage. HTML document is loaded inside a .htmlText property of a textField.
While the texts itself renders perfectly with embedded fonts and "AntiAlias for readability" I have a huge problem with images inside HTML. For whatever reason they look nasty aliased - complete disaster:
Is there any way to get better quality in this case?
I have made an application where you can design your own greeting cards. I use matrices to scale and rotate images, and I always need to know what scale the image has.
It works when the image isn't rotated, by taking the value from matrix.a or .d which are the scaleX and scaleY values. But when I rotate the image, using the matrix.rotate() function, the a and d values no longer corresponds to the scale of the image.
How can I get/calculate the scale value of an object that is rotated? And I don't want to scale the image by using the scaleX and scaleY methods.
I need to rotate the imageClip,then zoom in,then i need to scroll the imageClip fully.ve the tutorial for thisboth horizontal and vertical scroll for Rotated imageClip..
What does work : I want to put a dynamic textfield on my stage.Then i change the content of this field with AS3.But : when I rate the textfield on my stage, the text disappears.And I have embedded my font (also 'Export for actionscript')...I prefer not to put any textfields on the stage using ASSo the only code I use is : ActionScript Code:this.trial.text = "this is a test";
I have a couple of images, representing tents, that look like this: The red and blue parts on each side of the tents are doorways, and several tents can be connected together via these doorways. For example, I want to connect the two blue doorways so that they match up like in this picture: If the first tent is stationary, around which point do I rotate the second tent and how do I calculate where to place it?
Currently, I have the upper left corner of each doorway as an x and a y value, together with the width and direction (in degrees) of the door. I'm treating the doorways as one dimensional, so they don't have heights. Would another representation suit this better? Perhaps a start point and an end point plus direction?
I am dynamically loading an image which I am dynamically trying to mask. _root.createEmptyMovieClip("clip1_mc", 1); _root.clip1_mc.createEmptyMovieClip("photo_mc", 1); _root.clip1_mc._x = x; _root.clip1_mc._y = y; _root.clip1_mc.photo_mc.loadMovie("pics/pic1.jpg"); [URL]
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);
My images look great at 100%, even 150%, when working with them in .fla. When I export to .swf, however, it goes to hell. Are there preferences I'm missing somewhere to rectify this?Attached are the two images, working .fla and the exported .swf.[code]
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.
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.
I have images being dynamically loaded into a html textfield and they look very pixelated. I am able to getImageReference via an id attribute in the <img> tag, but I can't apply smoothing to this DisplayObject because I can't access it's content which is the bitmap. I know the image is loading and I know the reference is working because I can call the id name, I can scale, rotate change the alpha and apply filters. I have tried setting the stage quality to best, but that doesn't make a difference. If I do an addChild(loadedObject) as a test, the image is loaded (not in the text field) and looks beautiful no pixelation at all.
Here is the error I am getting: 1119: Access of possibly undefined property content through a reference with static type flash.display: DisplayObject.
Here is the code: ActionScript Code: var loadedObject:DisplayObject = testText_4.getImageReference('image_mc'); var myBitmapData:BitmapData = Bitmap(loadedObject.content).bitmapData.clone();
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
I am new to flash & working on my first swf file for a website.Problem is I loose image quality after publishing & uploading to the website.Ive located the publish setting for jpegs & changed this to 100% but problem still exists.When I do publish preview with the flash program it looks fine.
I am very new to Flash and I am creating a basic webcam display right now and the image quality of the webcam is very low how can I fix this? My code is:var camera:Camera = Camera.getCamera();var video:Video = new Video(); webCam.attachCamera(camera);
I've been working on an animation with the image fading in and zoomin in. However, I noticed that the image has different colour in a flash animation from the same image used on the same website as an image in a jquery gallery.
am using Flash CS5 and Photoshop CS3. The issue I am facing is while exporting from photoshop (optimized for web and devices) as png-24 , most of the images lose their quality inside flash. I have tried to make the publish settings for image quality 100. On lossless compression of the images, the image gets blurry. The total quality of display is highly degraded in flash in comparison to that of photoshop
I have a constant doubt. I never know why the resize image always look ugly. Today I found an example that don't look ugly and only gets better when resize. How they do that?
I load pngs to my flash project. The media size in the project is 1000x635. When I scale my project bigger than the that size I loose quality. the project is used on many different screens therefore scaling is needed.
Is there a way to keep image quality when scaling?
I have a image of burlap @ 500 width x 430 height. I need to tile this as my entire background for my full screen flash site. flip the image horizontally for every other placement horizontally, and then i need it to flip vertically for every other Vertical placement. So the image only looks seamless if i do this. I have a illustration below to help show what i mean.
I have a logo which I have created in photoshop, it is made up of 4 layers, some of which I want to animate. I create my movie, I do so by opening my PSD file and then animating the layers. However I have a problem in that when I view my movie the image quality is poor, and there is what I would describe as noise around some of the image.
I notice when I run animations in the flash player, the image quality because very pixelated and blocky when I enlarge the animation.
I need my website to scale to different screen resolutions, so this can be a problem. Is there any way to make images smoother when the flash file is enlarged beyond it's native resolution? I really need to know since my website has to scale to a LOT of resolutions.
I want to use a camera which is installed in my computer in a Flex AIR application I'm writing, and I have few questions regarding the quality options : Do I have any limitation on the video image quality? If my camera supports HD recording, will I be able to record in HD format via the AIR application? How can I export the recorded video in any format I want? If I want to use the same camera for shooting stills, how can I ensure (within the code) the best quality for the result pictures?