If you're loading your SWF from one server, and contacting
another server,
you need place the crossdomain.xml file on the other server
from which you're
requesting data, typically in the webroot.
That is, if you're trying to contact "
http://server/docroot/pages/php/request.php"then you'd need to have a crossdomain.xml file at "
http://server/crossdomain.xml".This crossdomain.xml policy file must include the domain from
which your
SWF was loaded in order for it to be allowed to contact this
domain.
Hello arpiyem,
> hi, i just uploaded to our remote host the files with
php and flex
> combination. here on my local computer, i was able to
retrieve data
> using my local database, i also tried to connect from my
local using a
> remote database. but when i uploaded the files, and
tried to connect
> to a red hat linux host i think, i cant make it to work.
i can see the
> interface but no data was retrieve. i googled some
possible options
> and used crossdomain, but still cant get it to work. im,
by the way,
> new to flex and would like to explore this great
technology. i was
> thinking the my tags in <mx:HTTPService> were
incorrect, i have
> url="
http://server/docroot/pages/php/request.php",i also tried
> url="php/request.php", but still failed to retrieve the
> information.hope u can help me guys. thank you in
advance.
>