7 Replies Latest reply on Oct 19, 2006 4:52 AM by Peter Lorent

    Please, help with this code


      I use this line to dynamicly create menu. I use XML and then I call the attritbutes in Flash. I want that each button call its own function. It works if I use

      curr_item.onRelease = news; // news is the name of the function

      but it doesn't work if I use

      curr_item.onRelease = this.labelA; // labelA is a attribute from XML, its value is news

      I did use the trace and the value is not undefined.

      If you need more code, please let me know. THX for any help you can provide.