Date: Tue, 23 Jan 1996 11:35:11 -0500 From: Colin Holgate <holgate@VOYAGERCO.COM> Subject: Re: MIAW:: HELPI've done a few MIAWs, but I've never seen the way you do it before. Rather than try to figure out why your way doesn't work right now, I thought I'd show the way that works for me:
global myWindow if not objectP(myWindow) then set myWindow to window "MOVIENAM" end if open myWindow"MOVIENAM" is the Director filename without the .dir or .dxr (that way Director figures it out). The movie is found ok because in my startmovie script I've:
set the searchpaths to
[driveletter&":\",driveletter&":\MYMOVIES\"]where I've worked out the driveletter for the CD (or hard drive volume, it doesn't matter) using one of the getnthfileinfolder methods many other methods people are using. Inside the [] I put the various paths I want Director to search.
In my actual routine I do other things, like set the windowtype and the rect, etc, before I do the open myWindow.