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/Validator)$132::DirectHTTPMessageResponder/completeHandler()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to