[Red5] [RED5] load xml

Storm storm.storm at gmail.com
Thu Jul 10 03:01:59 PDT 2008


uh...i think that the xml part of it isn't red5-related. I do something like
that (load a XML file with server address/es to connect to) by simply
placing the xml file in the same folder wich the swf client is served from.
It wil load the XML, parse it and then connect to the red5 server specified
in the file.

Good luck with that

On Thu, Jul 10, 2008 at 11:42 AM, james taylor <jimothyinnewcy at hotmail.com>
wrote:

>  hi
>
> just wondering how you can use actionscript's xml.load() method with red5.
> I need to load an xml file as part of my client's bootstrapping.  I've tried
> putting the xml file in various places to no avail  :-(   Eventually i
> appreciate i will need a cross-domain polcy file, but for now i'm doing it
> locally and keep getting this client output message "Error opening URL "
> http://localhost/VS_Server/server_list.xml".
>
> var serverList:XML = new XML();
>   serverList.ignoreWhite = true;
>
>   serverList.onLoad = function(success:Boolean){
>    trace(serverList)
>   }
>
>   serverList.load("http://localhost/VS_Server/server_list.xml")
>
>
> Many thanks in advance
> Jim
>
> ------------------------------
> Win £3000 to spend on whatever you want at Uni! Click here to WIN!<http://clk.atdmt.com/UKM/go/101719803/direct/01/>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>


-- 
-------------------------------------------------------------------
Computers are like air conditioners, they stop working properly if you open
Windows
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080710/6bf2c604/attachment.html 


More information about the Red5 mailing list