Make sure you're not setting the _xscale or the _yscale of eventImg at
any stage, as that property will remain unchanged when you load another
image into the MC.
Try this:
function loadImg(filename){
eventImg.unloadMovie();
eventImg._xscale = 100;
eventImg._yscale= 100;
eventImg.loadMovie("http://localhost/events/" + filename);
}
Cheers
Jesse Stratford
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kay Smoljak
Sent: Wednesday, October 01, 2003 9:14 AM
To: Flash Developers List
Subject: [fugli] movieclip.loadMovie loaded image size
Since Robin gave us a 24 hour extension for the RIA comp, thoght I'd fix
up a few nagging issues.
I have a movieclip which loads an external image with the following
code:
function loadImg(filename){
eventImg.unloadMovie();
eventImg.loadMovie("http://localhost/events/" + filename);
}
The images have all been resized to 100x100. But, when they are
imported,
they are all squished up (looks like about 100x50). The movie clip that
is
loading them is set to 100x100, and I can't work out how to tell it what
to do with the loaded image.
I have more questions but I'll leave them til later!
TIA,
Kay.
---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/