Skip to main content
Known Participant
November 3, 2010
Question

how can i call javascript function with out internet connection?

  • November 3, 2010
  • 1 reply
  • 1806 views

I have trying to call javascript function through ExternalInterface. But flash player recomonding to have internet connectivity. i have allredy used allowscript="always" .

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
November 3, 2010

first, allow the folder that contains your flash files to connect to the internet by adjusting your security settings:

http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04a.html

then try the following in a swf and open the published html in your browser to test:

import flash.external.ExternalInterface
ExternalInterface.call("function(){alert('test');}")

kiranemc2Author
Known Participant
November 3, 2010

Sir Iam Asking Withiout internet connection

kglad
Community Expert
Community Expert
November 3, 2010

i understood that.  my suggestion is still correct.