Hi People, Finally, I found the problem: The HTML page hosting my flexapp lack the <object> tag for MSIE, that is, it only had an <embed> tag. A good flash detection/embeding mechanism was the key.
Thanks a lot for those of you that have spend some of your time posting your suggestions. --- In flexcoders@yahoogroups.com, "drome.dario" <[EMAIL PROTECTED]> wrote: > > 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? > ------------------------ Yahoo! Groups Sponsor --------------------~--> Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/