You shouldn't have a problem if you're setting the SWF as network-only. 
The key, as you've pointed out is the crossdomain.xml file.

Here's the file you would need:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM 
"http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
<cross-domain-policy>
   <allow-access-from domain="*" />
</cross-domain-policy>

You have to allow for * domain (all domains).  Based on MM docs.


Derek Vadneau


-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of James
Sent: Thursday, November 24, 2005 7:32 AM
To: [email protected]
Subject: [Flashcoders] local swf access to network


Hi

/*(I've had a brief look through the list archive and can't find anything
on this, but am really pushed for time, so many apologies if I missed
it..........also apologies for the stupidity of this idea, it wasn't 
mine)*/



I am trying to create a .swf file which will be emailed as an attachment.

Thus..... it will be run *locally* on the end users machine.

and the swf must access some online data about oil prices, which will be 
on
*my webserver*.

so, it works unless in flash player 8.


1. What I have already done: set the Local Playback Security to Network
Only (in publish settings)

2. What I can't figure out: if I have to write a cross-domain-policy file,
and how can I permit from any potential user.


I'm hoping someone has done this!!!! if not I am going to tell the client
it can't be done in 2 days!!!

Thanks in advance, and Thanks even if you don't know but read this 
far......

James


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to