PDA

View Full Version : Problem reading xml from compiled projector.exe


rhov23
06-06-2007, 12:43 AM
I have made an mp3 player as a part of a flash projector program for ppc.

It can read xml if you bundle the xml inside the compiled projector.exe.
It can read external .txt files, it can open external applications, but...

My problem is that I can't get it to read xml outside the "projector".

Strange, because it can read external mp3 through the xml when the xml resides bundled with the "projector".

Any tips on how to solve this?

inhan
06-06-2007, 12:48 AM
Where does this xml file reside?

rhov23
06-06-2007, 01:25 AM
Where does this xml file reside?

it resides in the same folder.

Typical: I've been researching this the whole day, and 2 minutes after posting this request I solve it...

I thought I was supposed to edit the xml value in the component definition
"playlist", but the only thing I had to do was edit the "xml.load" to the path "file:///playlist.xml".

My problem was that I'm editing a downloaded mp3player source, and I didn't fully understand the "component definition" part.

hope this will help someone else, that are as stupid as me :)