• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

LEARNING ABOUT THE COMPUTER

Many other movie properties can be accessed to tell you something about the computer on which Director, a projector, or a Shockwave applet is currently running. The following is a list of these properties:

  • the platformReturns either “Macintosh,PowerPC” or “Windows,32” depending on which platform the movie is running on.

  • the runModeReturns either “Author”, “Projector”, “Plugin”, or “Java Applet”. The first tells you that the movie is running in Director, the second tells you when it is running as a projector, the third option refers to Shockwave, and the fourth tells you when it is running as a Java applet.

  • the colorDepthReturns the bit depth of the current monitor being used by the movie. Examples are 8, 16, 24, or 32.

  • the environmentReturns a list of the values for the three preceding properties and many more.

    You can also assign a third parameter when using new to create a timeout object. This third parameter can specify a script object created from a parent script. If this parameter is used, the handler called will be in that object, not in a movie script.


  • the desktopRectListReturns a list of rectangles that correspond to the one or more monitors connected to the computer.

  • quickTimeVersion()Not a property, but a function that returns the version of QuickTime on the computer. It returns only “2.1.2” if the version is before version 3.0.

  • versionNot a property either, but actually a persistent global variable automatically created when Director starts. It contains the version number of the Director engine, whether it is Director, a projector, or Shockwave. An example is “8.0”.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint