配列変数の文字列を使用して複数の画像/リンクを含むバナーの作成を開始しましたが、進行するにつれて、より効率的に更新できるようにXMLをミックスに追加したいと思いました。
このテキストは、ユーザーがバナー上の画像の上にマウスを置くとツールチップに表示されます。配列変数では問題なく機能しましたが、XMLから取得すると、\ n、\ n、/ n、\ r \ n、およびその他の試行可能なすべてのものが表示されます。A</br>
は私にエラーを与えます。.toString()を試し、ignoreProcessingInstructionsプロパティを見つけて、オフにしてみました。何もありません。私が見ているだけでは本当に単純なものはありますか?
これが機能するものです:私のAS3配列変数から:"Working with Alerts\nand Notifications" //this works fine
私のXMLから:Working with Alerts\nand Notifications //this returns everything inside of the tags, including the \n.
テキストをにフィードするための行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.
アドバイスありがとうございます、クリス