6 Replies Latest reply on Mar 3, 2009 3:26 PM by JohnWalsh2011

    Using 'this' inside of XML onLoad function

    JohnWalsh2011
      Hi all

      I am using this following line of code inside an XML onLoad():

      this.attachMovie("MasterBtn","instance_name", this.getNextHighestDepth(), {_x:50, _y:50});

      The 'this' keyword points me to the XML object. Is there any alternatives to using 'this', like using a container clip.


      regards

      John
      http://www.javono.com