I get an error on: var b:Bitmap;
It allows for BitmapData?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt S.
Sent: Tuesday, July 22, 2008 12:59 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Resizing Images
smoothing. Cast the image
On Thu, Jul 24, 2008 at 12:50 PM, Lehr, Theodore M (N-SGIS)
[EMAIL PROTECTED] wrote:
I get an error on: var b:Bitmap;
It allows for BitmapData?
What error did you get?
.m
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
The class or interface 'Bitmap' could not be loaded
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt S.
Sent: Thursday, July 24, 2008 1:09 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Resizing Images
On Thu, Jul 24, 2008 at 12:50 PM, Lehr
.
Sent: Thursday, July 24, 2008 1:09 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Resizing Images
On Thu, Jul 24, 2008 at 12:50 PM, Lehr, Theodore M (N-SGIS)
[EMAIL PROTECTED] wrote:
I get an error on: var b:Bitmap;
It allows for BitmapData?
What error did you get?
.m
What if I max out at 2.0 - how would I smooth the images?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helmut
Granda
Sent: Thursday, July 24, 2008 2:28 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Resizing Images
you need the bitmap class
Hi Theodore,
(I'm assuming this is AS2...)
Are these images in the library?
If so, go to Properties and make sure Smoothing is ticked.
If you're loading external images, there is a bug in AS2 which
stops smoothing from working properly.
There's a workaround for it detailed here:
smoothing. Cast the image as a Bitmap and apply smoothing, and you'll
be able to resize without image degradation.
function loadTheImage(iMG):void {
url = uploads/+iMG+.jpg;
var request:URLRequest = new URLRequest(url);
var loader:Loader = new Loader();
Do you even need to cast as Bitmap? can't you just do
container.forceSmoothing = true; ? Oops - that might be AS2.
On Tue, Jul 22, 2008 at 12:59 PM, Matt S. [EMAIL PROTECTED] wrote:
smoothing. Cast the image as a Bitmap and apply smoothing, and you'll
be able to resize without image
8 matches
Mail list logo