title: Dynamic loading and compilation of MXML/AS at runtime
body: <p>Greetings!</p>
  
  <p>I am trying to build an application which has a flex front-end and a php back-end. I am struggling to do something with this application which I couldn't figure out a way to do. I would want my flex application to show a view based on an MXML it recieves from the server as a response to some interaction in the flex application. for example, lets say there are two buttons on the current view and if i press the first button, it will load one mxml/as3 from the server, and when i click the other, it will load a different mxml. How do you think i can tackle this situation ? Please shed some light if you know how to do this as i've been banging my head on the wall trying to figure out a way.</p>
  
  <p>Best Regards,</p>
  
  <p>Roshan Amadoru</p>