next up previous contents
Next: position Up: Properties Previous: mode   Contents


notify

Description

Boolean. Directs the device to trigger an onNotify event.


Syntax

mci.notify


Example

    function m_notify(flag)
    {
        trace("command finished.");
        m.notify = false;
        m.command = "close";
    }

    m = new MCI;
    m.deviceType = "cdaudio";
    m.command = "open";
    m.notify = true;
    m.onNotify = m_notify;
    m.command = "eject";




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.