Help with a working script that will not convert pa player of higher version (As2)

HI have a problem with a file that has been created for a long time to Fplayer v6 and when I now have 'upgrade' it to 8-9 or 10 it does not load the XML links ;/
I have no idea why, the files works fine in the former player 6

I have a set of xml files (Note: a file for each country on a map and the solution should not include to all links in the same xml file)

the XML looks like this (example is for file Denmark called dk.xml): [code]

…………………………………………………………………………………………………………

< distribution >

< history >

www.Alink.com < /lead > < lead >

< URL > http://www.Alink.com/ < / URL >

< / history >

< / distribution >

…………………………………………………………………………………………………………

So, in the flash file, I have a set of buttons do some actions
action is call / spend a specific image in a MC in this framework, I have Xl loading stuff for each image (lable)
[code]
-.--------------------------------------------------------------------------------------- -----------

headlineXML = new XML();
headlineXML.onLoad = myLoad;

headlineXML.load ("be.xml");
function myLoad (ok) {}
                             If (ok == true) {}
Publish (this.firstChild);
                             }
}
function Publish (HeadlineXMLNode) {}
If (HeadlineXMLNode.nodeName.toUpperCase () == 'BROADCAST') {}
Content = "";
history = HeadlineXMLNode.firstChild;
While (history! = null) {}
if (story.nodeName.toUpperCase () == 'HISTORY') {}
                             lead = "";
                             URL = "";
element = story.firstChild;
While (element! = null) {}
If (element.nodeName.toUpperCase () == 'LEAD') {}
lead = element.firstChild.nodeValue;

                                                                                                                                                  }

If (element.nodeName.toUpperCase () == 'URL') {}

URL = element.firstChild.nodeValue;                                                                                                                   
} element = element.nextSibling;

}

content += "< font size =" + 2' color = "#3366cc" > < a href = "" + URL + "" > "+ lead + ' < /a > < / police > < br >"+ body + "< br > < br >"; "

content = txt.htmlText;
}

history = story.nextSibling;
}

}

}
----------------------------------------------------------------------------------------- ----------------

the button (main stage) lable framework calles the MC with the xml code that load the x definition load as well as a link in a box of dynamic txt (called 'txt'), has this code on this topic: [code]

----------------------------------------------------------------------------------------- -----------------

on {(press)
                             InfoOn ("DK");
}

on {(overview)
                             DK._alpha = 50;
}

(releaseOutside, deployment, dragOut) {}
                             DK._alpha = 100;
}

----------------------------------------------------------------------------------------- -----------------

so, as I said it works fine in FP 6 (as2) but when published on FP 8-9 or 10 only the XML does not load
What could be the problem (I know it's old code and it is pretty poor and must be fully upgraded, but my)
skills is not on that level, I managed to make it work before it of a few tutorials, but the editing issues
is a little over my head
J

I would be very gratefull if someone could help me it's really frustrating, especially since the file actually works very well
in the former player ;/

The best

OrsonB

the two most common issues when converting to as2 vp 6 to as2 vp 6 + are:

1. the failure to initialize a variable.  (if not explicitly initialized in vp 6, supposed to be zero.)  in vp +, he has an undefined.)

2 vp6 is not case-senstive.  VP 6 + is broken.

you have both.

body is not defined and htmltext is not the same thing as htmlText.  Difficulty those and repeat the test.

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • Windows 7 smaller size of the boot camp partition

    Hello world IM pretty new to mac and here next week, I want to buy the mbp 13 "retina 128 GB of storage. im a student of college and also the study, I might also want to play games and found that mac offer boot camp for w7. with my 128 GB of storage,

  • Unable to connect my WNR2000V5 my ISP

    My ISP is COMWAVZ of Watch Communications. The service is provided an antenna/RF modem outside. It works fine on my PC. But, when I connect the router, it will not work. The router says the signal is there. I tried to use the automatic configuration

  • entry 100 pin voltage measure switching device

    I have a number of 100 harness cable pin I need to check the output voltage on. I need to be able to select the two pins (tension and back) and move them towards a pass to tension. Unfortunately, each cable is unique, so I have to be able to select a

  • PXI-8360 (MXI-Express) PCI-8361 + Dell OptiPlex 9020 = "device cannot start." (Code 10) »

    Hello I have a chassis PXI-1050, conencted to a Dell OptiPlex 9020 via a PXI-8360 and a PCI-8361 (identified as 199392B - 01L). It is Windows 7 64-bit. I can't start Windows very well, but MAX can't see all my PXI hardware. The Device Manager has als

  • HP Photosmart 6520 assistant printer error

    I have the printer Photosmart 6520 on the ip address and running windows 8.1 When I run the wizard of the printer for scanning on side Windows everything works fine BUT when I do the desktop option and then try and run the option of analysis (using t