Make sure which player you are using?

The cross domain works differently with player 9 and player 10.

--- In [email protected], "Grant Davies" <gr...@...> wrote:
>
> I would suspect the same, add a crossdomain in the root of your 
site (or
> you can use a policy element to put it somewhere else but more 
fiddly)
> 
>  
> 
> In your cross domain add the 'all ports', if you are just 'testing' 
you
> can leave it wide open :
> 
>  
> 
> <cross-domain-policy>
> 
> <allow-access-from domain="*" to-ports="*"/>
> 
> </cross-domain-policy>
> 
>  
> 
> It should be accessible via
> 
>  
> 
> http://gauravt-xp/crossdomain.xml
> 
>  
> 
> you could try
> 
>  
> 
> http://gauravt-xp:8080/crossdomain.xml but I'm not sure it will 
work.
> 
>  
> 
> I'm pretty sure flash requests the crossdomain file on port 80 
(maybe
> override-able by a policy file), but my sites all run on port 80 so 
not
> messed with it in a while.
> 
>  
> 
> A good way to see whats going on is using the Charles httpd 
debugging
> proxy to monitor the traffic and see if it request a cross domain 
xml
> file, if it does and your applications fails right after that then 
you
> can be sure it's a silent failure due to the policy file.
> 
>  
> 
> Cheers
> 
> Grant
> 
>  
> 
>  
> 
>  
> 
> ...........................................
> 
> > b l u e t u b e i n t e r a c t i v e.
> 
> .: Development solutions for creatives :.
> 
> .: grant davies
> 
> .: 404.428.6839 (c)
> 
> .: 404.921.9550 (F)
> 
> > gr...@...
> 
> http://www.bluetubeinteractive.com
> 
>  
> 
> From: [email protected] 
[mailto:[email protected]] On
> Behalf Of GeeTee
> Sent: Tuesday, January 27, 2009 1:55 PM
> To: [email protected]
> Subject: [flexcoders] Flex and asSQL - Crossdomain issue?
> 
>  
> 
> 
> Hi everyone,
> 
> Yesterday I developed my first flex 3 app and placed the "Release 
build"
> in
> the webapps folder of tomcat (5.5.26). The application is quite 
simple
> and
> just needs to populate the datagrid with the data in MySQL (which 
is on
> the
> same machine on port 3306). I have used asSQL to communicate. When 
run
> from
> flex builder, I get the app to work perfectly. But on accessing the 
URL
> "http://gauravt-xp:8080/MyAppsName/MyHTML.html";, I get a blank 
datagrid.
> 
> My suspicion is that this is related to crossdomain.xml file. Am I 
right
> with this? If yes where should I place it?
> 
> I searched on the forum and could not find a definitive answer. The
> crossdomain file that I have created looks like:
> <?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="gauravt-xp" to-ports="8080,3306" />
> </cross-domain-policy>
> 
> I tried placing it in the "webapps" and "webapps/ROOT" folder of 
tomcat
> but
> data was not populated.
> 
> Thanks in advance for the help.
> Gaurav
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Flex-and-asSQL---Crossdomain-issue--
tp21691913p216
> 91913.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
> 
>  
> 
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.176 / Virus Database: 270.10.13/1912 - Release Date:
> 1/27/2009 7:26 AM
>


Reply via email to