ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.icomm.assetplacement.model 

NavigatorHostInstance  - AS3 Asset Placement

Packagecom.adobe.icomm.assetplacement.model
Classpublic class NavigatorHostInstance
InheritanceNavigatorHostInstance Inheritance Object

Language Version: ActionScript 3.0
Product Version: Asset Placement Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

NavigatorHostInstance is a static class used for global access to the INavigatorHost interface. The application should call NavigatorHostInstance.initialization(value) during the handshaking process. This ensures the assetplacement components have access. For instance in your navigator application:
     class MyNavigator extends Application, implements INavigator
     {
         import com.adobe.portfolio.api.INavigator;
     
         public function set host(val:INavigatorHost):void
         {
             if(val)
                 {
                  NavigatorHostInstance.initialize(val);
     
                     //Other initialization...
             } 
                 else
                 {
                     NavigatorHostInstance.release();
                     
                     //Other cleanup code...
                 } 
         } 
     
     }
     
     

Related API Elements

com.adobe.portfolio.api.INavigator
com.adobe.portfolio.api.INavigatorHost


Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  value : INavigatorHost
[static] [read-only] Access the single INavigatorHost for the application.
NavigatorHostInstance
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
  
initialize(val:INavigatorHost):void
[static] Store the single INavigatorHost for the application This should be called during the handshaking between the host and the navigator.
NavigatorHostInstance
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
  
[static] Called during application shutdown to release the navigator host for this application.
NavigatorHostInstance
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

value

property
value:INavigatorHost  [read-only]

Language Version: ActionScript 3.0
Product Version: Asset Placement Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

Access the single INavigatorHost for the application.



Implementation
    public static function get value():INavigatorHost
Method Detail

initialize

()method
public static function initialize(val:INavigatorHost):void

Language Version: ActionScript 3.0
Product Version: Asset Placement Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

Store the single INavigatorHost for the application This should be called during the handshaking between the host and the navigator. Failure to do so means objects in the library will not have access to it.

Parameters

val:INavigatorHost

release

()method 
public static function release():void

Language Version: ActionScript 3.0
Product Version: Asset Placement Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

Called during application shutdown to release the navigator host for this application.