Textbox for spoken text from characters in the SCI interface.
bgColor:uint [read-write]Implementation
public function get bgColor():uint
public function set bgColor(value:uint):void
leftMargin:Number [write-only]Implementation
public function set leftMargin(value:Number):void
shadow:Boolean [write-only]Implementation
public function set shadow(value:Boolean):void
topMargin:Number [write-only]Implementation
public function set topMargin(value:Number):void
public function SciDialogTextDisplay(pText:String, pPortrait:MovieClip, pBg:DisplayObject, pIsDisplay:Boolean, pFont:String = "acknowtt", pFSize:int = 18, pColor:uint = 0xFFFFFF, pBold:Boolean = false, pEmbedFont:Boolean = true)
Constructor
Parameters
| pText:String — Text to say or show.
|
| |
| pPortrait:MovieClip — Image of the character speaking.
|
| |
| pBg:DisplayObject — Background image.
|
| |
| pIsDisplay:Boolean — true if this is a display info only, false for conversations.
|
| |
| pFont:String (default = "acknowtt") — Font type used.
|
| |
| pFSize:int (default = 18) — Font size used.
|
| |
| pColor:uint (default = 0xFFFFFF) — Font color used.
|
| |
| pBold:Boolean (default = false) — Font with bold style.
|
| |
| pEmbedFont:Boolean (default = true) — True if use embed fonts.
|
protected function OnAddedToStage(event:Event):voidParameters
protected function OnMouseClick(event:Event):voidParameters
protected function OnRemovedFromStage(event:Event):voidParameters
public function SetSize(pW:Number, pH:Number):voidParameters
Event object type: flash.events.Event
Dispatched when the user clicks anywhere.