I am calling this javascript function "isReady()" from ActionScript as shown .

Please tell me is

1. ExternalInterface.call("isReady"); // I am calling this on a button click of MXML , Is this correct parameter inside the call ??
2. Please tell me what other configuration do i need to do to access the HTML ??