ActionScript 2.0 :: Resize Pictures Without Distorting
Apr 18, 2006If the browser page is resized, the guys pictures resizes itself, but does not distort. it maintains the quality of it. how is it done?
View 2 RepliesIf the browser page is resized, the guys pictures resizes itself, but does not distort. it maintains the quality of it. how is it done?
View 2 RepliesI have been looking around a bit everywhere, but everything I've tried just don't work.I am looking for a simple way to resize an externally loaded picture in AS2.Exemple:We have 4 movie clips (that we will use as containers), and 4 JPEGs, each with a different pixel resolution. What we need is to first, load these JPEGs into their movie clips (no problem for this part > using loadMovie), but then resize them (once loaded) so that they all have the size they are supposed to be (let say here they are all supposed to have a size of 150x100 pixels).Problem is, I have been trying many ways to resize them, but so far none of them work..._width and _height do not work either since they seem to work proportionally of the original loaded picture (ie. a 640x480 jpeg will not be resized same as a 1280x740, which I think is weird... but well).
View 1 RepliesWel I know how to load pictures dynamicly into a MC, but is it also possible to resize te picture?
View 3 RepliesWent through your Flash Photo Album tute and it worked great. But I noticed when I went to resize (make them smaller) the pictures didn't show up anymore.
View 10 RepliesOkay, I know this is a stupid question but, if you bring in a jpg or png image and either convert it to a graphic or a movie clip, or just leave it as an image, is there a way to distort the image other than scaling, rotating and skewing it. For example, I want to change the perspective of an image the way I do in photoshop.Let's say the image is a house, in photoshop, you can take the house and make it look like a trapezoid shape, you know, wider at the bottom than at the top Is there a way to do this using flash tools? Envelope distorting, if you break the image apart doesn't really work.
View 1 RepliesI've made a simple portfolio web site which loads a swf file containing the navigation at the top and then the navigation loads individual swf files containing full page images.The problem is the full page images are distorting very slightly when they are loaded in. I've attached two images, the first image (picture2.png) is how looks when I just open the image's swf file, and the second image (picture3.png) is how it looks after its loaded in by the navigation.
View 2 Repliesthis might have been handled somewhere else, I just didn't know how to word this error properly. Type is distorting randomly. This is happening with multiple fonts (and will show up in exports). I'm running Flash CS5 on Snow Leopard.
View 2 RepliesI need to achieve the image scaling done here (not copying the site, just need that image scaling technique)[url]...
i've got the listeners in place, and have no problem getting images to fit the browser windows. the problem is stopping the distortion, while also making sure at least 1 dimension fits the browser's dimensions (ie no borders appearing along one direction). i don't mind the browser 'cropping' the image.
i used the code for loading an image into a MC and it makes the image look really compressed by changing the colors. i checked the image from where the code is pulling it and its fine.[code]
View 1 RepliesI'm having two problems. First of all, the gallery loads all pictures at once. The more pictures in the XML file, the slower they all load. Secondly, I wanted the pictures to scroll in its _y coordinate, similar to Sugar Rhyme's website portfolio (see url]...).
View 1 RepliesI am loading a jpg into my Flash. When I zoom into the flash in the browser (for example, setting the zoom to 125%) the jpg in the flash starts to distort and pixelate. How do I get Flash to not pixelate the jpg?
View 1 Replieshow you would go about making a movieclip span 100% width of the stage?? for example in a full browser flash site?
View 2 Replies[URL] Take a look at that website. See whe you rollover one of the pictures, the other pictures fade out...Well how can I do that? I've tried some swapDepths techniques but it gets a bit confusing.
View 2 RepliesI was wondering if it's possible to have a dynamic text box that can change sizes, without distorting the text displayed in it... I would also like to set it up dynamically.
View 4 RepliesI am working on image and i like to scale or resize the image by dragging and resize option.same working as "free transform tool" in flash (design part); i need same functionality in application.
View 7 RepliesI'm having a bit of a problem here. As per the title, my flash swf file works fine when tested from the IDE, but when I publish it and open it through the browser, the stage doesn't seem to resize along with the window.I post below a bare-bones example. The "back" movie clip should resize, only it remains at the starting dimensions
Code:
import flash.events.Event;
import flash.display.MovieClip;
[code].....
I have Buttons which I have rotated vertically within a Canvas, that is working fine. The problem occurs, when the user resizes the window to a small size a vertical scroll bar appears, I would rather have each button squashed upto a smaller size.
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="40" maxWidth="40" xmlns:myComponents="myComponents.*"
horizontalScrollPolicy="off"
[code].....
I'm having a little issue with the resize event and resize effect of a VBox.
I have something like this:
<mx:VBox id="container"
backgroundColor="0xFFFFFF"
backgroundAlpha=".9"
paddingTop="15"
paddingLeft="15"
[Code]...
I have a main movie here that loads in an external swf through a container mc. everything is aligned and positioned to where it should be, and they are also set to that value onresize. the problem is, when my swf is loaded in, it works fine and is in the right position, same when you resize it. BUT, if you resize the window before the swf is loaded, it misaligns, until you resize!!
View 2 RepliesI have a datagrid that occupies 100% of browser screen. I want the grid to automatically resize when the browser is resized to small or full screen.
View 1 RepliesI've got a large bitmap (1920 x1306) that my client wants as a bg image, scaled to the swf size on load (930 x 575); but that can "grow" up to its original size if/when a user expands the browser window. All the rest of clips in the display list are to remain in place (except for a copyright clip, which they want to always be 14 pix above the bottom of the browser frame. I've tried loading the bitmap dynamically at full size and then using scaleX,scaleY to set it's initial smaller (930x575) size, and I've tried just setting the height/width of the dynamically loaded image using the math of scaleX,ScaleY just in case the scaleX "transformed" the bitmap so that it couldn't return to its original size. Both make the bitmap the right size. But the resize function below did nothing to it, (or the copyright.y.) THEN I tried just putting the bitmap into the display list (both sizing methods work here, too). But even as an original member of the compiled display list, the resize event is still not reaching the target. Everything I've seen on the web says this should work - but...no luck.
Here's the AS3 code in the 1st frame of my swf:
import flash.display.Stage;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
[Code]......
i am creating flex 3 component when i re size the window i need to re size the labels and text.how to do this?
View 1 RepliesI currently am working off of a flash template. In the header of the flash template are a few pictures that show up like a slidshow. I was wondering how I add more pictures for the slideshow.
View 13 RepliesI am trying to get each of the following pictures in my flash file to link to different webpages. I have tried a bunch of different things, and can't quite get it to work right. I have put different urls on the images, but when I click on them they all go to that first url.
View 1 RepliesHow come that my animations allways flicker/chop. I want a pictures to move from left to right, kind of a slideshow ye. But it flickers all the time, and it is anoying. They all move 1px each frame, and the width of the scene is around 900px. It really flackers no matter what fps I pick
View 2 RepliesI'm trying to make my own photography website using flash. I have a basic outline/template or what I want it to look like and all of the action script to connect the pictures but I'm missing the main things. The pictures. I have html embedding codes for all of the images and would like to use those somehow instead of just having to manually copy and resize my pictures into the actual flash document (because that takes up a lot of space and makes loading longer, I think).
View 2 Replieshow can I use pictures in flash without losting any picture quilty...I mean i don't want to compress them but when i do my site doest work right so I want to put them on there without compressing them.
View 1 RepliesI have picture that I want to fade and keep looping on my website? How do I do that?
View 2 RepliesI have several pictures of my son's colleagues and i'd like to create a movie which displays all the pictures. The idea i had was to start with one and transform into another and so on... It was fun if the actual picture distorts and becames the next pic.
View 2 RepliesI am in CS5 on an iMac. I am a beginner at Flash and trying to learn how to do specific tasks asked of me by my supervisor just by using the Adobe forums. This is what they want me to do: Show am image of a postcard that we sell, then have it morph into a poster (much larger) with a customizable area highlighted. I have learned how to put the postcard image on the stage and motion tween it to a larger version of itself, but I need that larger version to actually be a different image. Is there a way I can do this in CS5?
View 7 Replies