Call Javascript Function Allow Domain
It took me a while, but I was finally able to get my flash file to call a javascript function on my webpage. I had to add this as2 code:
System.security.allowDomain("*");
This fixed my problem, but it causes a compiler error:
Scene 1, Layer 'Layer 1', Frame 1, Line 3 1119: Access of possibly undefined property security through a reference with static type Class.
How do I do allow my domain with as3? I tried Security.allowDomain('*') but that doesn't seem to fix my orginal problem.
