Chapter 7: Scripting Objects - MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference

Director scripting reference
Table of Contents

Advertisement

The scripting objects, also known as Xtra extensions, in Macromedia Director MX 2004 provide
access to the functionality of the software components that are installed with Director and extend
core Director functionary. The preexisting Xtra extensions provide capabilities such as importing
filters and connecting to the Internet. If you know the C programming language, you can create
your own custom Xtra extensions.
For an illustration of how the scripting objects relate to each other and to other objects in
Director, see
"Object model diagrams" on page
Fileio
Enables you to perform file input and output operations.
You can create a reference to a Fileio object by using the
-- Lingo syntax
objFileio = new xtra("fileio")
// JavaScript syntax
var objFileio = new xtra("fileio");
Method summary for the Fileio object
Method
closeFile()
createFile()
delete()
displayOpen()
displaySave()
error()
fileName()
getFinderInfo()
getLength()
getOSDirectory()
Scripting Objects
53.
operator.
new
readFile()
readLine()
readToken()
readWord()
setFilterMask()
setFinderInfo()
setNewLineConversion()
setPosition()
status()
version()
CHAPTER 7
137

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents