--- In [email protected], Gustavo Duenas LRS <gdue...@...> wrote: > > actually I'm trying to pass the JS var with the availWidth to flex > in order to be used on > > > var h:number = ExternalInterface.call("getAvailWidth"); > var w:humber = ExternalInterface.call("getAvailHeight"); > > root.stage.width = w > root.stage.height=h > > assuming I have in the html wrapper > > function getAvailWidth{ > and so on} > This is exactly what I'm trying to accomplish.
You need to be resizing the object/embed tag, not telling Flex to resize the Application object, so Flex doesn't need to be involved in the process, unless you want to be able to click a button to initiate the resize. But all that needs to do is just call a js function, which should be able to handle it without any info from Flex.

