2 Replies Latest reply on Apr 26, 2006 12:05 PM by Shoudibola

    Changing instances properties

      Well, I could not summarize the topic in the tittle, but I the end is that what I want.

      I would like to know how can I chance the instance "test" visibility, using a variable. Like this:

      var instance = "teste";

      with (instance)
      _visibility = 0;


      var instance = "teste";

      instance._visibility = false

      Got what I mean? I want: teste.visibility = false throught a variable. Please, do not ask me to use switch...

      I think that is all!

      See ya!