Hi,

Iam using a dynamic textbox with autosize true.i am also using css to
with rollover and normal color to text links.
I am loading data from xml file,the text also conatin img tags for
images.
I am attaching images in the textbox along with text.

the problem is when i rollover the links the format of text changes.

Code:

The textNode in the xml file

"<text1><![CDATA[jdlfdf ddsd-dd-sdsdsdsd dsdsds dd dskdshks
sdsdsdsd<br>in its class. <a
href='asfunction:_root.displayGlossary'><u><B>Exte nded service
intervals</B></u></a>,<br><a
href='asfunction:_root.displayGlossary'><u><B>hdsk d hskd
hskhdks</B></u></a> (khskd hskdsk sgksgds dsgdkskd sdgskdgks dsdsk d
dssd ddsk d dsdskd), khskd sdshdk dsdksd hdskd sdsdk dshskhs ds dks d
dshdsk dssk dhskhdskd <br>cost. <br><br><a
href='asfunction:_root.displayGlossary'><u><B>The free full
maintenance</B></u></a> program covers all <br>ggddj sgdsjgdsjdsjd
sdjsgdj dsgdgsdjs dsdgs ds dsd<br>as indicated by the <a
href='asfunction:_root.displayGlossary'><u><B>hshs ds hskhdskhdskhds
skdsd.</B></u></a><br><br>khxkhcxkhcxkhcxc kcx hxchxk cxccx cxxcx
<br>khkhkhdf dfdhfd ddhf dfkdd fdfk fdhff dfkdfkd<br>ljdjsls ss sjs
djdsljdsljdsljdsl dsjdsl ds ds ds dljds ldsdsds<br>these:<br><br><img
src='arrow1' align='left'></img>ljljl jgflgf fjlfg ff<B>khkdhsds
hdskhdsk</B> (manual transmission)<br><br><img src='arrow1'
align='left'></img>khkhsk sh skdhskd ss<B>lhshdsl ds shsl
dshdlsd]]></text1>"



my CSS sheet contains:


Code:
a:link {
  color: #ffffff;
  text-decoration: underline;
}

a:active{
  color: #666666;
  text-decoration: underline;
}

.bullet {
        list-style-position: inside;
        list-style-type: disc;
        color:#ffffff;
        
}
my Code 


Code:
mytext.autoSize = true;
mytext.styleSheet = myCss;
mytext.htmlText = xmlText;
Another problem is if i make autosize property of textbox true then
images are not loaded in the textbox,so i place textbox with porper
height so that whole text covers in the textbox.

pls help
Thanks in advance.
__________________
Tarjinder Kumar 
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to