Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
prdv #1
Return value from ExternalInterface.call method
Hi people,
I can not achieve to get any return value from javascript other than
null.
In th HTML container I have a functions like this:
function f(p)
{
alert(p);
return(p);
}
In my flex app I call the browser function in the following way:
var ret:*;
ret = ExternalInterface.call( "f", "Hello" );
Alert.show( ret.toString() );
I get an alert in the browser saying "Hello" and another Alert from
flex saying "null".
What's wrong?... I think that I should get two alerts shown, no?
prdv Guest
-
Problem with ExternalInterface.call and InternetExplorer
Hi, I´m developing a site, (http://www.gen-studio.com/avelart2/), and I´m using a swf to display a set of thumbs that when clicked show an item and... -
Type Error with ExternalInterface.call();
Hi... I am calling javascript function of wrapper from flex. The funcation is called but when it return a value , the value is not returned to... -
ExternalInterface.call performance question
Hi, I'm using Flash 8, using XML.Load to get some data from another site and returning it to the browser world thru a callback using... -
using the 'call()' method
hey everyone! :) i have this method comms server-side: clientObj.copyFile_Result = function( str ) { trace( "copyFile_Result: ", str ) ;... -
HOW TO? declarate the xml-schema of return values from method call
Is there a way to make the following: 1. we have a webmethod, that should return an xml document that is valid respect our XmlSchema. 2. the web... -
prdv #2
Re: Return value from ExternalInterface.call method
Hi,
I Finally found that the problem was related to the fact that the HTLM wrapper
did not have the <object> tag (it only had the <embed> tag)
I setup, both, the embed and object tags and now ExternalInterface.call
returns the right value under MSIE and FireFox.
Thanks a lot for your suggestions.
prdv Guest



Reply With Quote

