Multimedia Guide and Reference

lastError (MtLastError) - Read-only

The lastError attribute represents the last multimedia error that occurred. Typically, you do not make a connection to this attribute but instead, tear it off. By tearing it off, you gain access to information about the specific error that occurred, such as the error number and related message text.

For example, if you want to display a message box when an error occurs, tear off the lastError attribute. You can now connect the errorOccured event to the display action of the last error object to display the message box.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]