This may not work with every browser so don't blame me :)
getURL("javascript:window.close()");
Dirk.
> -----Original Message-----
> From: Miguel D�az Valenzuela [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 14, 2005 5:07 PM
> To: [email protected]
> Subject: [flexcoders] Re: how can I close a mxml with one function?
>
>
>
>
> hi man
>
> i don�t need to go to a previous page or something else, I need to
> close definitively the page
>
> --- In [email protected], "Dane, Sid" <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > It depends on what you mean by "close". For example, you could do
> something like:
> > getURL("javascript:history.go(-1)");
> > To go to the previous page, which could be the page you
> want to go to.
> >
> > But remember that Flex also keeps history in the HTML wrapper, so
> that won't work all the time.
> >
> > Ofcourse you can use the getURL() to go to a specific (HTML) page or
> run a javascript function.
> >
> > S!d
> >
> > -----Original Message-----
> > From: Miguel D�az Valenzuela [mailto:[EMAIL PROTECTED]
> > Sent: Monday, February 14, 2005 4:35 PM
> > To: [email protected]
> > Subject: [flexcoders] how can I close a mxml with one function?
> >
> >
> >
> > hi dudes
> >
> > I need a function that allows me to close automatically a mxml file
> is opened, after pressing OK in an alert
> >
> > thanks in advance for all help
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> > This message contains information that may be privileged or
> confidential and is the property of the Capgemini Group. It is
> intended only for the person to whom it is addressed. If you are not
> the intended recipient, you are not authorized to read, print,
> retain, copy, disseminate, distribute, or use this message or any
> part thereof. If you receive this message in error, please notify the
> sender immediately and delete all copies of this message.
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>