3 Replies Latest reply on Aug 9, 2010 5:22 PM by Flex harUI

    Load components from a text or an XML file?

    AhmedCogenli Level 1

      I am working on a project, just wondering is it possible to load components into the stage from a text or an XML file? For example, I put components codes in a text file;

       

      components.txt:

          <DrawingArea id="drawingArea" xmlns="*" width="100%" height="100%" enabled="false" visible="false" depth="4"/>

          <components:ImgGallery imgCount="1" genislik="200" yukseklik="200" id="imggallery" x="50" y="50"/>
         
          <components:VideoGal videoGenislik="200" id="video1" videoKaynak="assets/Open.flv" x="300" y="50"/>

       

      Main application will load the components in the TEXT file. Is that possible?

       

      Thanks in advance.