5 Replies Latest reply on May 1, 2009 6:59 AM by zubinshi

    How can I pass a String to a mxml?

    zubinshi Level 1

      I am trying to pass a string to mxml file.

       

      following are the part of codes:

       

      var renderPDFForm:RenderPDFForm=new RenderPDFForm();

      mx.core.Container.addChild.addChild(renderPDFForm);

       

      The RenderPDFForm is actually a mxml file, I want to do something like when creating the instance, a string can be called.

       

      Since we can't create constructor for mxml file, how I can do it?

       

      Thanks,