Creates an instance of the TextFX component.
TextFXMain(container_:Sprite, inEffectName_:String, middleEffectName_:String, outEffectName_:String, actionEffectName_:String, inEffectProperties_:String, middleEffectProperties_:String, outEffectProperties_:String, actionEffectProperties_:String, htmlText_:String, customBlocks_:Array, textFXProperties_:String = "")
Name |
Type |
Description |
|---|---|---|
| container_ | Sprite | The Sprite object that will contain the text effect elements |
| inEffectName_ | String | The name of the employed In effect |
| middleEffectName_ | String | The name of the employed Wait effect |
| outEffectName_ | String | The name of the employed Out effect |
| actionEffectName_ | String | The name of the employed dynamic effect |
| inEffectProperties_ | String | A String containing all the properties of the employed In effect |
| middleEffectProperties_ | String | A String containing all the properties of the employed Wait effect |
| outEffectProperties_ | String | A String containing all the properties of the employed Out effect |
| actionEffectProperties_ | String | A String containing all the properties of the employed dynamic effect |
| htmlText_ | String | The target text with the HTML elements used to format it |
| customBlocks_ | Array | The array containing the positions of the custom block separators in the text |
| textFXProperties_ | String | A String containing all the general properties of the component |