Hi,

I should populate <mx:ComboBox id="fontFamilyCombo"> (control inside
mx:RichTextEditor) with a new dataProvider data.


<mx:Array id="fontFamilyArray">
        <mx:String>Lucida</mx:String>
        <mx:String>Trebuchet</mx:String>
        <mx:String>Vera</mx:String>
</mx:Array>

<mx:RichTextEditor id="rte" creationComplete="onRTECreationComplete()">

private function onRTECreationComplete() : void {
          rte.fontFamilyCombo.dataProvider = fontFamilyArray;
          rte.fontFamilyCombo.selectedIndex = 0;
}

-- 
--
Med venlig hilsen / Best regards
Andriy Panas
[EMAIL PROTECTED]



> Does anyone know how to add more fonts to the drop down selection of a
> RichTextEditor ?
>
>
>

Reply via email to