Hello,
I developed a web page that connects to a database, reads some data and shows it on the screen. I use HTTPService to connect to a php server that takes the data from MySQL. Everything is OK when I run the web page from the Flex Builder, but when I run the page doing double click on the released .html file the connection fails and the program throws this error:
[RPC Fault faultString="Error #2028: Local-with-filesystem SWF file file:///Q:/2009-08-05-1330FinalFrontEnd/bin-release/FrontEnd.swf cannot access Internet URL http://localhost/Test2/Test2.php." faultCode="InvokeFailed" faultDetail="null"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invoke()
at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::invoke()
at mx.rpc.http::HTTPService/send()
at mx.rpc.http.mxml::HTTPService/send()
at FrontEnd/submitLabelsQuery()
at FrontEnd/updateLabels()
at FrontEnd/___FrontEnd_SetEventHandler5_handler()
Does anyone know how can I run the web page without using Flex Builder?
More info:
I'm using Flex Builder 3 for developing the web page and WampServer 2.0 for the connection with the database.
Thank you,
Onditz