user220755
user220755

Reputation: 4446

How to resize a browser in flex

I would like to open a new windows when a user clicks on a button so I would like to resize the browser (for example let's say I get the screen size (width) is 1000, I want to resize it to 700px and then launch a window next to the browser that is 300px in width and 100% in height. How do I resize the browser window using flex (and how do I get the current size of the browser).

Thank you.

Upvotes: 1

Views: 254

Answers (1)

Samuel Neff
Samuel Neff

Reputation: 74949

Use ExternalInterface to run JavaScript commands.

Upvotes: 2

Related Questions