Chapter 39: swfpanel object, Swfpanel.call(), Swfpanel object – Adobe Extending Flash Professional CS5 User Manual
Page 432
410
Last updated 5/2/2011
Chapter 39: swfPanel object
Availability
Flash CS4 Professional.
Description
The swfPanel object represents a Window SWF panel. Window SWF panels are SWF files that implement applications
you can run from the Flash authoring environment; they are available from the Window > Other Panels menu. By
default, Window SWF panels are stored in a subfolder of the Configuration folder (see “
For example, on Windows XP, the folder is in boot drive\Documents and Settings\user\Local Settings\Application
Data\Adobe\Flash CS4\language\Configuration\WindowSWF. A sample Window SWF panel is available; see
“
” on page 13. The array of registered Window SWF panels is stored in the
property.
Method summary
You can use the following method with the swfPanel object:
Property summary
You can use the following properties with the swfPanel object:
swfPanel.call()
Availability
Flash CS4 Professional.
Usage
swfPanel.call(request)
Parameters
request
Parameters to pass to the function (see “Description” and “Example” below).
Method
Description
Works in conjunction with the ActionScript
ExternalInterface.addCallback()
and
MMExecute()
methods to communicate with the SWF panel from the authoring
environment.
Sets the keyboard focus to the specified SWF panel.
Property
Description
Read-only; a string that represents the name of the specified Window SWF panel.
Read-only; a string that represents the path to the SWF file used in the specified Window SWF
panel.