| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.1 |
The FileEvent class represents event objects that are specific to
the FileSystemList, FileSystemDataGrid, FileSystemTree
and FileSystemComboBox controls.
public var file:File| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.1 |
The File instance associated with this event.
public function FileEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, file:File = null)| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.1 |
Constructor.
Parameters | type:String — The event type;
indicates the action that caused the event.
|
| |
| bubbles:Boolean (default = false) — Specifies whether the event
can bubble up the display list hierarchy.
|
| |
| cancelable:Boolean (default = false) — Specifies whether the behavior
associated with the event can be prevented.
|
| |
| file:File (default = null) — The File instance associated with this event.
|
public static const DIRECTORY_CHANGE:String = directoryChange| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.1 |
The FileEvent.DIRECTORY_CHANGE constant defines the value of the
type property of the event object for a
directoryChange event.
The properties of the event object have the following values:
| Property | Value |
|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
file | The File object associated with this event. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | FileEvent.DIRECTORY_CHANGE |
public static const DIRECTORY_CHANGING:String = directoryChanging| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.1 |
The FileEvent.DIRECTORY_CHANGING constant defines the value of the
type property of the event object for a
directoryChanging event.
The properties of the event object have the following values:
| Property | Value |
|---|
bubbles | false |
cancelable | true |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
file | The File object associated with this event. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | FileEvent.DIRECTORY_CHANGING |
public static const DIRECTORY_CLOSING:String = directoryClosing| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.1 |
The FileEvent.DIRECTORY_CLOSING constant defines the value of the
type property of the event object for a
directoryClosing event.
The properties of the event object have the following values:
| Property | Value |
|---|
bubbles | false |
cancelable | true |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
file | The File object associated with this event. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | FileEvent.DIRECTORY_CLOSING |
public static const DIRECTORY_OPENING:String = directoryOpening| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.1 |
The FileEvent.DIRECTORY_OPENING constant defines the value of the
type property of the event object for a
directoryOpening event.
The properties of the event object have the following values:
| Property | Value |
|---|
bubbles | false |
cancelable | true |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
file | The File object associated with this event. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | FileEvent.DIRECTORY_OPENING |
public static const FILE_CHOOSE:String = fileChoose| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.1 |
The FileEvent.FILE_CHOOSE constant defines the value of the
type property of the event object for a
fileChoose event.
The properties of the event object have the following values:
| Property | Value |
|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
file | The File object associated with this event. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | FileEvent.FILE_CHOOSE |
Mon Dec 24 2012, 01:18 PM +11:00