Represents the active selection, which is a highlighted block of text or other elements in the document that a user or a script can carry out some action on.Members TableThe following table lists the members exposed by the selection object.Attributes/PropertiesPropertyDescriptiontypeRetrieves the type of selection. typ..
Defines the properties and methods inherited by objects in the Selection prototype chain. SyntaxHTMLN/AScriptingSelection.prototypeMembers TableThe following table lists the members exposed by the Selection Constructor object.Attributes/PropertiesPropertyDescriptiontypeRetrieves the type of selection. typeDetailRetriev..
Creates a TextRange object for the element.SyntaxoTextRange = object.createTextRange()Return ValueReturnsa TextRange object if successful, or null otherwise. RemarksUse a text range to examine and modify the text within an object.ExamplesThis example uses the createTextRange method to create a text range for the docume..
TextRange ObjectRepresents text in an HTML element. Members TableThe following table lists the members exposed by the TextRange object.Attributes/PropertiesPropertyDescriptionboundingHeightRetrieves the height of the rectangle that bounds the TextRange object. boundingLeftRetrieves the distance between the left edge of..
Creates a TextRange object from the current text selection, or a controlRange collection from a control selection. Syntaxrange = object.createRange()Return ValueReturnsthe created TextRange object.Standards InformationThere is no public standard that applies to this method. Applies Toselection, Selection ConstructorSee..
Creates a controlRange collection of nontext elements. SyntaxoControlRange = object.createControlRange()Return ValueReturns a controlRange collection if sucessful or a null value otherwise.RemarksCreates a selection range object for control-based selection rather than text-based selection.If a controlRange already exis..
controlRange CollectionA collection of elements returned by the createControlRange or createRange method.Members TableThe following table lists the members exposed by the controlRange object.Attributes/PropertiesPropertyDescriptionlengthSets or retrieves the number of objects in a collection.MethodsMethodDescriptionadd..
25.7.1. 问题在独立版本的Flex Builder中找不到Ant窗口。25.7.2. 解决办法安装Eclipse Java开发工具。25.7.3. 讨论要在独立版本的Flex Builder中使用Ant,你必须安装Eclipse Java开发工具。像下面这样做:在Flex Builder菜单条中选择Help-Software Updates-Find and Install.选择Search for New Features to Install然后点击Next。在对话框中选择..