When I put that URL in the browser, I get an untrusted certificate dialog.
Tried it off an http protocol?


From: "Paul Steven" <[EMAIL PROTECTED]>
Reply-To: flashcoders@chattyfig.figleaf.com
To: <flashcoders@chattyfig.figleaf.com>
Subject: [Flashcoders] Problem loading xml data from server script
Date: Mon, 9 Jul 2007 15:15:12 +0100

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

_________________________________________________________________
Don't get caught with egg on your face. Play Chicktionary!  http://club.live.com/chicktionary.aspx?icid=chick_hotmailtextlink2

_______________________________________________
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

Reply via email to