The image will inherit the characteristics of the movieclip that it's loaded into.
I've used a component in the past to load images that does a good job of resizing, the RSImageBox out of Machu Picchu Bundle:
http://www.flashcomponents.net/component.cfm?nav=2&id=317
Kay Smoljak wrote:
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.
-- Andrew Muller Senior Macromedia Certified Instructor - ColdFusion, Flash Certified Advanced Macromedia ColdFusion Developer - CF5, CFMX Certified Macromedia Flash Developer - FL5, FMX
Daemon Internet Consultants [EMAIL PROTECTED] Macromedia Certified Training http://www.daemon.com.au/go/training T: 61 2 9380 4162 F: 61 2 9380 4204 17 Roslyn Gardens Elizabeth Bay NSW 2011 AUSTRALIA
Daemon: Serious Web Development
FarCry, the open source CMS for ColdFusion MX http://farcry.daemon.com.au/
--- 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/
