2 Replies Latest reply on Apr 14, 2008 9:14 AM by Reify32207

    using variables in a text field

    Reify32207 Level 1
      I am very rusty using lingo, and I cannot find how to do this in any of my old projects (using director 7 if that helps you date this)

      I am trying to generate a random number, which becomes visible in a text field on the stage after the user presses a button.

      The text field is called "hotseat"

      on the button, I have a script which so far reads

      on mouseUp
      set grandom = random (50)


      end

      As you can see, I did not make it far. 8-)

      In an earlier part of the project, I got around this issue by evaluating the variable in an enormous if..then...else if statement. I am trying to find a less tedious way to do it

      Any help would be appreciated.

      BobR

      ps I am still using Director 7