Extending Flash |
|
|
|
| Objects > Document object > document.setPlayerVersion() | |||
Flash CS3 Professional.
document.setPlayerVersion(version)
version A string that represents the version of Flash Player targeted by the specified document. Acceptable values are "FlashLite", "FlashLite11", "FlashLite20" , "1", "2", "3", "4", "5", "6", "7", "8", and "9". These values correspond to the Version drop-down list in the Publish Settings dialog box.
A value of true if the player version was successfully set; false otherwise.
Method; sets the version of the Flash Player targeted by the specified document. This is the same value as that set in the Publish Settings dialog box.
The following example targets Flash Lite 1.1 as the player version for the current document:
fl.getDocumentDOM().setPlayerVersion("FlashLite11");
|
|
|
|