MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 389

Director scripting reference
Table of Contents

Advertisement

makeSubList()
Usage
XMLnode.makeSubList()
Description
Function; returns a property list from a child node the same way that
root of an XML document in list format.
Parameters
None.
Example
Beginning with the following XML:
<?xml version="1.0"?>
<e1>
<tagName attr1="val1" attr2="val2"/>
<e2>element 2</e2>
<e3>element 3</e3>
</e1>
This statement returns a property list made from the contents of the first child of the tag
put gparser.child[ 1 ].child[ 1 ].makeSubList()
-- ["tagName": ["!ATTRIBUTES": ["attr1": "val1", "attr2": "val2"]]]
See also
makeList()
map()
Usage
map(targetRect, sourceRect, destinationRect)
map(targetPoint, sourceRect, destinationRect)
Description
Function; positions and sizes a rectangle or point based on the relationship of a source rectangle
to a target rectangle.
The relationship of the
the function to the
Parameters
Required. The target rectangle in the relationship.
targetRect
Required. The target point in the relationship.
targetPoint
Required. The source rectangle in the relationship.
sourceRect
destinationRect
to the
targetRect
.
destinationRect
Required. The destination rectangle.
governs the relationship of the result of
sourceRect
returns the
makeList()
<e1>
map()
:
389

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents