[flexcoders] Resizing SWFs in mx:Loader

2005-05-27 Thread Tim Blair
Hello, I'm having trouble when loading SWFs in to a Flex app using mx:Loader. Basically, the SWF isn't being resized to the Loader, no matter what I do. Simple test case: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Panel width=415

RE: [flexcoders] Resizing SWFs in mx:Loader

2005-05-27 Thread Tracy Spratt
] On Behalf Of Tim Blair Sent: Friday, May 27, 2005 1:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Resizing SWFs in mx:Loader Hello, I'm having trouble when loading SWFs in to a Flex app using mx:Loader. Basically, the SWF isn't being resized to the Loader, no matter what I do. Simple

Re: [flexcoders] Resizing SWFs in mx:Loader

2005-05-27 Thread dave buhler
Hi Tim, You're using an image component, and not a loader component. Once you change to a loader component, you can do the following: I get the size of the SWF being loaded into the loader component and then resize the loader component to the size of the contents. By doing so, I can control