I believe the error is because of the accent...you should use <desc><![CDATA[....
And.. You could try passing text to the htmlText attribute on the text area --- In [email protected], "tonyx_788" <[EMAIL PROTECTED]> wrote: > > Hi, > anyone knows how i can make a specific text (in a textarea) bold > > here is part of the > ****XML***** > <datos> > <nombre dato="A orillas de una laguna."> > <desc> <B>353</B> Libro de Edmundo Batres Ledón, <B>353</B>Roque > Ballinas Ballinas, <B>353</B>Francisco Fonz Chan, consta de 75 pp. La > edición fue de 1,000 ejemplares. > </desc> > </nombre> > > > and the > ***CSS******** > > B > { > font-family: Arial; > font-size:16.5; > font-weight:bold > } > > > iwant it to look like this: > > ************************************************************************\ > * > 353 Libro de Edmundo Batres Ledón, 353 Roque Ballinas Ballinas, > 353 Francisco Fonz Chan, consta de 75 pp. > ************************************************************************\ > * > > main.mxml > ..... > <mx:Style source="main.css"/> > .... > <mx:TextArea width="439" height="100%" > id="areadetexto" text="{datagrid.selectedItem.desc}" > editable="false" > wordWrap="true" backgroundImage="FONDOS/fondo.gif" > textAlign="justify" fontStyle="main.css"> > </mx:TextArea> > .... > > > when i compile.... > > Error: code:Client.CouldNotDecode string:'Error #1096: XML parser > failure: Unterminated element' detail:'null' > at > mx.rpc.http::HTTPService/http://www.macromedia.com/2005/flex/mx/internal\ > ::processResult() > at > mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/internal:\ > :resultHandler() > at flash.events::EventDispatcher/dispatchEvent() > at mx.rpc::Producer/acknowledge() > at > C:\dev\enterprise_beta1\frameworks\libs\framework.swc(mx/validators/Vali\ > dator)$132::DirectHTTPMessageResponder/completeHandler() > at flash.events::EventDispatcher/dispatchEvent() > at flash.net::URLLoader/flash.net:URLLoader::onComplete() > ------------------------ Yahoo! Groups Sponsor --------------------~--> Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

