Actually CSSFontFaceBead might be a better example. On 7/6/16, 7:24 AM, "Alex Harui" <aha...@adobe.com> wrote:
> > >On 7/6/16, 7:18 AM, "Harbs" <harbs.li...@gmail.com> wrote: > >>Right. Are there existing examples of applying this kind of styling >>(thinly wrapped) in FlexJS? Or do I need to make it up as I go along? > >In theory, we try to use CSS unmodified in SWF code. There are beads like >SingleLineBorderBead that are SWF only. > >> >>Along the same lines, and suggestions as to the best way to going about >>this in FlexJS? >>comp.styleManager.getStyleDeclaration(s).setStyle("fontFamily",font); > >Changing styles in Declarations should be done in ValuesManager if it >isn't already. > >-Alex >