[flexcoders] can flex app send a flag/text back to the wrapper html

2010-09-08 Thread coder3
Hi all, I have a flex app. and of course there is a standard html that launchs this .swf. now what i want is, if the flex app (swf) has an error, it can send a boolean/text/exception back to the html, so that the html can call some javascript to do something. how to do this?? thanks C --

[flexcoders] can flex app send a flag/text back to the wrapper html?

2010-09-08 Thread coder3
Hi all, I have a flex app. and of course there is a standard html that launchs this .swf. now what i want is, if the flex app (swf) has an error, it can send a boolean/text/exception back to the html, so that the html can call some javascript to do something. how to do this?? thanks C --

Re: [flexcoders] can flex app send a flag/text back to the wrapper html

2010-09-08 Thread Karim Beyrouti
Yep - have a look at ExternalInterface: http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html On 8 Sep 2010, at 23:09, coder3 wrote: Hi all, I have a flex app. and of course there is a standard html that launchs this .swf. now what i want

Re: [flexcoders] can flex app send a flag/text back to the wrapper html?

2010-09-08 Thread Robert VanCuren Jr
Look at ExternalInterface On Wed, Sep 8, 2010 at 6:08 PM, coder3 rrhu...@hotmail.com wrote: Hi all, I have a flex app. and of course there is a standard html that launchs this .swf. now what i want is, if the flex app (swf) has an error, it can send a boolean/text/exception back to the