I’ve got a really annoying problem, hoping someone can help me out. I’m trying to add an allowDomain policy to my swf. In the main timeline I have put…
Security.allowDomain(“http://www.mysite.com”);
Security.loadPolicyFile(“http://www.mysite.com/crossdomain.xml”);
…however this gives me the following error…
Access of undefined property “Security”
Access of undefined property “Security”
…I also tried putting this in the document class but got the same error. Anyone got any ideas? Been banging my head for 3 hours now.
thanks