Hi everyone,

First post... I was wondering if there's a shortcut to passing in an argument to a function or a built-in class. For instance, for BitmapData.draw(), I just want to pass in a "true" value for "smooth", but I don't want to apply a Matrix or any of the other options. Must I populate the other arguments just to get to the one I am interested in?

Example:

public draw(source:Object, [matrix:Matrix], [colorTransform:ColorTransform], [blendMode:Object], [clipRect:Rectangle], [smooth:Boolean]) : Void

myBitmap.draw(mc, {smooth: true}) ?

Thanks for any info,

Aaron
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to