Is it possible to dynamically load a flex component, compiled as a swf file into a .fla file.
Originally, this flex component can be loaded as a standalone flex application with parameters to connect to the appropriate server.
But now a customer of mine wants to integrate this flex component (originally inserted in a flex application) in a custom flash application, thus in .fla file using Adobe Flash CS4.
I've seen that it was possible to integrate a flash animation created with Adobe Flash CS4 in a flex application. But what I need to do is the opposite.
thanks for your help,
I also have an odd behavior with parameters. I use a parameter to display a text area for logs. If this parameter is found, the text area is displayed, if it's not found, nothing is displayed. When I load my application with CTRL + ENTER in CS4, I can see my debug text area, but when I export it to swf, copy it to a local web server and visualize it in a browser, I see no debug text area.
Here is the code I'm using:
var request:URLRequest = new URLRequest("http://188.8.131.52/callme.swf?server=184.108.40.206&caller=abc&callee=yohann.martineau");
var loader:Loader = new Loader();
This code is in a key frame of the fla animation.