Add the following to the compiler options:

-default-size 1024 768



----- Original Message ----- 
From: "Bart Wttewaall" <[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>
Sent: Monday, December 17, 2007 2:13 AM
Subject: [flexcoders] Flashplayer - ignoring minWidth & minHeight


> Hi list,
> 
> I built an application in Flex that uses the entire window when played from
> within a browser. But when I run the swf standalone, the flashplayer window
> takes on its default width and height, ignoring the minWidth and minHeight I
> set in the application's main class.
> 
> The flashplayer works fine when I define a width and height for the
> application, but then the application won't fill the browser without me
> diving into the html-code and change the width and height of the embedded
> object back to 100%.
> 
> Can anyone tell me how I can tell the flashplayer to resize to the minWidth
> and minHeight of the application, without setting width and height? Perhaps
> using something like a metatag, like [SWF(width="1024", height="768",
> backgroundColor="#808080")] ?
> 
> Thanks in advance,
> Bart Wttewaall
>


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to