> Geoffrey DiMasi wrote:
hey geoff-
please note the subject line: it'll help us if you include one.
>
> I am trying to open a file called "main" that is in a
> subdirectory called "violin".
>
> I can open the file if it is in the same directory
> with the following code:
>
> on mouseup
> the windowlist = [ ]
> open window "main"
> end
>
> Does anyone have any idea how to modify this code to
> make it happen?
surely.
first of all the path to the file is platform dependant. so get the
delimiter by using:
pathDelimiter = the last char of the pathname
then your path to the file is
the pathName & "violin" & pathDelimiter & "main"
this assumes that the subdirectory "violin" is in the same location as
the movie itself, and the the movie "main" is in that subdirectory.
>
> Also, when you close the window that is open, the
> movie keeps playing in the background. Is there a way
> to get it to stop when you close the window?
yes, call forget on the window, or set the windowList back to []
that being said, this is a funny way to open submovies, but i guess if
it works, it works. if anyone else has technical or philosophical
objections, i'm sure it'll be mentioned...
--bhakti
>
> thanks,
> geoff dimasi
>
> __________________________________________________
> Do You Yahoo!?
> Spot the hottest trends in music, movies, and more.
> http://buzz.yahoo.com/
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/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!]
--
R. Bhakti Klein
Educational Software R & D
http://www.DLWorkshop.net
��
Baritone
���
"On Earth, you can only do little things;
but you can do them with a lot of Love."
-- Mother Theresa
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]