fire

public function fire(target:Node/Document/Window, name:String, evt:Object):Event
Fires the specified event name with object on target.

Params

Name Type Description
target Node/Document/Window Target element or object to fire event on.
name String Name of the event to fire.
evt Object Event object to send.

Returns

Event Event object.