Re: [Flashcoders] >> send and read datas

2006-07-25 Thread Supriya
I think you need to specify allowDomain("www.laurentcuchet.fr") in sys1.swf 
in B



- Original Message - 
From: "Laurent CUCHET" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Tuesday, July 25, 2006 4:29 PM
Subject: [Flashcoders] >> send and read datas


Hi

I try to read data as this and I meet security problem :

Theres two domains

A : http://www.laurentcuchet.fr/test/
B : http://www.aniblog.com

1. index.swf from A load sys1.swf from A : sys1 can read index.swf datas
2. index.swf from A load sys1.swf from B : sys1 can¹t read index.swf datas

Actionscript from index :
System.security.allowDomain("www.aniblog.fr","aniblog.fr","http://www.aniblo
g.fr");
var link = "http://www.aniblog.com/";;
this.var1.text = "test";
stop();

Wwhen button is clicked you load local from A or external from B

There¹s ³crossdomain.xml² on each basedomain,

 http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
   

   

HTML : security:  allowScriptAccess="always"

Thank for your help

Laurent

Msn : [EMAIL PROTECTED]


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] >> send and read datas

2006-07-25 Thread Laurent CUCHET
Hi

I try to read data as this and I meet security problem :

Theres two domains

A : http://www.laurentcuchet.fr/test/
B : http://www.aniblog.com

1. index.swf from A load sys1.swf from A : sys1 can read index.swf datas
2. index.swf from A load sys1.swf from B : sys1 can¹t read index.swf datas

Actionscript from index :
System.security.allowDomain("www.aniblog.fr","aniblog.fr","http://www.aniblo
g.fr");
var link = "http://www.aniblog.com/";;
this.var1.text = "test";
stop();

Wwhen button is clicked you load local from A or external from B

There¹s ³crossdomain.xml² on each basedomain,

 http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
   
 


HTML : security:  allowScriptAccess="always"

Thank for your help

Laurent

Msn : [EMAIL PROTECTED]


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com