Actionscript ExternalInterface not working

Hello,
Recently I moved from Flashbuilder to IntelliJ. So far the move has been pleasureable. Today I found something that is driving me batty. When I try to call ExternalInterface, I get RTE's complaining that any function I am trying to call is not found. I run the same code in a Flashbuilder project and it works fine. I thought this might be due to a discrepency in the html, but I can't find any differences.

Anyone out there using ExternalInterface successfully with an IntelliJ project?

Joe

3 comments
Comment actions Permalink

Can you please attach sample project reproducing the issue? Or you can send it directly to me: alexander[dot]doroshko[at]jetbrains.com

0
Comment actions Permalink

Thanks for the response.
I have made a super simple test project and attached it to this message. Please take a look and let me know if you come up with anything.

Regards,
Joe



Attachment(s):
SimpleTest.zip
0
Comment actions Permalink

I figured it out,
When using the flash player/debugger, the thing uses absolute paths. I set up a local server and updated my run configurations to use urls. Once I started using urls everything started working.

Thanks
Joe

0

Please sign in to leave a comment.