Hi,
that IS weird, because if your image is 800x600, you are saying:
target_mc._xscale = target_mc._yscale = 800;
which is probably not what you want^^
greetz
JC
On 3/26/07, eric e. dolecki <[EMAIL PROTECTED]> wrote:
Ok that is SO weird. I was just thinking about this...
myListener.onLoadInit = function( target_mc:MovieClip ):Void
{
target_mc._xscale = target_mc._yscale = Math.max( target_mc._width,
target_mc._height );
};
- Eric
On 3/26/07, Adrian Lynch <[EMAIL PROTECTED]> wrote:
>
> Any examples out there?
>
> I've got as far as resizing a user supplied image and am about to work
on
> the ratio remaining fixed. Just thought I'd throw this out there as I
> think
> it may be tricky.
>
> Ta.
>
> Adrian
>
> _______________________________________________
> [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
>
--
eric e. dolecki
senior interactive engineer
http://www.ericd.net
_______________________________________________
[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
_______________________________________________
[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