sweet thanks guys for all the help :)
cheers :)
firdosh
On 3/4/07, slangeberg <[EMAIL PROTECTED]> wrote:
You'll want to activate smoothing, if you'll be scaling / modifying:
function loadBluePrint(event:Event):void
{
trace( "\n **img.compl ()" );
//perform img smoothing
var bitmap: Bitmap = ((event.target as Image).content
as Bitmap);
if (bitmap != null) {
bitmap.smoothing = true;
}
}
On 3/2/07, Firdosh Tangri <[EMAIL PROTECTED]> wrote:
>
> when I load an image using mxml
>
> <mx:Image source="assets/bp1_tb.jpg" scaleContent="true"
> click="loadBluePrint(event);" />
>
>
> and then on the click event I want to manipulate the bitmap image how do
> I convert the
>
> img.content ( which is either a Loader object or a DisplayObject to a
> Bitmap or a BitmapData object ??
>
>
> thanks
> cheers :)
> firdosh
>
>
--
: : ) Scott