At 10:52 AM -0400 9/28/00, Kurt Griffin wrote:
>Hi all,
>
>Dir 8, Win 95
>
>I had a problem that I've solved, but I'm curious as to what the problem
>was. I've written a Prototype for a CD-ROM that runs from a hard drive
>installed projector. The installed file finds the CD an launches the first
>movie on the CD, after that, all of the navigation is between movies
>residing on the CD.
>
>The first version of the installed projector birthed the major objects for
>the program (a navigation manager, a text formatting object, etc.). This all
>worked fine in authoring mode, when the installed file was launching movies
>on the hard drive. Once the movies were moved to the CD, the handlers in the
>major objects started returning strange values, or simply could not be found
>in the object. On a hunch, I put the installed file on the CD... this works.
>
>The solution was to birth the objects in the first movie on the CD, rather
>than birth the objects in the movie that resides on the hard drive.
<Snip>
Kurt,
I would be really surprised if this has anything to do with OOP. As
long as you are creating your objects and storing the references into
global variables (is this what you are doing?), it doesn't matter if
this code runs from code that is on a hard disk or a CD.
However, one possibility is that in the "new" method of your
object(s) you are building filespecs in properties using "the
pathName", or "the applicationPath" or "the moviePath". If you are
building specs using these, then the path would refer to the hard
disk rather than the CD (and moving this code to run off the CD would
change that).
More likely still, you might be missing an XTRA. If you have the the
projector as a stub on the hard disk, you need to have all the XTRA's
there.
Irv
--
Lingo / Director / Shockwave development for all occasions.
(Over two millions lines of Lingo code served!)
[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!]