Packagegs.display.decorators
Classpublic final dynamic class NavigateToLink
InheritanceNavigateToLink Inheritance Decorator Inheritance flash.utils.Proxy

The NavigateToLink class decorates any sprite, with "navigateToLink" functionality tied in with the model.

Examples are in the guttershark repository.



Protected Properties
 PropertyDefined by
 Inheritedmethods : Dictionary
Method lookup.
Decorator
 Inheritedprops : Dictionary
Props lookup.
Decorator
 InheritedproxyThrough : *
An optional proxy object that unknown methods or properties get sent to.
Decorator
 Inheritedsprite : *
The decorated object.
Decorator
Public Methods
 MethodDefined by
  
NavigateToLink(ml:Model, decorate:String, modelLinkId:String, reactToEvent:* = click)
Constructor for new NavigateToLink instances.
NavigateToLink
  
dispose():void
Dispose of this decorator.
NavigateToLink
  
goToLink():void
Navigates to the link.
NavigateToLink
Constructor detail
NavigateToLink()constructor
public function NavigateToLink(ml:Model, decorate:String, modelLinkId:String, reactToEvent:* = click)

Constructor for new NavigateToLink instances.

Parameters
ml:Model — The sprite to decorate.
 
decorate:String — The link id from the model to navigate to.
 
modelLinkId:String — What event to react to.
 
reactToEvent:* (default = click)
Method detail
dispose()method
public function dispose():void

Dispose of this decorator.

goToLink()method 
public function goToLink():void

Navigates to the link.