Packagecom.javactionscript.client
Classpublic class SWFAddressWrapper

A wrapper class that uses SWFAddress in order to manage multiple parameters through one anchor URL. There are no specific event types because the names of the parameters have to be used instead.

References for the original SWFAddress software:
SWFAddress v1.1: Deep linking for Flash. URL: http://www.asual.com/swfaddress
SWFAddress is (c) 2006 Rostislav Hristov and is released under the MIT License (http://www.opensource.org/licenses/mit-license.php)



Public Methods
 MethodDefined by
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[static] Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
SWFAddressWrapper
  
setDefaultParameter($name:String, $value:String):void
[static] Specifies a default value for the parameter.
SWFAddressWrapper
  
setParameter($name:String, $value:String):void
[static] Adds or updates the URL parameter.
SWFAddressWrapper
Method detail
addEventListener()method
public static function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void

Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event. There are no specific event types because the names of the parameters have to be used instead. .

Parameters
type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
useWeakReference:Boolean (default = false)
setDefaultParameter()method 
public static function setDefaultParameter($name:String, $value:String):void

Specifies a default value for the parameter.

Parameters
$name:String — the parameter name
 
$value:String — the parameter value
setParameter()method 
public static function setParameter($name:String, $value:String):void

Adds or updates the URL parameter.

Parameters
$name:String — the parameter name
 
$value:String — the parameter value