5 Replies Latest reply on Aug 15, 2006 7:40 AM by Newsgroup_User

    how do conditionally check propery list values?

    kyleg
      trying to check the value of a property in a global property list.
      both methods do not work.
      The part I am having issues with is the conditional statement at startmovie


      on prepareMovie
      global glistT
      set glistT = [#A1:0, #A2:1, #A3:0, #A4:0, #A5:0] -- seats R empty except A2

      end

      on startmovie
      global glistT
      if gListT.getPos(2)= (#A2) = 1 then sprite(4).member=member("taken")
      end if
      end

      also tried



      on startmovie
      global glistT
      if gListT.getOne(#A2)=1) then sprite(4).member=member("taken")
      end if
      end

      both make sense and no errors but do not seem to work.
      what should happen in the graphic should get swapped out based on the glistT properties
      It has got to be some small thing

      thanks