Flex/Flash has limited HTML support, but you can use the few tags it
does support to affect text in Text, Label, TextInput and TextArea.
Affecting one word of text in Button and other controls is trickier.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, January 16, 2008 10:41 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] inline styles

 

That looks like it applys styles to particular words, buts I studied the

code and I can't figure out how it does it.
I'm really regretting trying to learn how to use flex. Even the simplest

things take days to figure out and it leaves me so drained I just want 
to kill myself. I can't understand how something this complicated and 
difficult can possibly be successful. I just don't understand it. .

Sherif Abdou wrote:
> in the flexlib on google, i am guessing this is kinda what u want kind
of?
>
http://flexlib.googlecode.com/svn/trunk/examples/Highlighter/Highlighter
_Sample.swf
<http://flexlib.googlecode.com/svn/trunk/examples/Highlighter/Highlighte
r_Sample.swf>  
>
<http://flexlib.googlecode.com/svn/trunk/examples/Highlighter/Highlighte
r_Sample.swf
<http://flexlib.googlecode.com/svn/trunk/examples/Highlighter/Highlighte
r_Sample.swf> >
> 
> http://code.google.com/p/flexlib/wiki/ComponentList
<http://code.google.com/p/flexlib/wiki/ComponentList>  
> <http://code.google.com/p/flexlib/wiki/ComponentList
<http://code.google.com/p/flexlib/wiki/ComponentList> >
> similar ideas?
>
> ----- Original Message ----
> From: "[EMAIL PROTECTED] <mailto:info1%40reenie.org> "
<[EMAIL PROTECTED] <mailto:info1%40reenie.org> >
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> Sent: Wednesday, January 16, 2008 11:56:56 PM
> Subject: Re: [flexcoders] inline styles
>
> How do you apply any style to just 1 word. I know how to apply it to a
> text control but I don't know how to apply it to SOME words in the
text
> control. I can't even find 1 example .
>
> Sherif Abdou wrote:
> > if u wana underline one word why dont u just set the textDecoration
on
> > that word? what exactly do u want to do
> >
> > ----- Original Message ----
> > From: "[EMAIL PROTECTED] org <mailto:info1%40reenie.org>" <[EMAIL PROTECTED]

> org <mailto:info1%40reenie.org>>
> > To: [EMAIL PROTECTED] ups.com
<mailto:flexcoders%40yahoogroups.com>
> > Sent: Wednesday, January 16, 2008 8:09:37 PM
> > Subject: [flexcoders] inline styles
> >
> > I can't figure out how to make an inline style. For example, how to
> > underline 1 word?
> > This help file is wrong because it seem to think that formatting
text in
> > buttons is an example of an inline styles. The button seems like a
block
> > element to me. I can't find anything that would allow a style in
> > anything that is really inline. What would be the equivalent of html
> > span ?
> >
> > http://livedocs. <http://livedocs./ <http://livedocs./> > adobe.com/
<http://adobe.com/ <http://adobe.com/> > 
> flex/201/ html/wwhelp/ wwhimpl/common/
> > html/wwhelp. htm?context= LiveDocs_ Book_Parts& file=styles_
> > 069_25.html
> > <http://livedocs. adobe.com/ flex/201/ html/wwhelp/ wwhimpl/common/ 
> html/wwhelp. htm?context= LiveDocs_ Book_Parts& file=styles_ 
> 069_25.html 
>
<http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhe
lp.htm?context=LiveDocs_Book_Parts&file=styles_069_25.html
<http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhe
lp.htm?context=LiveDocs_Book_Parts&file=styles_069_25.html> >> 
>
> >
> >
> >
> >
> > ------------ --------- --------- --------- --------- --------- -
> > Looking for last minute shopping deals? Find them fast with Yahoo!
> > Search.
> > <http://us.rd. yahoo.com/ evt=51734/ *http://tools. search.yahoo. 
> com/newsearch/ category. php?category= shopping 
>
<http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsear
ch/category.php?category=shopping
<http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearc
h/category.php?category=shopping> >> 
>
> >
> >
>
>
>
> ----------------------------------------------------------
> Never miss a thing. Make Yahoo your homepage. 
> <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs
<http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs> >
> 

 

Reply via email to