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.

The docs discuss the window parameter to getURL:
window: An optional parameter specifying the window or HTML frame into
which the document should load. You can enter the name of a specific
window or select from the following reserved target names:

Exactly what is meant by "the name of a specific window"? And how do I
"name" a window opened by getURL, so I can specify the name in
subsequent getURL calls?

Tracy


-----Original Message-----
From: Dirk Eismann [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 25, 2005 11:20 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] attributes of getURL


Either use 

<mx:Link 
label="Foo Bar"
click="getURL('javascript:window.open(...)');"
/>

or to invoke the js function in the page the mxml sits in

<mx:Link 
label="Foo Bar"
click="getURL('javascript:yourJsFunction(...)');"
/>

Dirk.

> -----Original Message-----
> From: Jeff Steiner [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 25, 2005 5:12 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] attributes of getURL
> 
> 
> 
> Matt,
> 
> I am not sure how I go about this. I have the javascript in 
> a web page that
> I am using now to open the window and make it appropriate to the size
> required. Should I open a window and pass it the height 
> width attributes
> and resize from there?
> 
> I appreciate the help
> 
> Jeff
> http://www.flexauthority.com
> 
> ----- Original Message ----- 
> From: "Matt Chotin" <[EMAIL PROTECTED]>
> To: <flexcoders@yahoogroups.com>
> Sent: Thursday, February 24, 2005 10:34 PM
> Subject: RE: [flexcoders] attributes of getURL
> 
> 
> > I think you'll probably need to call out to JavaScript and 
> use window.open
> > which can take the options for size, etc.
> >
> >
> >
> > Matt
> >
> >
> >
> > _____
> >
> > From: Jeff Steiner [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, February 24, 2005 9:17 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] attributes of getURL
> >
> >
> >
> > I am looking to control the size of windows that are opened 
> using the
> getURL
> > command from an mx:Link tag.
> >
> > Can someone point me in the right direction here?
> >
> > Thanks,
> > Jeff
> > http://www.flexauthority.com <http://www.flexauthority.com>
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Sponsor
> >
> >
> >
> > ADVERTISEMENT
> >
> >
> <http://us.ard.yahoo.com/SIG=129h7nmh6/M=298184.6018725.703861
9.3001176/D=gr
>
oups/S=1705007207:HM/EXP=1109395038/A=2593423/R=0/SIG=11el9gslf/*http:/w
ww.n
> etflix.com/Default?mqso=60190075> click here
>
>
>
>
<http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=group
s/S=
> :HM/A=2593423/rand=456069606>
>
>
>
> _____
>
> Yahoo! Groups Links
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
> <http://groups.yahoo.com/group/flexcoders/>
>
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
> * Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/> Terms of Service.
>
>



 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 







Reply via email to