http://www.adobe.com/devnet/flash/articles/fplayer_security_03.html
From: "Paul Steven" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: <[email protected]>
Subject: RE: [Flashcoders] Problem loading xml data from server script
Date: Mon, 9 Jul 2007 15:51:23 +0100
Thanks for the replies - this is really proving a bit of a nitemare
especially as I have never really done any server side stuff of this nature
before.
I have asked the client to upload an xml file to the server and the strange
thing is, when I use https in my flash file, I get the following error
Error opening URL 'https://dev01.maps-ict.com/examspec.xml'
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL:
https://dev01.maps-ict.com/examspec.xml
at test_load_xml_fla::MainTimeline/test_load_xml_fla::frame1()
When I just use http, it appears to work.
Both URLs work in the browser
https://dev01.maps-ict.com/examspec.xml
and
http://dev01.maps-ict.com/examspec.xml
Can anyone shed any light on this and suggest what I need to do to solve
the
problem.
Many thanks
Paul
----------------------------------------------------------------------------
------
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Burnett
Sent: 09 July 2007 15:29
To: [email protected]
Subject: RE: [Flashcoders] Problem loading xml data from server script
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: [email protected]
>To: <[email protected]>
>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=9
9
>e5092715ddc304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&s
e
>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=99e5092715dd
c
>304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&session=b02f
3
>133503d78090ad19a1a6d4d994f'
>Error caught: ioError
>
>---------------------------------------------------------------------------
-
>------
>
>Paul Steven
>
>Mediakitchen Limited
>6 Crown Mews
>Wellington
>Somerset
>TA21 9SZ
>
>Tel: 01823 668 648
>
>www.mediakitchen.co.uk
>
>_______________________________________________
>[email protected]
>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
_______________________________________________
[email protected]
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
_______________________________________________
[email protected]
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
_________________________________________________________________
Local listings, incredible imagery, and driving directions - all in one
place! http://maps.live.com/?wip=69&FORM=MGAC01
_______________________________________________
[email protected]
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