Hi Alex,

chat.swf is a Flex swf and there's no resizing code in the app.  Do I need to 
add some?  I 
assumed it would automatically respect the size of the SWFLoader.

Thanks,

Tom Bray
www.chatopica.com/topics/flex

--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Is chat.swf a Flex swf?  Does chat.swf have code that resizes to the
> stage?
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of dorkie dork from dorktown
> Sent: Tuesday, September 18, 2007 12:21 PM
> To: [email protected]
> Subject: [flexcoders]SWFLoader not sizing loaded swf
> 
>  
> 
> I am using a swf loader to load a chat swf. Unfortunately, I cannot get
> the content to stay inside of the swfloader. Here is an example
> application. Notice I have the width and height set to 500. In my test
> the content is sized to the width and height of the browser. You can
> test this code: 
> 
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml
> <http://www.adobe.com/2006/mxml> " layout="absolute"
>     creationComplete="{Security.allowDomain('static.chatopica.com
> <http://static.chatopica.com> ')}">
>     
>     <mx:SWFLoader scaleContent="true" x="50" y="50" width="500"
> height="500" source=" http://static.chatopica.com/chat.swf?room=flex
> <http://static.chatopica.com/chat.swf?room=flex> "/>
>     
> </mx:Application>
>

Reply via email to