You can do this via FLEX asking javascript to open a new window itself.

in that you could:

1) Encapsulate your mxml file inside a iframe/setup where parent
document is html that has HTML/JS inside it. Then inside that an
iframe, which loads your respective mxml

2) Embed the same way you would a normal SWF but of course using your
index.mxml.swf concept, aswell as HTML/JS above.

Now to open a new browser window via flex, its a matter of:

<mx:Script>

function OpenBrowserWindow(url) {
var sURL = 'javascript:openWindow('+url+','+arg1StringEtc+')';

getURL(sURL,"_top");
}

</mx:Script> 

Then inside your HTML page you would have a function like this:

<script>

function OpenBrowserWindow(url,arg1,arg2,arg3) {
window.open(url,winName,{width:200, height:200, fullscreen=true}) 
}
</script>

etc.. basically u can execute javascript via the same way you can with
HREF in HTML using the getURL method in FLASH.

You could also use FSCOMMAND but yeah..getURL is the easiest.

On 5/10/05, Ghislain Simard <[EMAIL PROTECTED]> wrote:
> How to open, from Flex,  a window without the browser scrollbars,
> menus and buttons?
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
Yahoo! Groups Links

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

<*> 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