3 Replies Latest reply on Sep 12, 2006 9:45 AM by JLonardoni

    Unable to access the content of a Window (PopUp)


      I am trying to access the contents of a MovieClip I placed inside a PopUpWindow component, but can't figure how to do that. I have created the window with something like this:
      var SAedit_win:MovieClip = mx.managers.PopUpManager.createPopUp(_root, Window, true, {closeButton:true, title:"Arterias Sistemicas", contentPath:"contentSA"});

      With this code, the window IS correctly created and the "contentSA" MovieClip (which is in the library) is correctly shown. However, I wanted to access objects inside "contentSA", but I can't find a way to do that. I have already tried:
      - SAedit_win.content (which is read-only...)
      - SAedit_win.contentsPath (which obviously didn't work)
      - SAedit_win.target
      - SAedit_win.contentSA

      Can anybody please help me with that?

      Tanks in advance