if (ExternalInterface.available)
{
IPAddress.text = ExternalInterface.call(wrapperFunction);
}
And added the function in HTML as
function getIPfromURL()
{
var url = ""+window.location;
var urlparts = url.split('//');
var host = urlparts[1].split('/');
return host[0];
}
in index.templete.html, hope this would help u out
On Thu, Apr 9, 2009 at 10:35 AM, senthilkumarirtt <
[email protected]> wrote:
>
>
> i want to call Javascript in html via external interface in flex.
> give some real example to explore it.
>
>
>
--
Regards,
Paresh M. More
Senior Software Engineer
Mobile: +919881400641
Nashik/Pune, Maharashtra, India.
Email - [email protected]