Skip to main content
Jhon Carlo
Inspiring
October 25, 2014
Question

(Maybe it's very difficult) - Read in flash an xml file of Finale (professional notation software)

  • October 25, 2014
  • 2 replies
  • 589 views
Please download the attached file to view this post
This topic has been closed for replies.

2 replies

Inspiring
October 25, 2014

Like Ned said... it's very easy to read XML and easy enough to write XML or text or binary, whatever. So you need to ask about how to convert, not paste 1000  lines of xml.

Ned Murphy
Legend
October 25, 2014

It is most probably possible to do whatever it is you want since Flash can process XML.  As far as converting it goes you have not indicated what it is supposed to be converted to.

I doubt anyone is going to take the time to read thru the xml to provide guidance how to process it.

Jhon Carlo
Inspiring
October 25, 2014

Thank you both Ned and Dmennenoh,

sorry for post so big xml, but was my intention to give the source xml of converted file,

because at my level I don't know how xml esactly work, and if exist different kind of xml that flash can't convert.

What you say make me happy!

I need to convert this xml in a grafic form, and must look like a score page of music.

At my level of knowledge of xml I suppose I must start form this:

var myXML:XML;

var myLoader:URLLoader = new URLLoader();

myLoader.load(new URLRequest("MyXML.xml"));

myLoader.addEventListener(Event.COMPLETE, processXML);

but I don't know how  to go ahead.

Thank you again.

Ned Murphy
Legend
October 25, 2014

Your challenge lies in determining what you need to do in the function "processXML"  That function will ultimately have to collect all of the data that is in the xml file and put it into some form where you convert it to whatever you intend.  There is no fixed solurion for how that gets done.  The function will be as unique as the data needs to process.   As I already indicated, it is unlikely that anyone is going to wade thru the xml you showed to try to help.

What you oughta do is start small.  Find a simple tutorial so that you get the idea of how to process the xml into data that you can utilize.  Later on you can scratch your head and see how you need to break down all of what you showed in the first posting.