Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crossdomain not working

Status
Not open for further replies.

BuzzerTom

Technical User
Aug 20, 2003
35
BE
Hi all,

I have an main.swf on and another reservations.swf on I load the reservations.swf in level1 of the mail.swf. Evrything is visible, but I can't fill in a text field that is located in main.swf from reservations.swf

I did some good research all day and tried following things:
1) Add the following line in both swf: System.security.allowDomain("*");
2) Place a crossdomain.xml into my root directory of the two domeinnames
3) Removed the following line from the html code: <param name="allowScriptAccess" value="sameDomain" />

I publish my swf files as player 9 - actionscript 2. However if I publish them as player 6 everyting works fine. According to Adobe manual the problem should be solved with the System.security.allowDomain("*") but it isn't. Any suggestions ?

Thanks alot !
Tom
 
I have seen the reports for this, i.e. works for FP8 but not FP9 (and presumably FP10).

One thing you haven't tried is [tt]System.security.loadPolicyFile();[/tt]
May be worth a try?

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top