I am having trouble calling a script on a server from the Flash IDE (CS3) using the following code. If I type the url into a browser it returns xml and this is what I want my flash movie to do. I have tested my code using the url of an xml file on my server http://www.mediakitchen.co.uk/output.xml and it works fine.
Can anyone help me identify the problem please? import flash.display.*; import flash.events.*; import flash.net.*; import flash.utils.*; var loader:URLLoader; loader = new URLLoader(); var request:URLRequest = new URLRequest("https://dev01.maps-ict.com/services/upload/3424323432/dt/?key=99 e5092715ddc304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&se ssion=b02f3133503d78090ad19a1a6d4d994f"); loader.addEventListener(IOErrorEvent.IO_ERROR, catchIOError); function catchIOError(event:IOErrorEvent){ trace("Error caught: "+event.type); } try { loader.load(request); } catch (error:ArgumentError) { trace("An ArgumentError has occurred."); } catch (error:SecurityError) { trace("A SecurityError has occurred."); } This is the error I am receiving Error opening URL 'https://dev01.maps-ict.com/services/upload/3424323432/dt/?key=99e5092715ddc 304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&session=b02f3 133503d78090ad19a1a6d4d994f' Error caught: ioError ---------------------------------------------------------------------------- ------ Paul Steven Mediakitchen Limited 6 Crown Mews Wellington Somerset TA21 9SZ Tel: 01823 668 648 www.mediakitchen.co.uk _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com