execCommand

public function execCommand(cmd:String, ui:Boolean, val:Object, a:Object):void
Executed a command on editor that opened the dialog/popup.

Params

Name Type Description
cmd String Command to execute.
ui Boolean Optional boolean value if the UI for the command should be presented or not.
val Object Optional value to pass with the comman like an URL.
a Object Optional arguments object.