4 Replies Latest reply on Apr 22, 2010 2:18 PM by AdyMareshal

    Load/Unload Component from Main Application


      I want to load in my main application 2 components. At this moment I load them with this:


      <components:loadProject id="loadPrj" visible="false" click="loadPrj_clickHandler(event)" verticalCenter="7" horizontalCenter="0"/>


      and I only set visible to true. Inside this component there is a canvas.


      But, is there any other way to do this using an AS class file? I would like to load/unload it on click, not only set true/false to visible.