1 Reply Latest reply on Nov 2, 2006 7:09 AM by TimSymons

    ExternalInterface with swf in other folder than the html file

    pitjer
      I have a website in which swf and html files reside in different folders, like this:

      wwwroot/html/example.html
      wwwroot/flash/example.swf

      The example.swf is placed in the example.html file and referenced as ../flash/example.swf.
      Now I want to communicate through javascript with the swf, using Flash's ExternalInterface class. But it works only from swf to html and not vice versa. The parameter 'allowScriptAccess' is set to 'always'. Can somebody explain why this doesn't work in the way that it does when both files are in the same folder?