Flash'In'App - ESSilverlightView - Instance methods

setInitParams:

This method sets initial parameters (initParams) for the movie.
- (void) setInitParams:(NSString *)aValue;
Discussion
setInitParams: method has to be called before loading any movie.
Should you be changing movie initial parameters in runtime, you will need to reload the movie (loadMovie:atURL:withBaseURL:).

 

initParams

This method gets initial parameters (initParams) used during movie loading.
- (NSString *) initParams;

Return Value

Initial parameters for the movie.

 

setMinRuntimeVersion

This method sets minimum version of runtime (minRuntimeVersion) for the movie.
- (void) setMinRuntimeVersion:(NSString *)aValue;
Discussion
setMinRuntimeVersion: method has to be called before loading any movie.
Should you be changing movie minimum version of runtime, you will need to reload the movie (loadMovie:atURL:withBaseURL:).


minRuntimeVersion

This method gets minimum version of runtime (minRuntimeVersion) used during movie loading.

- (NSString *) minRuntimeVersion;

Return Value
Minimum version of runtime for the movie.

 

setAttributeKeys:andValues:

This method lets you set all the rest of parameters provided by Microsoft.

- (void)setAttributeKeys:(NSArray *)keys andValues:(NSArray *)values; 

Parameters
keys - keys array
values - values
array

Discussion
setAttributeKeys:andValues: method has to be called before loading any movie.
Should you be changing movie parameters in runtime, you will need to reload the movie (loadMovie:atURL:withBaseURL:).

 

attributeKeys

This method lets you get keys array.

- (NSArray *) attributeKeys;

Return Value
Keys array.

 

attributeValues
This method lets you get values array.
- (NSArray *) attributeValues;
Return Value
Values array.

 

silverlightView:callFunction:withArguments:

This method is called when the message from Silverlight is received.

- (id) silverlightView:(ESSilverLightView *)aSilverlightView callFunction:(NSString *)aName withArguments:(NSArray *)anArguments;

Parameters
aSilverlightView - the Silverlight view that sent the message
aName - the name of the function that was called
anArguments - the arguments, the function was called with