work ;-).
--
Best regards,
GregoryN
http://GOusable.com
Flash components development.
Usability services.
> Date: Tue, 6 Dec 2005 12:09:34 -0600
> From: "Brumm, Mike" <[EMAIL PROTECTED]>
> Subject: [Flashcoders] external jpg resize
> tmp.loadMovie("images/background/bg_image1.jpg");
> tmp.onResize = function() {
> this._width = Stage.width;
> this._height = Stage.height;
> }
> Stage.addListener(tmp);
The onResize handler will be destroyed when the image is done loading.
There are several ways to ach
Hi,
You can resize the stage real time? I wasn't aware of that. If you
mean you want to resize the picture when it loads to whatever the
stage is, use MovieClipLoader.
Read up on it, and pay particular attention to onLoadInit -> that's
where you put your resize code.
Mon
On 12/7/05, Brumm, Mi
Hello,
I'm probably missing something very simple here. I would like to load an
external jpg into a movieclip. When the user resizes the stage, the width
and height of the jpg match that of the stage. The below script does not
seem to be working. I can't seem to figure out what's missing. Any i
4 matches
Mail list logo