3 Replies Latest reply on Jan 13, 2010 11:49 AM by swif mcvay

    Scroll bar and xml dissapeared

    swif mcvay

      Hi,

       

      I have added this to my flash code to enable html in my xml

       

      news1.main.newsmain_txt.html = true;
      news1.main.newsmain_txt.htmlText = _root.news2;

       

      This is the xml code i have

       

      <url><![CDATA[<a href="http://www.google.com">www.google.com</a>]]></url>

       

       

      Problem i got is my scroll bar has dissapeared and my xml data isnt displaying anymore

       

       

      This is my output error

       

      _level0.page3_mc.instance111.newstext.news1.main.newsmain_txt
      <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#999999" LETTERSPACING="0" KERNING="0"><A HREF="http://www.google.com" TARGET="">www.google.com</A></FONT></P></TEXTFORMAT>

       

       

      Can anyone shed any light ???

       

       

      Thanks

        • 1. Re: Scroll bar and xml dissapeared
          kglad Adobe Community Professional & MVP

          that's not an error message.

           

          is that the output from a trace() function?  if yes, what trace() function and is that output different from what you expect?

          • 2. Re: Scroll bar and xml dissapeared
            swif mcvay Level 1

            Yes it is from a trace()

             

            the trace im using is

             

            trace(news1.main.newsmain_txt);
            trace(news1.main.newsmain_txt.htmlText);

             

            I dont know what im expecting to be honest , all i know is my xml text is not displaying and my scroll bar has dissapeared after making the txt html and true

             

            im hitting my head against a brick wall here,

             

            it was working perfect, all i wanted to do was add a simple html link to another swf file i made,

             

            would that work instead??

             

            For example, I have created a swf, and i wanted a link in my xml to link to that, is it easier to link to another swf than it it is to a html link????

             

            Thanks

            • 3. Re: Scroll bar and xml dissapeared
              kglad Adobe Community Professional & MVP

              that output is what you expected from _root.news2.

               

              why are you applying _root.news2 to news1's textfield.  did you have that working correctly before when you were using:

               

              news1.main.newsmain_txt.htmlText = _root.news1;