I wrote a Jepardy-like game for review purposes. Wrote it in MC 2.2.3.
Worked great. Just tried to run it under 2.2.5. Each time I click a
button the system hangs, Mac 8500/180 160 MB RAM.
        Each button has this script:
on mouseUp
  global questioncard
  get the name of me
  put it into questioncard
  showTheQuestion
end mouseUp

        the card script:
on showTheQuestion
  global questioncard, answer
  get word 2 of questioncard
  delete char 1 of it
  delete last char  of it  
  put it into questioncard
  set the backgroundcolor of button questioncard to "black"
  find questioncard in field "questionlist" of cd "questions"
  
  get line (word 2 of  the foundline) of field "questionlist" of card
"questions"
  set itemdel to "/"
  put return & item 2 of it into field "questiondisplay" of card
"display"
  put item 3 of it into answer
  push this card
  visual effect zoom in slowly to black
  visual effect zoom out to card  
  go card "display"

  if answer is empty then
    hide button "answer"
  else
    show button "answer"
  end if
  
end showTheQuestion

        The standalone version on the PC continues to work like a hot damn
version 2,2,0,1
        Any help would be appreciated.

        Rick

Reply via email to