Package | com.gestureworks.cml.elements |
Class | public class HTML |
Inheritance | HTML ![]() ![]() ![]() |
var html:HTML = new HTML(); html.load( addChild(html);
Property | Defined By | ||
---|---|---|---|
![]() | autoShuffle : Boolean
autoshuffles
| TouchContainer | |
baseURL : String
Get/Set the base URL. | HTML | ||
![]() | childList : ChildList
Returns the object's childList. | TouchContainer | |
![]() | className : String
sets the class name of displayobject
| TouchContainer | |
![]() | cloneExclusions : Vector.<String> [read-only]
Returns a list of properties to exclude when cloning this object
| TouchContainer | |
![]() | cmlIndex : int
Returns the index created by the CML parser. | TouchContainer | |
![]() | dimensionsTo : Object
Sets the dimensions of TouchContainer to given object
| TouchContainer | |
![]() | dropShadow : Boolean
Sets the drop shadow effect
| TouchContainer | |
![]() | group : String | TouchContainer | |
height : Number [override]
Sets the height. | HTML | ||
![]() | heightPercent : Number
sets the height of the container
| TouchContainer | |
hideFlash : Boolean
Sets whether or not if Flash will be hidden (object/embed). | HTML | ||
hideFlashType : String
Sets the specific type flash embed. | HTML | ||
_horizontalScroll : ScrollBar | HTML | ||
html : HTMLLoader [read-only]
Returns html object
| HTML | ||
![]() | id : String
Returns the object's id. | TouchContainer | |
![]() | layout : *
specifies the type of layout
| TouchContainer | |
![]() | layoutList : Dictionary | TouchContainer | |
lockBaseURL : Boolean
Locks base url. | HTML | ||
![]() | mouseChildren : Boolean [override]
sets the mousechildren value to true or false. | TouchContainer | |
![]() | paddingBottom : Number
Sets the number of pixels between the container's bottom border and the bottom of its content area. | TouchContainer | |
![]() | paddingLeft : Number
Sets the number of pixels between the component's left border and the left edge of its content area. | TouchContainer | |
![]() | paddingRight : Number
Sets the number of pixels between the component's right border and the right edge of its content area. | TouchContainer | |
![]() | paddingTop : Number
Sets the number of pixels between the container's top border and the top of its content area. | TouchContainer | |
![]() | position : *
Sets the position
| TouchContainer | |
![]() | relativeX : Boolean
When set true this containers children's x position will be laid out relatively
to each other. | TouchContainer | |
![]() | relativeY : Boolean
When set true this containers children's y position will be laid out relatively
to each other. | TouchContainer | |
smooth : Boolean
Sets whether or not to smooth the rendered html page
| HTML | ||
![]() | sound : String | TouchContainer | |
src : String
Sets the src URL and sends load request. | HTML | ||
srcString : String | HTML | ||
![]() | state : Dictionary | TouchContainer | |
![]() | stateId : *
Returns the current state id. | TouchContainer | |
![]() | toBitmap : Boolean | TouchContainer | |
_verticalScroll : ScrollBar | HTML | ||
width : Number [override]
Sets the width;
| HTML | ||
![]() | widthPercent : Number
sets the width of the container
| TouchContainer |
Method | Defined By | ||
---|---|---|---|
HTML()
Constructor
| HTML | ||
![]() | activateTouch():void | TouchContainer | |
![]() | addAllChildren():void
method searches the child and adds to the list
| TouchContainer | |
![]() | addChild(child:DisplayObject):DisplayObject [override]
Adds child to display list and, if not already added, the child list
| TouchContainer | |
![]() | addChildAt(child:DisplayObject, index:int):DisplayObject [override]
Adds child to display list and, if not already added, the child list
| TouchContainer | |
![]() | applyLayout(value:* = null):void
Apply the containers layout
| TouchContainer | |
![]() | childToList(id:String, child:*):void
child appended to the childlist
| TouchContainer | |
![]() | clone():*
Clone method
| TouchContainer | |
dispose():void [override]
Destructor
| HTML | ||
generateSmoothVersion():void
Smoothing Function
| HTML | ||
![]() | getElementById(id:String):*
Searches CML childList by id. | TouchContainer | |
![]() | getElementsByClassName(className:String):Array
Searches the CML childList by className. | TouchContainer | |
![]() | getElementsByTagName(tagName:Class):Array
Searches the CML childList by tagName as Class. | TouchContainer | |
goBack():void
Go back in history
| HTML | ||
goForward():void
Go forward in history
| HTML | ||
init():void [override]
Initialisation method
| HTML | ||
![]() | loadState(sId:* = null, recursion:Boolean = false):void
Loads state by index number. | TouchContainer | |
loadURL(URL:String):void
Load url
| HTML | ||
![]() | makeGestureList(value:XMLList):Object
Creates gestureList object from XML
| TouchContainer | |
onRender(event:Event):void | HTML | ||
parseCML(cml:XMLList):XMLList [override] | HTML | ||
![]() | postparseCML(cml:XMLList):void
Abstract method allows the setting of a postparse CML routine. | TouchContainer | |
![]() | querySelector(selector:String):*
Searches the CML childList by selector. | TouchContainer | |
![]() | querySelectorAll(selector:*):Array
Search the CML childList by selector. | TouchContainer | |
![]() | removeChild(child:DisplayObject):DisplayObject [override]
Removes child from display list and, if not already removed, the child list
| TouchContainer | |
![]() | removeChildAt(index:int):DisplayObject [override]
Removes child from display list and, if not already removed, the child list
| TouchContainer | |
![]() | removeChildren(beginIndex:int = 0, endIndex:int = 2147483647):void [override]
Removes children from display list and, if not already removed, the child list
| TouchContainer | |
![]() | saveState(sId:* = null, recursion:Boolean = false):void
Save state by index number. | TouchContainer | |
![]() | searchChildren(value:*, returnType:Class = null):*
This method does a depth first search of childLists. | TouchContainer | |
![]() | setDimensionsToChild():void
method sets the dimensions of each child
| TouchContainer | |
![]() | tweenState(sId:* = null, tweenTime:Number = 1):void
Tween state by stateIndex from current to given state index. | TouchContainer | |
![]() | updatePadding():void
Updates child padding within this container
| TouchContainer | |
![]() | updatePercentDim():void
Updates child percent dimensions within this container
| TouchContainer | |
![]() | updateProperties(state:* = 0):void
Updates properties from state. | TouchContainer | |
![]() | updateRelativePos():void
Updates child relative positions within this container
| TouchContainer |
Method | Defined By | ||
---|---|---|---|
onLocationChange(event:LocationChangeEvent):void
HTML location change event handler
| HTML | ||
onLocationChanging(event:LocationChangeEvent):void
HTML location currently changing event handler
| HTML | ||
onURLLoadComplete(event:*):void
HTML load complete event handler
| HTML | ||
onURLLoadError(event:*):void
HTML error event handler
| HTML |
_horizontalScroll | property |
public var _horizontalScroll:ScrollBar
_verticalScroll | property |
public var _verticalScroll:ScrollBar
baseURL | property |
baseURL:String
Get/Set the base URL. Initial URL loaded.
The default value is http://
.
public function get baseURL():String
public function set baseURL(value:String):void
height | property |
height:Number
[override] Sets the height.
public function get height():Number
public function set height(value:Number):void
hideFlash | property |
hideFlash:Boolean
Sets whether or not if Flash will be hidden (object/embed). hideFlashType = "display: none;" or "visibility:hidden;"
The default value is true
.
public function get hideFlash():Boolean
public function set hideFlash(value:Boolean):void
hideFlashType | property |
hideFlashType:String
Sets the specific type flash embed. Options are "display: none;" or "visibility:hidden;
The default value is visibility:hidden
.
public function get hideFlashType():String
public function set hideFlashType(value:String):void
html | property |
html:HTMLLoader
[read-only] Returns html object
public function get html():HTMLLoader
lockBaseURL | property |
lockBaseURL:Boolean
Locks base url. Set to true if you don't want users to be able to navigate awaw from http://www.xxxxxxx.xxx/
The default value is true
.
public function get lockBaseURL():Boolean
public function set lockBaseURL(value:Boolean):void
smooth | property |
smooth:Boolean
Sets whether or not to smooth the rendered html page
The default value is true
.
public function get smooth():Boolean
public function set smooth(value:Boolean):void
src | property |
src:String
Sets the src URL and sends load request.
public function get src():String
public function set src(value:String):void
srcString | property |
srcString:String
public function get srcString():String
public function set srcString(value:String):void
width | property |
width:Number
[override] Sets the width;
public function get width():Number
public function set width(value:Number):void
HTML | () | Constructor |
public function HTML()
Constructor
dispose | () | method |
override public function dispose():void
Destructor
generateSmoothVersion | () | method |
public function generateSmoothVersion():void
Smoothing Function
goBack | () | method |
public function goBack():void
Go back in history
goForward | () | method |
public function goForward():void
Go forward in history
init | () | method |
override public function init():void
Initialisation method
loadURL | () | method |
public function loadURL(URL:String):void
Load url
Parameters
URL:String |
onLocationChange | () | method |
protected function onLocationChange(event:LocationChangeEvent):void
HTML location change event handler
Parameters
event:LocationChangeEvent |
onLocationChanging | () | method |
protected function onLocationChanging(event:LocationChangeEvent):void
HTML location currently changing event handler
Parameters
event:LocationChangeEvent |
onRender | () | method |
public function onRender(event:Event):void
Parameters
event:Event |
onURLLoadComplete | () | method |
protected function onURLLoadComplete(event:*):void
HTML load complete event handler
Parameters
event:* |
onURLLoadError | () | method |
protected function onURLLoadError(event:*):void
HTML error event handler
Parameters
event:* |
parseCML | () | method |
override public function parseCML(cml:XMLList):XMLList
Parameters
cml:XMLList |
XMLList |