home *** CD-ROM | disk | FTP | other *** search
/ Galleria D'arte: Manet / Manet.iso / Dati / Main.dxr / 00068_aiutotasto.ls < prev    next >
Encoding:
Text File  |  2000-12-21  |  1.6 KB  |  66 lines

  1. global finestra, gback, gMovie
  2.  
  3. on mouseUp me
  4.   global gMovie
  5.   tmp = count(gback)
  6.   dati = getAt(gback, tmp)
  7.   the itemDelimiter = "#"
  8.   if dati <> #dummy then
  9.     scena = item 2 of dati
  10.   end if
  11.   if (scena = "ricerca") or (scena = "catalogo") or (scena = "epoca") or (scena = "glossario") or (scena = "home") or (scena = "slideshow") or (scena = "studi") or (scena = "giochi") then
  12.     nothing()
  13.   else
  14.     if dati = #dummy then
  15.       if (gMovie = "dettaglio") or (gMovie = "quiz") or (gMovie = "memo") or (gMovie = "titolo") or (gMovie = "puzzle") then
  16.         scena = gMovie
  17.       else
  18.         scena = "no help"
  19.       end if
  20.     else
  21.       etichetta = item 1 of dati
  22.       case etichetta of
  23.         "primapagina":
  24.           scena = "biografia1"
  25.         "entrata giornale":
  26.           scena = "biografia2"
  27.         "mappa":
  28.           scena = "mappa1"
  29.         "collage":
  30.           scena = "opere1"
  31.         "scheda":
  32.           scena = "opere2"
  33.         "echelle":
  34.           scena = "opere3"
  35.         "article":
  36.           scena = "opere4"
  37.         "main":
  38.           scena = "gadgets1"
  39.         "calendario":
  40.           scena = "gadgets2"
  41.         "auguri":
  42.           scena = "gadgets3"
  43.         "carta":
  44.           scena = "gadgets4"
  45.         otherwise:
  46.           scena = "no help"
  47.       end case
  48.     end if
  49.   end if
  50.   cursor(-1)
  51.   vecchia = gMovie
  52.   finestra = "aiuto"
  53.   if vecchia = finestra then
  54.     exit
  55.   end if
  56.   buio()
  57.   unLoad()
  58.   the windowList = []
  59.   window(finestra).windowType = 2
  60.   window(finestra).rect = rect(the stageLeft + 76, the stageTop + 60, the stageLeft + 716, the stageTop + 540)
  61.   tell window(finestra)
  62.     go(scena)
  63.   end tell
  64.   open(window(finestra))
  65. end
  66.