19 Replies Latest reply on Oct 2, 2012 9:57 AM by chrissieGu

    AddChild with x and y position?




      I'd like to add an image to my stage with the addChild function when a button is clicked.


      How to I give it a position? I'd like the image to appear at x 83 and y 75


      This is the code I'm using to add and remove the symbol is:


      var currentPage;


      var addPage = function(pageName)


          currentPage = sym.createChildSymbol(pageName, 'stage');



      var deletePage = function()


          if (currentPage)



              currentPage = null;




      Thank you,