Skip to main content

ActionScript BEncoded XML file. Decoding same way as Flash:URLLoader in PHP



Hope topic is relevant :)





I have a class in Action script that loads and interpretes an XML File. What I want to do is to be able to decode this file using PHP (Probably some kind of Binary Decoding)







private static function interpreteXML(j:Event):void

{

....... some var defined here.....

var event:Event = j;

var loader:URLLoader = (event.target as URLLoader);

try

{

xml = new cXML();

xml.SetXMLString(String(loader.data));

}







I'm looking for a function/class that would be able to decode XML in same way as URLLoader





From what I saw in Flash AS3 Docs, URLLoader have abbility to load Binary encoded data and decode it. That's why I look for a PHP version of this method to be able to interprete files on PHP level.


Comments

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?