1 Reply Latest reply on Aug 14, 2006 1:57 PM by Newsgroup_User

    What's The Correct Syntax On This?

    Josh_Pratt
      I've got a _global variable that is assigned somewhere by this:

      _global.currentLoaded = "pic1"

      I've got some buttons that need to use this variable in an onRelease function and the code should ultimately function like this:

      _parent.pic1.gotoAndPlay(16);

      But if I use this it doesn't work:

      _parent._global.currentLoaded.gotoAndPlay(16);

      What is the correct syntax to get that to work?