Link to home
Start Free TrialLog in
Avatar of baboa
baboa

asked on

How do you smooth an image loaded via SWFLoader?

I am loading a .jpg via a SWFLoader in flex. I'm trying to figure out how to smooth this image, because i need to rotate it.

I think making it a bitmap would work, but there are certain features of a SWFLoader that I'd like to keep (like maxWidth, maxHeight, etc.). However, if I make it a bitmap, i can't "addChild" for some reason ( i want to add these images on the fly, in actionscript). Can i attach the bitmap to the swfloader? let me know - thanks.

Avatar of baboa
baboa

ASKER

Basically, i'm coming up with this error: TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Loader@64fd061 to mx.core.IUIComponent.

whenever i try to add the bitmap image (which i know can smooth) to the application.

any ideas, anyone?
ASKER CERTIFIED SOLUTION
Avatar of Gary Benade
Gary Benade
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Do you need more help with this?
Do you need more help with this?
please close this question if you don't need any more help, or let me know if you need anything else