1 Reply Latest reply on Jun 12, 2017 2:03 PM by ClayUUID

    Dynamically retrieve library symbols to add on to stage?

    12awwd

      The current way to add a library symbol through code is through writing

       

      var test = new lib.librarysymbolname();

      this.addChild(test);

       

      or just

      this.addChild(new lib.librarysymbolname());

       

      But suppose i have an XML file with a list of the library symbols names

      How do i dynamically create the symbols after getting the names?