Determining the Director Environment

Date: Tue, 14 Jan 1997 10:23:01 -0900
From: azavatone@macromedia.com (Alex Zavatone)
Subject: How to determine if what enviroment you are in
This tells you what enviroment you are in, projector, authoring mode or shockwave
on checkEnvironment
  global version

  if version contains "net" then
    return "shockwave"
  else
    if the runmode = "projector" then
      return "Projector"
    else
      return "authoring"
    end if
  end if
end

on startmovie
  put checkEnvironment()
end

-Zav
"Life's too short to let it suck"

URL: