Ask a Question related to Macromedia Flash, Design and Development.
-
Piotr #1
Resizing image. [ActionScript]
Hi,
I'm loading image into movie using this code:
....
picHolder._x = 50
picHolder._y = 110
picHolder.loadMovie(picName);
....
I want to have ability to change image size during loading.
For example i want to load movie in position 50,110 and i want this image to
be resized by 20% (smaller)
Is this possible??
if yes, could someone post a piece of code.
Thanks
Piotr Guest
-
image resizing
Hi, Is there a toggle switch in InDesign which enables one to resize an image using the pick tool without cropping it? -Paul -
Resizing a image!
Hello, I just started with PHP. And I have made a code for uploading images. Now I wil resize the image also to a tumbnail, but when I search... -
Resizing an image...
I have a jpg that when clicked upon opens to about 4 x 6 on screen. How can I resize this photo so that the maximum it will only open to is a 3" x 4"... -
Resizing high res image smaller results in blurred image
Hi there, I have a high res logo in PSD format (around 1500px x 1500px) but when I resize it to around 300px x 300px the resulting image is not... -
Resizing image with fills
When you do a resize (Modify>Image Size) Is the "scale attributes" box checked? -- BR "foosball is th' DEVIL, Bobby Bouchet" -
Adam Albright #2
Re: Resizing image. [ActionScript]
On Fri, 11 Jun 2004 00:15:01 +0200, "Piotr" <buhajbej [CUT] @zuk.pl>
wrote:
Why not just change the source image size BEFORE you bring it into>Hi,
>I'm loading image into movie using this code:
>...
>picHolder._x = 50
>picHolder._y = 110
>
>picHolder.loadMovie(picName);
>...
>
>I want to have ability to change image size during loading.
>For example i want to load movie in position 50,110 and i want this image to
>be resized by 20% (smaller)
>Is this possible??
>if yes, could someone post a piece of code.
>
>Thanks
Flash? It would also benefit from being a smaller file size.
If you want to do it the hard way:
Convert to a symbol. In its propety box give it instance name like
myPicture_mc then then the code is:
myPicture_mc._xscale = 80;
myPicture_mc._yscale = 80;
This would make the image 80% of it original size or 20% smaller.
Adam Albright Guest
-
Brandon Bradley #3
Re: Resizing image. [ActionScript]
Adam Albright wrote:
[snip]> On Fri, 11 Jun 2004 00:15:01 +0200, "Piotr" <buhajbej [CUT] @zuk.pl>
> wrote:
>
>>>Hi,
>>I'm loading image into movie using this code:
I have seen reasons for going wither way with this, but yes resizing it> Why not just change the source image size BEFORE you bring it into
> Flash? It would also benefit from being a smaller file size.
before pulling it in would be best as it will also minimize download
amount and keep the picture looking better as most graphics programs
scall pictures much better than flash will.
Another thing to keep in mind when loading graphics like this is that
they have to be jpegs, and CAN NOT be interlaced. If they are they will
be imported just fine (ie no error) but will not display as Flash does
not have the ability to de-interlace them at this time.
> If you want to do it the hard way:
>
> Convert to a symbol. In its propety box give it instance name like
> myPicture_mc then then the code is:
>
> myPicture_mc._xscale = 80;
> myPicture_mc._yscale = 80;
>
> This would make the image 80% of it original size or 20% smaller.
>
>
>
--
Brandon Bradley
Macromedia Certified Instructor
[url]http://www.attconline.org/[/url]
Brandon Bradley Guest



Reply With Quote

