Unable to load xml in as2-flash-app for mp3-player (IAudio9 by Cowon)

Hi everybody,

I’m trying to create a flash-app for my IAudio9 media player. Apparently it has a flash7-player on it.

For my app I need to load an xml. My code works fine on my PC, but on the mp3-player it is unable to load the xml.

Here is what I do:


var xmlData:XML = new XML();
xmlData.ignoreWhite=true;
xmlData.onLoad = function(success:Boolean) { 
         MyApp.processTheLoadedXML(success, this);
    }
xmlData.load("settings.xml");

In the static function MyApp.processTheLoadedXML(success, xmlData) I want to process the loaded data.

But for some reason no data is loaded. :frowning:

I tried the following as well, which worked fine:


var xmlData:XML = new XML("<?xml version='1.0' standalone='yes'?><mydata>bla</mydata>");
...

but I can’t include the whole xml as a string into my as2-file.

Does anyone have a clue why my code doesn’t work on my mp3-player?! And how I can get it to work?

Thanx for any help!
Don

PS:I was able to load params from a file with loadVars and “param=value&param=value” in the file. But that won’t do for my xml-data. :frowning: