SWFAddress is distributed as a top level class. Projects that utilize code packages should use it with the com.asual.swfaddress package.
| onChange:Function [static]
Change event.
|
| onExternalChange:Function [static]
External change event.
|
| onInit:Function [static]
Init event.
|
| onInternalChange:Function [static]
Internal change event.
|
|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[static]
Registers an event listener.
|
|
back():void
[static]
Loads the previous URL in the history list.
|
|
dispatchEvent(event:Event):Boolean
[static]
Dispatches an event to all the registered listeners.
|
|
forward():void
[static]
Loads the next URL in the history list.
|
|
up():void
[static]
Navigates one level up in the deep linking path.
|
|
getBaseURL():String
[static]
Provides the base address of the document.
|
|
getHistory():Boolean
[static]
Provides the state of the history setting.
|
|
getParameter(param:String):Object
[static]
Provides the value of a specific query parameter as a string or array of strings.
|
|
getParameterNames():Array
[static]
Provides a list of all the query parameter names.
|
|
getPath():String
[static]
Provides the deep linking value without the query string.
|
|
getPathNames():Array
[static]
Provides a list of all the folders in the deep linking path.
|
|
getQueryString():String
[static]
Provides the query string part of the deep linking value.
|
|
getStatus():String
[static]
Provides the status of the browser window.
|
|
getStrict():Boolean
[static]
Provides the state of the strict mode setting.
|
|
getTitle():String
[static]
Provides the title of the HTML document.
|
|
getTracker():String
[static]
Provides the tracker function.
|
|
getValue():String
[static]
Provides the current deep linking value.
|
|
go(delta:Number):void
[static]
Loads a URL from the history list.
|
|
hasEventListener(type:String):Boolean
[static]
Checks the existance of any listeners registered for a specific type of event.
|
|
href(url:String, target:String = "_self"):void
[static]
Opens a new URL in the browser.
|
|
popup(url:String, name:String = "popup", options:String = "", handler:String = ""):void
[static]
Opens a browser popup window.
|
|
removeEventListener(type:String, listener:Function):void
[static]
Removes an event listener.
|
|
resetStatus():void
[static]
Resets the status of the browser window.
|
|
setHistory(history:Boolean):void
[static]
Enables or disables the creation of history entries.
|
|
setStatus(status:String):void
[static]
Sets the status of the browser window.
|
|
setStrict(strict:Boolean):void
[static]
Enables or disables the strict mode.
|
|
setTitle(title:String):void
[static]
Sets the title of the HTML document.
|
|
setTracker(tracker:String):void
[static]
Sets a function for page view tracking.
|
|
setValue(value:String):void
[static]
Sets the current deep linking value.
|
public static var onChange:FunctionChange event.
public static var onExternalChange:FunctionExternal change event.
public static var onInit:FunctionInit event.
public static var onInternalChange:FunctionInternal change event.
public static function addEventListener(type:String, listener:Function):voidRegisters an event listener.
type:String — Event type.
listener:Function — Event listener.
useCapture:Boolean — Determines whether the listener works in the capture phase or the target and bubbling phases.
priority:int — The priority level of the event listener.
useWeakReference:Boolean — Determines whether the reference to the listener is strong or weak.
public static function back():voidLoads the previous URL in the history list.
public static function dispatchEvent(event:Event):BooleanDispatches an event to all the registered listeners.
event:Event — Event object.
Boolean
public static function forward():voidLoads the next URL in the history list.
public static function getBaseURL():StringProvides the base address of the document.
String
public static function getHistory():BooleanProvides the state of the history setting.
Boolean
public static function getParameter(param:String):ObjectProvides the value of a specific query parameter as a string or array of strings.
param:String — Parameter name.
String
public static function getParameterNames():ArrayProvides a list of all the query parameter names.
Array
public static function getPath():StringProvides the deep linking value without the query string.
String
public static function getPathNames():ArrayProvides a list of all the folders in the deep linking path.
Array
public static function getQueryString():StringProvides the query string part of the deep linking value.
String
public static function getStatus():StringProvides the status of the browser window.
String
public static function getStrict():BooleanProvides the state of the strict mode setting.
Boolean
public static function getTitle():StringProvides the title of the HTML document.
String
public static function getTracker():StringProvides the tracker function.
String
public static function getValue():StringProvides the current deep linking value.
String
public static function go(delta:Number):voidLoads a URL from the history list.
delta:Number — An integer representing a relative position in the history list.
public static function hasEventListener(type:String):BooleanChecks the existance of any listeners registered for a specific type of event.
type:String — Event type.
Boolean
public static function href(url:String, target:String = "_self"):voidOpens a new URL in the browser.
url:String — The resource to be opened.
target:String (default = "_self") — Target window.
public static function popup(url:String, name:String = "popup", options:String = "", handler:String = ""):voidOpens a browser popup window.
url:String — Resource location.
name:String (default = "popup") — Name of the popup window.
options:String (default = "") — Options which get evaluted and passed to the window.open() method.
handler:String (default = "") — Optional JavsScript handler code for popup handling.
public static function removeEventListener(type:String, listener:Function):voidRemoves an event listener.
type:String — Event type.
listener:Function — Event listener.
public static function resetStatus():voidResets the status of the browser window.
public static function setHistory(history:Boolean):voidEnables or disables the creation of history entries.
history:Boolean — history History state.
public static function setStatus(status:String):voidSets the status of the browser window.
status:String — Status value.
public static function setStrict(strict:Boolean):voidEnables or disables the strict mode.
strict:Boolean — strict Strict mode state.
public static function setTitle(title:String):voidSets the title of the HTML document.
title:String — Title value.
public static function setTracker(tracker:String):voidSets a function for page view tracking. By default both 'urchinTracker' and 'pageTracker._trackPageview' are automatically invoked.
tracker:String — Tracker function.
public static function setValue(value:String):voidSets the current deep linking value.
value:String — A value which will be appended to the base link of the HTML document.
© 2006-2009 Rostislav Hristov, Asual DZZD