1 Reply Latest reply on Sep 3, 2006 10:02 PM by Opera Rat

    Creating Property Lists

    Opera Rat Level 1
      I don't seem to understand just how to create a property list. I would like to create a property list like:

      gCatList = [#sr: 0, #tl: 0, #sti: 0]

      I want this to exist from the beginning of the movie. (This example only includes 3 of the 20 or so things I'm going to keep track of]. I tried putting this in a movie script with on prepareMovie, or on StartMove - nothing. I even added

      global gCatList

      to the top of the script. - Nothing. I can't put or trace gCatList in the message window. I just get <VOID>. What am I doing wrong?
        • 1. Re: Creating Property Lists
          Opera Rat Level 1
          Answer: MOVIE SCRIPT It was set to behavior. (I've been at this too long).

          Now all my code works and keeps score perfectly. Thanks to the genius of Mike Blaustein, who guided me through the process. I was able to figure out how fix the scoring part of my program. Celebration time.

          Until my next nightmare,

          Opera Rat