[Extendflash] Close active document document?

Alias aliasrob at gmail.com
Mon Oct 31 14:41:31 PST 2005


Aha, you can specify the document by reference comparison as well? Cool :) I
was trying to get the index number...

Thanks guys!

Alias

On 10/31/05, Muzak <p.ginneberge at telenet.be> wrote:
>
> var currentDoc = fl.getDocumentDOM();
> if(currentDoc != null) {
> fl.closeDocument(currentDoc);
> // close without asking to save changes
> // fl.closeDocument(currentDoc, false);
> }
>
> regards,
> Muzak
>
> ----- Original Message -----
> From: "Alias" <aliasrob at gmail.com>
> To: <extendflash at flashguru.co.uk>
> Sent: Monday, October 31, 2005 2:39 PM
> Subject: Re: [Extendflash] Close active document document?
>
>
> Hi Muzak,
>
> Actually, I already have - the problem is that you need to specify *which*
> document to close, hence the "active" in the subject line.
>
> I need a generic script that will run and close the document it's running
> on, or a way of determining the index of the current document - sorry, I
> didn't make that clearer.
>
> Cheers,
> Alias
>
>
> _______________________________________________
> Extendflash mailing list
> Extendflash at flashguru.co.uk
> http://lists.flashguru.co.uk/mailman/listinfo/extendflash
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.flashguru.co.uk/pipermail/extendflash/attachments/20051031/518adcb0/attachment.htm


More information about the Extendflash mailing list