mc._width = maxW;
mc._height = maxH;
(mc._xscale > mc._yscale) ? mc._xscale = mc._yscale : mc._yscale =
mc._xscale;
> You could probably optimize a little bit by removing the Math
> function...
>
> mc._width = maxW;
> mc._height = maxH;
> if ( mc._xscale > mc._yscale ) {
> mc._xscale = mc._yscale;
> }
> else {
> mc._yscale = mc._xscale;
> }
>
> I don't think I can be done more effiently than that. Anyone?
_______________________________________________
[email protected]
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