
44
DREAMWEAVER API REFERENCE
Flash integration
Last updated 8/27/2013
• The code PlugPlugErrorCode_extensionRegistrationFailed indicates that you were unable to register the
control.
dreamweaver.flash.requestStateChange()
Availability
Dreamweaver CS4.
Description
This function changes the state of the floating panel identified by uniqueID for the extension with extensionID.
Arguments
controlID, stateChange, stateData
• The controlID argument is a string value.
• The stateChange argument is a string with the following possible values:
• The values of the stateData argument are strings as shown in the following table:
Returns
The following table contains the return values, which are strings:
Value Description
Move Change of origin but not the size
Resize New size and possibly a new origin
Show Visibility only, but no geometric changes
Hide Visibility only, but no geometric changes
Minimize Like hide, but explains why it is hidden
Restore Like show, but explains why it is displayed
Open The window is created and its extension is loaded
Close The contained extension is unloaded
Value of stateChange Value of stateData
Move
eventData = { topleftx: Number, toplefty: Number }
Resize
eventData = { width: Number, height: Number }
Value Description
RequestPosted An event or command to execute the request has been queued in the host application.
RequestComplete The host application has successfully completed the request.
RequestFailed The host application attempted to complete the request, but failed.
RequestDenied The host application refused the request, typically because it doesn't support the action requested.
Komentarze do niniejszej Instrukcji