johnlearning
12-11-2007, 11:47 AM
Hi! im studying and one of my missions is to keep my xml displaying in the top center all the time, even when browser resized now i cant for some reson get it to do that please any help will be appreciated.
(teacher gave us this fla to play around with).
thanks for looking
// Stage variables
Stage.scaleMode = "noScale";
Stage.align = "T";
myXML = new XML();
myXML.onLoad = DisplayData;
myXML.load("demoText.xml");
function DisplayData(success)
{
if (success) {
xmlOutput = this.body.childnodes.join('').split('<a ').join('<font color="#666666"><u><a target="_blank" ').split('</a>').join('</a></u></font>');
}
}
(teacher gave us this fla to play around with).
thanks for looking
// Stage variables
Stage.scaleMode = "noScale";
Stage.align = "T";
myXML = new XML();
myXML.onLoad = DisplayData;
myXML.load("demoText.xml");
function DisplayData(success)
{
if (success) {
xmlOutput = this.body.childnodes.join('').split('<a ').join('<font color="#666666"><u><a target="_blank" ').split('</a>').join('</a></u></font>');
}
}