ActiveX.setProperty()


 

Availability

 

Windows

 

Usage

 

ActiveXinstance.setProperty(propertyName:String, propertyType:String, newValue:String):Void

 

Parameters

 

propertyName:String A String reference to the Property Name

 

propertyType:String A String reference to the Property Type (string, boolean, integer)

 

newValue:String A String reference to the New Property Value

 

Returns

 

Nothing

 

Description

 

Will set the ActiveX/OLE Object's property value to the parameters specified.

 

Notes

 

The correct Property Type must be passed for this command to function correctly.

 

Example

 

We have a Shockwave Flash Object loaded in the instance myActiveX and we want to set the movie property:

 

myActiveX.setProperty("Movie", "string", "C:\\myMovies\\Movie1.swf");