The <richinputtext> component allows you to add basic
rich text properties, such as bolding and italics, to input text.
<canvas bgcolor="blue" height="60">
<richinputtext width="200" x="20" y="20">default text goes here</richinputtext>
</canvas>
| Name | Type (tag) | Type (js) | Default | Category |
|---|---|---|---|---|
defaultformat
|
expression | any | read/write | |
| The default format to use for inserted and typed text. Flash support for default formatting of text is not reliable. The default format will sometimes but rarely be observed. To ensure that Flash uses the default format you want when the user types new text, format the character after the insertion point. See the example, also in test-richinputtext.lzx, shows an example of using this trick. | ||||
antiAliasType, direction, gridFit, hasdirectionallayout, hscroll, letterspacing, lineheight, maxhscroll, maxlength, maxscroll, multiline, pattern, resize, scroll, scrollevents, scrollheight, scrollwidth, selectable, sharpness, text, textalign, textdecoration, textindent, thickness, xscroll, yscroll
aaactive, aadescription, aaname, aasilent, aatabindex, align, backgroundrepeat, bgcolor, cachebitmap, capabilities, clickable, clickregion, clip, colortransform, context, contextmenu, cornerradius, cursor, fgcolor, focusable, focustrap, font, fontsize, fontstyle, frame, framesloadratio, hassetheight, hassetwidth, height, layout, loadratio, mask, opacity, pixellock, playing, proxyurl, resource, resourceheight, resourcewidth, rotation, shadowangle, shadowblurradius, shadowcolor, shadowdistance, showhandcursor, source, stretches, subviews, tintcolor, totalframes, unstretchedheight, unstretchedwidth, usegetbounds, valign, visibility, visible, width, x, xoffset, xscale, y, yoffset, yscale
classroot, cloneManager, datapath, defaultplacement, id, ignoreplacement, immediateparent, inited, initstage, name, nodeLevel, options, parent, placement, styleclass, subnodes, transition
Methods
addFormat, addText, clearText, escapeText, format, getAntiAliasType, getGridFit, getSelectionPosition, getSelectionSize, getSharpness, getText, getTextHeight, getTextWidth, getThickness, makeTextLink, setAntiAliasType, setGridFit, setHScroll, setMultiline, setResize, setScroll, setSelectable, setSelection, setSharpness, setText, setThickness, setXScroll, setYScroll
bringToFront, containsPt, getAttributeRelative, getBounds, getColor, getColorTransform, getContextMenu, getCurrentTime, getDepthList, getDisplayObject, getID3, getMouse, getNextSelection, getPan, getPrevSelection, getProxyURL, getTotalTime, getVolume, init, isBehind, isInFrontOf, isMouseOver, measureHeight, measureWidth, play, proxyurl, searchSubviews, seek, sendAAEvent, sendBehind, sendInFrontOf, sendToBack, setAAActive, setAADescription, setAAName, setAASilent, setAATabIndex, setAccessible, setAlign, setAttributeRelative, setBGColor, setClickable, setColor, setColorTransform, setContextMenu, setCursor, setHeight, setLayout, setOpacity, setPan, setPlay, setProxyPolicy, setProxyURL, setResource, setResourceNumber, setRotation, setShowHandCursor, setSource, setValign, setVisibility, setVisible, setVolume, setWidth, setX, setXOffset, setY, setYOffset, shouldYieldFocus, stop, stretchResource, unload, updateResourceSize
animate, applyConstraint, applyConstraintMethod, applyData, childOf, completeInstantiation, construct, createChildren, dataBindAttribute, destroy, determinePlacement, getOption, getUID, init, lookupSourceLocator, releaseConstraint, releaseConstraintMethod, searchImmediateSubnodes, searchSubnodes, setData, setDatapath, setOption, setSelected, updateData
Events
ondirection, onhscroll, onlineheight, onmaxhscroll, onmaxlength, onmaxscroll, onpattern, onscroll, onscrollevents, onscrollheight, onscrollwidth, onselectable, ontext, ontextlink, onxscroll, onyscroll
onaddsubview, onbackgroundrepeat, onblur, onclick, onclickable, onclip, oncontext, oncornerradius, ondblclick, onerror, onfocus, onframe, onframesloadratio, onheight, onkeydown, onkeyup, onlastframe, onload, onloadratio, onmousedown, onmousedragin, onmousedragout, onmouseout, onmouseover, onmousetrackout, onmousetrackover, onmousetrackup, onmouseup, onmouseupoutside, onopacity, onplay, onremovesubview, onshadowangle, onshadowblurradius, onshadowcolor, onshadowdistance, onstop, ontimeout, onvisible, onwidth, onx, ony
Copyright © 2002-2010 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.