Ah, didn't know that about _xscale and _yscale - thanks, Fumio, that's
useful to know...
Cheers,
Ian
On 11/9/05, Fumio Nonaka <[EMAIL PROTECTED]> wrote:
>
> Most of MovieClip's properties are initialized when an external file is
> loaded into it. But some properties including _x, _y, _xscale, and
Most of MovieClip's properties are initialized when an external file is
loaded into it. But some properties including _x, _y, _xscale, and
_yscale will hold their value. Of course if you would like to calculate
its scales based on the external file's actual size, you should do it
after it is
Forgive me I am going to break the sacred double posting rule : ) but I
did not get a eply on the newbie list and this thread has already been
started here
Here's what I am trying - and I get the width at 65 each time it is
traced, and yet I still see the full image (ie 250x400)
ccnt=0;
rowy
*sigh*
var mcl:MovieClipLoader();
should be
var mcl:MovieClipLoader=new MovieClipLoader();
Ian
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
You need to do the resizing after the image has fully loaded. The trouble is
if you just set the _xscale and _yscale (for example) and then call
.loadMovie(), the 'new movie' (the image) replaces all the attributes of the
old movie and you lose your _xscale and _yscale values.
If you're using Movi
are you waiting until the image is loaded before manipulating the movieclip?
the MovieClipLoader class may be useful if you arent using it (or a
suitable alternative)
martin
Lehr, Theodore M. wrote:
I don't mind resizing the one it is loading into but I can not get it to
work... I tried but
iling list
Subject: RE: [Flashcoders] Resizing Imported Images
Load it into a nested MC and resize that instead? Why don't you want to
resize the MC it's being loaded into?
Ade
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lehr,
Theodore M.
Se
st
Subject: [Flashcoders] Resizing Imported Images
Is there anyway to resize an image imported via loadMovie - not resizing
the mc it is loaded into - but the image itself?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.c
no, once its loaded in the mc is the image.
you can always use another mc as a container if you require it.
martin
Lehr, Theodore M. wrote:
Is there anyway to resize an image imported via loadMovie - not resizing
the mc it is loaded into - but the image itself?
___
Is there anyway to resize an image imported via loadMovie - not resizing
the mc it is loaded into - but the image itself?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
10 matches
Mail list logo