Hi...

I am getting a name of the directory and the name of the file from the Flash 
movie within the Director projector to open a MIAW by using this line of 
code...

on openThis temp
  theDelimiter = getDelimiter(integer(string(temp).char[1..1]))
  theDirName = getDirName(integer(string(temp).char[2..2]))
  theFileName = getFileName(integer(string(temp).char[3..4]))

  thePath = the moviepath & theDirName & theDelimiter & theFileName
  put thePath
  if string(temp).char[3..3] = "1" then
    dotIs = offset(".", theFileName)
    window(theFileName.char[1..dotIs - 1]).fileName = thePath
    window(theFileName.char[1..dotIs - 1]).open()
    window(theFileName.char[1..dotIs - 1]).windowType = 8
  else
    fxObj = xtra("FileXtra3").new()
    fxObj.fx_FileOpenDocument(thePath)
    fxObj = 0
  end if
end

That is working just fine... I am getting different new windows on different 
clicks from Flash movie file...

The problem is... when I close that MIAW window by clicking on the [X] 
button the name of that window still exists in the windowList, which means 
that the window is still in the memory...
So... I was thinking if there is any way I could trap that close action, I 
could put this code to close and remove from the memory...

window(theFileName.char[1..dotIs - 1]).clse()
window(theFileName.char[1..dotIs - 1]).forget()

That's what I can think of to solve the problem...
I'd appreciate if there is any other way to close and forget that window...

Thanks a lot...
Jason



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to