FORUMS: list search recent posts

allowDomain and Crossdomain - Error 1119

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Mike Grasso
allowDomain and Crossdomain - Error 1119
on Feb 1, 2011 at 3:35:57 pm

I am building a skin for Kaltura, I uploaded the crossdomain.xml file to our FTP and have to add this to my .swf file:

System.security.allowDomain(“URL GOES HERE”);
System.security.loadPolicyFile(“FULL PATH TO CROSSDOMAIN.XML”);


When I open my skin.fla file and go to Window/Actions, I click on the CSS:Frame 1 under Scene 1 I input this:

import flash.system.Security;
System.security.allowDomain(“URL GOES HERE”);
System.security.loadPolicyFile(“FULL PATH TO CROSSDOMAIN.XML”);


I have tried it without the import code also. When I leave the "System." part and exprot the .swf file, I get a "1119: Access of possibly undefined property Security through a reference with static type Class." error. I have been trying to get this to work for a month now, can anyone help me out? Am I inputting the script into the right spot?


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]