burnsdonkey
New Member
I started creating a banner that contains several images/links using strings from an array variable but as we progress, I wanted to add XML to the mix so that we can update it more efficiently.This text appears in a tool tip as the user mouses over an image on the banner. It worked just fine in the array variable, but when pulled from XML it shows the \n, \n, /n, \r\n, and everything else I could find to try. A \[code\]</br>\[/code\] gives me an error. I've tried .toString(), found the ignoreProcessingInstructions property and tried turning it off. Just nothing. Is there something really simple that I am just not seeing?So here's what works: from my AS3 Array variable: \[code\]"Working with Alerts\nand Notifications" //this works fine\[/code\] from my XML: \[code\]Working with Alerts\nand Notifications //this returns everything inside of the tags, including the \n.\[/code\] The line for feeding the text into the \[code\]tip: tip.tipTitleField.text = titleText[refNum].toString(); //has been tried without .toString() and with .toString() inside of the [], but it always returns the same... correct string, just with the \n plainly visible.\[/code\]Thank you for any advice, Chris