Tracy Spratt wrote:
Anybody know how to get a reference to the window created this way?

I want to open a window once, then use the same window again with a new
url.

So the best thing about this is that you just specify the same name each time you want to load a different page. The web browser just remembers the names and reuses the windows associated with those names. You don't need the reference to the window.


... I just checked. This works with Firefox but not with IE.

<mx:Button label="Open Google"
click="getURL('http://www.google.com/', 'mywindow')" />
<mx:Button label="Open Yahoo"
click="getURL('http://www.yahoo.com/', 'mywindow')" />

Manish




Reply via email to