home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global GAMESETUP
- repeat with i = 41 to 44
- set the visible of sprite i to 0
- end repeat
- if GAMESETUP = "1" then
- set the member of sprite 27 to member "L1" of castLib "commong"
- set the fileName of castLib "graphics" to "grap01.cst"
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME1A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME1B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME1C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME1d" of castLib "URL"
- end if
- if GAMESETUP = "2" then
- set the member of sprite 27 to member "L2" of castLib "commong"
- set the fileName of castLib "graphics" to "grap02.cst"
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME2A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME2B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME2C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME2d" of castLib "URL"
- end if
- if GAMESETUP = "3" then
- set the member of sprite 27 to member "L3" of castLib "commong"
- set the fileName of castLib "graphics" to "grap03.cst"
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME3A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME3B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME3C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME3d" of castLib "URL"
- end if
- if GAMESETUP = "4" then
- set the member of sprite 27 to member "L4" of castLib "commong"
- set the fileName of castLib "graphics" to "grap04.cst"
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME4A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME4B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME4C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME4d" of castLib "URL"
- end if
- if GAMESETUP = "5" then
- set the member of sprite 27 to member "L5" of castLib "commong"
- set the fileName of castLib "graphics" to "grap05.cst"
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME5A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME5B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME5C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME5d" of castLib "URL"
- end if
- if GAMESETUP = "6" then
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME6A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME6B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME6C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME6d" of castLib "URL"
- end if
- if GAMESETUP = "7" then
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME7A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME7B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME7C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME7d" of castLib "URL"
- end if
- if GAMESETUP = "8" then
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME8A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME8B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME8C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME8d" of castLib "URL"
- end if
- if GAMESETUP = "9" then
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME9A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME9B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME9C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME9d" of castLib "URL"
- end if
- if GAMESETUP = "10" then
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME10A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME10B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME10C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME10d" of castLib "URL"
- end if
- if GAMESETUP = "11" then
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME11A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME11B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME11C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME11d" of castLib "URL"
- end if
- if GAMESETUP = "12" then
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME12A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME12B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME12C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME12d" of castLib "URL"
- end if
- if GAMESETUP = "13" then
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME13A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME13B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME13C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME13d" of castLib "URL"
- end if
- if GAMESETUP = "14" then
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME14A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME14B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME14C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME14d" of castLib "URL"
- end if
- if GAMESETUP = "15" then
- repeat with x = 33 to 35
- set the castNum of sprite x to member "GAME15A" of castLib "commong"
- end repeat
- set the castNum of sprite 28 to member "GAME15B" of castLib "MENU"
- set the castNum of sprite 36 to member "GAME15C" of castLib "URL"
- set the castNum of sprite 37 to member "GAME15d" of castLib "URL"
- end if
- end
-