I'm beginner in Flex mobile application , my issue when using flex mobile application that interact with services with asp.net i try to load URLString in flex mobile application ,but it always go to NoConnection function when i use break point and the mobile is connected to the internet this is my code
protected function Submit():void
{
SendLoader = new URLLoader();
var URLString:String ="http://localhost:1614/Master_Services/Problems/insertProblem.aspx";
SendLoader.addEventListener(IOErrorEvent.IO_ERROR,NoConnection);
SendLoader.addEventListener(HTTPStatusEvent.HTTP_STATUS,httperror);
SendLoader.addEventListener(Event.COMPLETE,SendComplete);
SendLoader.load(new URLRequest(URLString));
}
update : this URL worked well in the computer browser , but in mobile browser it couldn't load and give me web Page not available . I think this may the problem , if this the problem , Any idea to load url placed in localhost in moblie while Im debuging via USB .
Please help , Thanks in advance