Zeus Productions
Zingo Dictionary
Copyright © 1996-1997.
Zeus Productions. All Rights Reserved.
Select a letter to view that portion of the alphabet
D
date
deactivateWindow
delay
delete
deleteAll
deleteAt
deleteFrame
deleteOne
deleteProp
depth of member
desktopRectList
directToStage of member
digitalVideo
digitalVideoTimeScale
digitalVideoType of member
do
dontPassEvent
doubleClick
down
downloadNetThing
drawRect of window
dropShadow of member
duplicate(list)
duplicate member
duplicateFrame
duration of member
It is neither documented nor surprising that "duplicate (member)"
returns the newly created cast member.
Here are some surprises:
1. If you duplicate, say member 2 of castLib 3, and it creates, say, member
10 of castLib 3, the result is just "10". The castlib number
is not returned, so there is no way to tell which castlib it is in. I guess
the assumption is that it is in the same castlib.
2. The default castlib is castlib 1, even if some other castlib is active.
This is in contrast to, say, the number of members property which assumes
the activeCastLib.
3. You can duplicate castmembers across different castlibs.
4. It will duplicate an empty castmember, so long as the cast member is
less than the "number of members" property. So, if you have a
castmember in position 100, but none in position 85, this will erase castmember
100
duplicate member 85, member 100
5. If you duplicate the last castmember without specifying a destination,
it wraps around to the beginning of the cast to find the next open space.
At one point, I thought it mistakenly replaced cast member 1, which was
occupied. I was either hallucinating, or had specified member 1 as the
explicit destination.
C'est la Director.
Regards,
Bruce Epstein
Zeus Productions
bruce@zeusprod.com
*******
Zeus Productions also offers custom Lingo and Director development! Give
us a call 1-800-797-2968 (US & Canada), 1-732-398-1682 (Int'l)
Coming Spring 1998:
"Director in a Nutshell" published by O'Reilly & Associates
http://www.zeusprod.com/nutshell
*******
Home (Spotlight) | Table
of Contents | Links | Contact
Info
Place an Order | Products
for Sale | Licensing | Downloads
TechNotes | FAQs
| E-Mail Zeus | GuestBook
| Glossary
Copyright © 1996-1997. Zeus
Productions. All Rights Reserved.
(This page last revised August 25, 1997)