2 Replies Latest reply on Mar 19, 2007 9:06 AM by kqj

    ExternalInterface.available returns false

      I can't seem to get the ExternalInterface to work. ExternalInterface.available returns false within both IE 6.0 and Firefox 1.5 with Flash Player 9. OS is Windows XP SP2. The simple one-frame movie is published from Flash 8. Publish Setting has Action Script 2.0 and Flash version 8.

      --frame actionscript: (also tried to have the import within the release handler)

      import flash.external.*;

      --action script for a button:

      on (release) {
      if (ExternalInterface.available) {
      _root.avail.text = "External Available";
      } else {
      _root.avail.text = "External Not Available";

      where _root.avail is a dynamic text field. The result is always "External Not Available."

      The html page is viewed from a server. (Same behavior from the local drive.) I set "allowScriptAccess=always". I tried both using the Object tag directly and write the Object tag with an external javascript.

      Any ideas?