MFAlpha Rich Text Editor version 1.1.0 bugs are fixed and I added two new properties “textBackgroundAlpha” & “textBorderAlpha” please check MFA RTE documenation.
MFAlpha Rich Text Editor is flash component for formating text in flash, its very easy to use: runs in a browser Flash plugin, run in Air applications, easy to embed into your webpage, fully customizable, just few lines of code. Also here is complete project, full source code so you can check the all classes and learn from it.
MFalpha Rich Text Editor properties:
editorWidth: int
Set size(width) of the MFAlphaRichTextEditor, default size is 500px.
enabled: Boolean
enable or disable component, by default property enabled is true.
font: Boolean
font property signifies the control to change the font in the editor. By default value is true.
fonts: Array
fonts property signifies the list of the font names which will be used within the control to
change the font. Default list is [“Arial”, “Tahoma”, “Times New Roman”].
colorPicker: Boolean
colorPicker property signifies the control to change the font color of the selected text inside the editor. By default value is true.
fontSize: Boolean
fontSize property signifies the control to change the font size in the editor. By default values is true.
fontSizes: Array
fontSizes propery signifies the list of the font sizes which will be used witin fontSize property. Default sizes are [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,………40].
bold: Boolean
bold property signifies the the control for strong text. By default is true.
italic:Boolean
italic property signifies the control for emphasis text. By default is true
underline:Boolean
underline property signifies the control for underline text. By default is true.
bullets: Boolean
bullets propery signifies the control for bullet text list. By default is true.
indent: Boolean
indent property signifies the control for text indent. By default is true.
alignLeft: Boolean
alignLeft property signifies the control for text paragraph align. By default is true.
alignRight: Boolean
alignRight property signifies the control for text paragraph align. By default is true.
alignCenter: Boolean
alignCenter property signifies the control for text paragraph align. By default is true.
alignJustify: Boolean
alignJustify property signifies the control for text paragraph align. By default is true.
kerning: Boolean
kerning property signifies the control for text kerning. By default is true and this property work only for textFields which are generated through the code.
link: Boolean
link property signifies the control for text linking, set hyperlink on the selected text. By default is true.
img: Boolean
img property signifies the control for adding images inside the text. By default is true.
undo: Boolean
undo property signifies the control for undo/redo functionality. By default is true.
letterSpacing: Boolean
letterSpacing property signifies the control for spacing between words in the text. By default is true.
letterSpaces: Array
letterSpaces property signifies the list of the spaces which will be used in letterSpacing property . Default spaces are [0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, …… 6].
lineSpacing: Boolean
lineSpacing property signifies the control for spacing between lines in the text. By default is true.
lineSpaces: Array
lineSpaces property signifies the list of the spaces which will be used in lineSpacing property . Default spaces are [0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, …… 6].
toggleHtml: Boolean
toggleHtml property signifies the control for switch between text and htmlTex code. By default is true.
lineSpacing: Boolean
lineSpacing property signifies the control for spacing between lines in the text. By default is true.
textBackground: Boolean
textBackground property signifies the background of the textField. By default is true.
textBackgroundColor: uint
textBackgroundColor property signifies the color of the text background. By default is 0xffffff.
textBorder: Boolean
textBorder property signifies the the border of the textField. By default is true.
textBorderColor: uint
textBorderColor property signifies the color of the text border. By default is 0×4891B7.
useScroll: Boolean
useScroll property signifies the scroller on the textField. By default is true.
scrollSize: Number
scrollSize property signifies the size of scroll text area. By default is 500px.
dropDownScrollSize: Number
dropDownScrollSize property signifies the size of the scroll area inside drop dwon menus. By default is 300px.
ImageRef class – is class which contain all properties of the image element and indicates at image in the textField. With this class you can modify image inside the textField.
url: String
url property signifies the path to the image. By default is null value.
align: String
align property signifies align(“left” or “right”) of the image. By default is “left”.
width: Number
width property signifies the width of the image. By default is 100px.
height: Number
height property signifies the height of the image. By default is 100px.
vspace: Number
vspace property signifies the vertical space around the image. By default is 0px.
hspace: Number
hspace property signifies the horizontal space around the image. By default is 0px.
function init(): void
function init();, adds a new picture or initialize any given modification.
function remove():void
function remove();, removes image from the textField.
LinkRef class – is class which contain all properties of the link element and indicates at link in the textField. With this class you can modify link inside the textField.
url: String
url property signifies the hyperlink. By default is null value.
target: String target property signifies how the link will be opened. By default is “_blank”, you can choose between “_blank”, “_self”, “_parent”, “_top”.
color: unit
color property signifies the color of the link element.
function init(): void
function init();, creates new link or initialize any given modification.
function remove():void
function remove(); , removes link.
Download Complete Documentation



