5 Replies Latest reply on Nov 23, 2006 7:15 AM by shikozel

    Functions triggered on variable change

    davidesieb
      Hi there!

      It's surely something quite easy, but couldn't find exactly what I wanted; it must be related to the eventListener thing, but don't know how to do it:

      I'd like several movie clips to react (each one in its own way) when a variable changes; say I've got a website that needs to be editable when the var _root.vAdmin = "yes" and not when the latter equals "no"; so I need multiple functions situated anywhere to be triggered when the variable _root.vAdmin changes; any idea?
      Thanks in advance!