Is there COMPLETE SIMPLE example of using html and actionscript to format text anywhere ? I want to make an mxml tag, and then I want to change the font size with action script. I have spent 2 days trying to figure this out. Why is it so hard ?
All the examples I have found go on for hundreds of lines with all sorts of extra added complications that have nothing to do with simply changing the font size. I have numerous books, including the action script 3.0 cookbook and the examples are completely worthless because they say stuff like field.html=true without giving any clues as to what "field" is. In other words, the examples are not complete. I have tried various controls and all I get is errors. Seriously, why doesn't Adobe hire someone to write COMPLETE SIMPLE examples ? Alex Harui wrote: > > 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/Highlighter_Sample.swf> > > > > <http://flexlib.googlecode.com/svn/trunk/examples/Highlighter/Highlighter_Sample.swf > > > <http://flexlib.googlecode.com/svn/trunk/examples/Highlighter/Highlighter_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/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>>> > > > > > > > > > > > > > > > > > > > ------------ --------- --------- --------- --------- --------- - > > > 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/newsearch/category.php?category=shopping > > > <http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearch/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>> > > > >