Packagecom.jumpeye.flashEff.core.interfaces
Interfacepublic interface IFeGroup

This interface should not be implemented by third party patterns. This interface is only presented for documentation purposes. The FlashEff component may break the target text into FeGroup elements, for text based patterns. The FeGroup objects contain words from the target text or lines of text.



Public Properties
 PropertyDefined by
  childs : Array
A list of Sprite objects containing the elements that the target text was broken into.
IFeGroup
  id : Number
The index of the current element in the list of elements (words or lines) the text was broken into.
IFeGroup
  properties : Object
All the properties of the current element, including information about its bounds.
IFeGroup
  text : String
The entire text on which the text pattern is applied.
IFeGroup
  type : String
[read-only] The type of the current object, basically a String representing the name of the class ("FeGroup");
IFeGroup
Public Methods
 MethodDefined by
  
cleanMe():void
Goes through the entire childs list and removes all the elements that are empty (do not contain any characters from the text).
IFeGroup
  
pushChild(arg:Object):Object
Creates and inserts a new FeGroup object to the end of the childs list.
IFeGroup
  
removeChildAtIndex(index:uint):Object
Removes from the childs list the child object found at the position specified by the index parameter.
IFeGroup
  
removeChilds():void
Removes all the children from childs.
IFeGroup
Property detail
childsproperty
childs:Array  [read-write]

A list of Sprite objects containing the elements that the target text was broken into. One such a Sprite object could contain a word, if the text was broken into words, or a line of text, if the text was broken into lines.

Implementation
    public function get childs():Array
    public function set childs(value:Array):void
idproperty 
id:Number  [read-write]

The index of the current element in the list of elements (words or lines) the text was broken into.

Implementation
    public function get id():Number
    public function set id(value:Number):void
propertiesproperty 
properties:Object  [read-write]

All the properties of the current element, including information about its bounds.

Implementation
    public function get properties():Object
    public function set properties(value:Object):void
textproperty 
text:String  [read-write]

The entire text on which the text pattern is applied.

Implementation
    public function get text():String
    public function set text(value:String):void
typeproperty 
type:String  [read-only]

The type of the current object, basically a String representing the name of the class ("FeGroup");

Implementation
    public function get type():String
Method detail
cleanMe()method
public function cleanMe():void

Goes through the entire childs list and removes all the elements that are empty (do not contain any characters from the text). Some of the elements from the childs list may get empty if a partial effect is applied on the text. In case of a partial effect, a part of the characters from the text will be removed from this list and placed into a second list, so the target text will be separated into two tables: a table will contain characters used for the main animation (partial effect) and the other one for the secondary animation.

See also

pushChild()method 
public function pushChild(arg:Object):Object

Creates and inserts a new FeGroup object to the end of the childs list.

Parameters
arg:Object — The object containing all the properties of the new FeGroup object.

Returns
Object — The FeGroup object that was just added.
removeChildAtIndex()method 
public function removeChildAtIndex(index:uint):Object

Removes from the childs list the child object found at the position specified by the index parameter.

Parameters
index:uint — The 0 based position of the target child object in the list.

Returns
Object — The child object that was removed from the list.
removeChilds()method 
public function removeChilds():void

Removes all the children from childs.