Multimedia Guide and Reference

currentFile (MTDigitalVideo) - Read-only

The currentFile attribute represents the file inside the player. 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 file like the file name and its length.

For example, if you want to display the name of the file that the Digital Video Player is playing, tear off the currentFile attribute. You now have access to the current file's attributes and can connect the fileName attribute to the object attribute of a label.


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