Packageorg.wak.dialog.modern
Classpublic class ModernDialogMenu
InheritanceModernDialogMenu Inheritance DialogMenu Inheritance flash.display.Sprite

Display a modern style dialog menu.



Public Properties
 PropertyDefined by
 InheritedoptionHeight : Number
The height of the menu option and the menu separator space.
DialogMenu
 InheritedseparatorY : Number
The vertical space between dialog options.
DialogMenu
Public Methods
 MethodDefined by
  
ModernDialogMenu(pDialog:AdventureDialog, pWidth:Number, pMenuOptionHeight:Number, pFont:String = "acknowtt", pUpColor:uint = 0xFFFFFF, pOverColor:uint = 0xFF0000, pSize:int = 13, pBold:Boolean = true, pEmbedFont:Boolean = true)
ModernDialogMenu
 Inherited
ActivateOption(pTopicId:String):void
Activates a dialog option asociated to the topic id in pTopicId
DialogMenu
 Inherited
SetOptionVisible(pTopicId:String, value:Boolean):void
Idem ActivateOption, but you can use it to disable an option.
DialogMenu
Public Constants
 ConstantDefined by
 InheritedTEXT_SELECTED : String = "text_selected"
[static]
DialogMenu
Constructor detail
ModernDialogMenu()constructor
public function ModernDialogMenu(pDialog:AdventureDialog, pWidth:Number, pMenuOptionHeight:Number, pFont:String = "acknowtt", pUpColor:uint = 0xFFFFFF, pOverColor:uint = 0xFF0000, pSize:int = 13, pBold:Boolean = true, pEmbedFont:Boolean = true)Parameters
pDialog:AdventureDialog
 
pWidth:Number
 
pMenuOptionHeight:Number
 
pFont:String (default = "acknowtt")
 
pUpColor:uint (default = 0xFFFFFF)
 
pOverColor:uint (default = 0xFF0000)
 
pSize:int (default = 13)
 
pBold:Boolean (default = true)
 
pEmbedFont:Boolean (default = true)