mWindow.onDragString()

Availability

Windows: Flash 8 or 9 AS2.0 SWF + mProjector 3.0; Windows 98/ME/NT Support: Flash 7 SWF + mProjector 2.0;

Macintosh: Not Yet Available

Usage

mWindow.onDragString = function (text:String) {
   // your statements here
}

Parameters

text - Text string being dragged into the window.

Returns

A boolean.; ;

Description

Event handler; An event handling function called when a text string is dragged into a window. This function should return "true" to continue the dragging session. It should be combined with the mWindow.onDropString() and mWindow.onDragLeave() functions.

Example

The following example sets a new onDragString() event handling function.

mWindow.onDragString = function (text)
{
    return true;
}