DR Developer's Guide | MM Developer's Guide
DR Interfaces | DR Methods

Director Xtra Development Kit

Director Properties, Types, Structures, Macros, Constants

This document contains the following sections:

Director Properties

Cast properties
Symbol Type Get/Set Description Notes
maxMember integer G The index of the last occupied cast member slot  
memberCount integer G The number of occupied cast member slots in the cast Does not include "empty" cast member slots"
minMember integer G The index of the first occupied cast member slot  
modified integer G 1 if the castlib been changed, 0 if not Set by player
name string G/S Author-defined name of cast (!= filename) User sets in Cast Properties dialog
pathName string G/S Full pathname of cast. Set allowed only for linked casts Setting this swaps in new linked cast on-the-fly
preloadMode integer G/S Cast preload mode:
0 = none,
1 = before 1st frame,
2 = after first frame
 
version integer G File version of the castlib  
Authoring-only        
selection linear list G/S List indicating current cast selection List of lists. Each sublist specifies a continuous range of selected cast members, for example [[1, 5], [8, 12], [15,15]]
Notes:
The selection property provides a list of lists describing selected thumbnails in the cast. Each cast maintains its own selection. Each sublist contains two elements, integers for the "startRun" and "endRun" of a contiguous range of selected cast members. To find the active cast at author time, use the "activeCast" movie property. The maxMember property gives the same results as using the scripting expression castlib.member.count. There are not simple scripting properties equivalent to the memberCount or minMember properties provided by the Cast interface.
Cast member properties
General cast member properties
These common properties apply to Director cast members, including both internal and Xtra cast member types.
Symbol Type Get/Set Description Notes
castLibNum integer G Index of cast library in the movie.  
castType symbol G Type of cast member returned as symbol. Using "castType", text fields are returned as type #text (for Director 4.0 compat.)
comments string G/S Comments associated with the member  
creationDate date G Date the member was created in the Director cast  
fileName string G/S Full pathname of linked cast member, only valid for linked castMems, setting changes link on-the-fly  
height integer G Height of cast member's default rectangle  
hilite integer G/S 0=not hilighted, 1=highlighted  
linked integer G 0=not linked, 1=linked  
loaded integer G/S 0 = unloaded,
1= load. Setting to 0 unloads cast member, setting to 1 loads it
 
media media G/S Media for the member  
mediaReady integer G 0=media is not yet streamed 1=media is on local disk  
member castMem G CastMemRef of cast member  
modified integer G/S 0 = not modified since last save,
1 = props or media modified
 
modifiedBy string G Name of user who last modified the member  
modifiedDate date G Date the member was last modified  
name string G/S User-defined name of the cast member  
number integer G Integer repetition of castMemRef (high 16-bits = castLibIndex - 1)  
purgePriority integer G/S 0=never,
1=last,
2=next,
3=normal
 
rect rect G/S Cast member's default rectangle; set only allowed for text field  
regPoint point G/S Registration point for cast member. Currently can only set for bitmaps, returns (0,0) for all others  
scriptText string G/S The text of the cast member script  
scriptSyntax symbol G Returns #lingo or #javascript  
size integer G Memory currently occupied by cast member (in bytes)  
thumbnail picture G/S The thumbnail image for the member  
type symbol G Type of cast member returned as symbol. Using "type", text fields are returned as #field (Director 5.0 naming)
width integer G Width of cast member's default rectangle  
Cast type
The "castType" property of a cast member represents the type of the cast member. The valid BUILT-IN cast member type symbols are:
Name Description
#bitmap Static bitmap image of any pixel depth
#filmLoop Looped section of Director score (mini, embedded, non-interactive movie)
#text Block of styled text
#palette Color Look-Up Table (CLUT), associated with bitmap cast members
#picture Macintosh PICT (metafile-like) object
#sound Sound chunk (can be various sample rates/sizes, compressed, looped, and so on)
#button Simple button, created with the Director Tools palette
#shape Simple shape (square, oval, or line; filled or unfilled) created with Tools
#movie Linked (external) fully-interactive Director movie
#digitalVideo QuickTime or AVI movie
#script Lingo script (in styled text form)
#richText Block of Rich Text (new to Director 5.0; includes special formatting information)
#OLE Microsoft OLE object (new to Director 5.0)
#transition Transition and associated properties (new to Director 5.0)
In addition, other cast member types can be registered by Sprite and Transition Xtras. These types can be obtained using the IMoaDrPlayer methods such as GetCastMemTypeCount() and so on.
Bitmap cast member properties
Symbol Type Get/Set Description
depth integer G Pixel depth of bitmap (1,2,4,8,16,32)
palette integer G/S Palette of cast member as integer. Negative numbers indicate built-in palettes, positive numbers indicate cast-based palette
paletteRef castMem/symbol G/S Palette of cast member as castMemRef (cast-based palette) or symbol (built-in palette)
maskMember castMem G CastMemRef of cast member to be used as mask if mask ink applied
Button cast member properties
Symbol Type Get/Set Description
text string G/S The characters in the text field (null-terminated)
textStyle string G/S The styles used in the text field; comma-delimited, combination of: "bold", "italic", "underline", "outline", "shadow","condense", and "extend"
textFont string G/S The font of the entire text field
textHeight integer G/S The line height of every line in the text field
textSize integer G/S The font size of every character in the text field
foreColor integer G/S The foreground color index of every character in the text field
backColor integer G/S The background color of the text field
textAlign string G/S The alignment mode as a string: "left", "center", "right"
buttonType symbol G/S Style of the button as symbol: #pushButton, #checkBox, #radioButton
Digital video cast member properties and functions
Digital video cast member properties
Symbol Type Get/Set Description
loop integer G/S 0=don't loop, 1=loop
center integer G/S 0=don't center, 1=center
crop integer G/S 0=scale, 1=crop
sound integer G/S 0=sound disabled, 1=sound enabled
duration integer G Duration of movie in ticks (1/60th second)
controller integer G/S 0=hide controller, 1=show controller
directToStage integer G/S 0=composite (slower), 1=directToStage (faster)
frameRate integer G/S Framerate of movie: fixed frame rate or: 0=normal playback;
-1=play every frame, normal rate;
-2=play every frame, fast as possible.
pausedAtStart integer G/S 0=play immediately, 1=paused at start
video integer G/S 0=video disabled, 1=video enabled
preload integer G/S 0=disable preload into RAM,
1=enable preload into RAM
timeScale integer G Time scale of movie
tracks integer G Track count: number of tracks in the movie
track symbol G Track type of track #1: #video, #sound, #text, #music, #timeCode
startTime integer G Start time of track #1
stopTime integer G Stop time of track #1
digitalVideoType symbol G #quickTime or #videoForWindows
Digital video cast member functions
Name Returns Description
trackCount integer No arguments; returns number of tracks; this is the same as getting "tracks" property
trackType symbol argument 1: track number. Returns type of specified track. Similar to the "track" property but operates on any track.
trackStartTime integer argument 1: track number. Returns start time of specified track. Similar to "startTime" property but operates on any track
trackStopTime integer argument 1: track number. Returns stop time of specified track. Similar to "stopTime" property but operates on any track
Director movie cast member properties
Symbol Type Get/Set Description
loop integer G/S 0=don't loop, 1=loop
center integer G/S 0=don't center, 1=center
crop integer G/S 0=scale, 1=crop
sound integer G/S 0=sound disabled, 1=sound enabled
scriptsEnabled integer G/S 0=scripts disabled, 1=scripts enabled
Filmloop cast member properties
Symbol Type Get/Set Description
loop integer G/S 0=don't loop, 1=loop
center integer G/S 0=don't center, 1=center
crop integer G/S 0=scale, 1=crop
sound integer G/S 0=sound disabled, 1=sound enabled
OLE cast member properties
Symbol Type Get/Set Description
depth integer G Pixel depth of bitmap (1,2,4,8,16,32)
palette integer G/S Palette of cast member as integer (negative numbers indicate built-in palettes, positive numbers indicate cast-based palette
paletteRef castMem/
symbol
G/S Palette of cast member as castMemRef (cast-based palette) or symbol (built-in palette)
maskMember castMem G CastMemRef of cast member to be used as mask if mask ink applied
Rich Text (RTF) cast member properties
Symbol Type Get/Set Description
text string G/S The characters of the rich text. Set only supported in authoring mode
scrollTop integer G/S Vertical scroll offset (pixels)
pageHeight integer G Vertical size of visible area (page) in scrolling field (pixels)
Script cast member properties
Symbol Type Get/Set Description
scriptType symbol G/S Type of script: #score, #movie, #parent
Shape cast member properties
Symbol Type Get/Set Description
shapeType symbol G/S Shape type: #rect, #roundRect, #oval , #line
lineSize integer G/S Line thickness (pixels)
pattern integer G/S Pattern index (1-64)
filled integer G/S 0=unfilled, 1=filled
Sound cast member properties
Symbol Type Get/Set Description
loop integer G/S 0=disable looping, 1=enable looping
sampleSize integer G Number of bits per sample (typically 8 or 16)
sampleRate integer G Samples per second
channelCount integer G Number of channels (1=mono, 2=stereo)
Text cast member properties and functions
Text cast member properties
Symbol Type Get/Set Description
text string G/S The characters in the text field (null-terminated)
textStyle string G/S The styles used in the text field, comma-delimited, combo of: "bold", "italic" /FONT>, "underline", "outline", "shadow", "condense", "extend"
textFont string G/S The font of the entire text field
textHeight integer G/S The line height of every line in the text field
textSize integer G/S The font size of every character in the text field
foreColor integer G/S The foreground color index of every character in the text field
backColor integer G/S The background color of the text field
textAlign string G/S The alignment mode as a string: "left", "center", "right"
boxType symbol G/S Text box type: #adjust, #scroll, #fixed, #limit
border integer G/S Text border size (pixels)
margin integer G/S Text margin size (pixels)
scrollTop integer G/S Vertical scroll offset (pixels)
dropShadow integer G/S Character drop shadow size (pixels)
boxDropShadow integer G/S Box drop shadow size (pixels)
autoTab integer G/S 0=autoTab disabled, 1=autoTab enabled
wordWrap integer G/S 0=wordWrap disabled, 1=wordWrap enabled
editable integer G/S 0=not editable, 1=editable
pageHeight integer G Vertical size of visible area (page) in scrolling field (pixels)
lineCount integer G Number of lines in text field
Text cast member functions
Name Returns Description
lineHeight integer argument 1: line number. Returns height of specified line (pixels)
linePosToLocV integer argument 1: linePosition. Returns vertical pixel offset from line position
locVtoLinePos integer argument 1: locV. Returns line position from vertical pixel offset
charPosToLoc point argument 1: character position. Returns (x,y) point offset for given character
locToCharPos integer argument 1: location (point). Returns character position from given point
scrollByPage void argument 1: page offset. Scroll up or down n pages ( n < 0 for down, n > 0 for up)
scrollByLine void argument 1: line offset. Scroll up or down n lines ( n < 0 for down, n > 0 for up)
Xtra cast member properties
The Sprite Xtra developer can define and support any other properties desired through the implementation of the GetProp() and SetProp() methods of the IMoaMmXAsset interface.
Movie properties
Symbol Type Get/Set Description Notes
active3DRenderer symbol G The current 3D renderer  
castCount integer G The number of casts (internal + external) in the movie  
createName string G/S Name of user who authored the movie May not be valid until movie is saved
defaultColorDepth integer G Default color depth for new movies: 1,2,4,8,16,32. May not be valid until movie is saved
defaultPalette castMem/symbol G/S Default palette for new movies CastMem (for cast-based pal) or Symbol (for built-in pal) value accepted
defaultStageRect rect G Default stage rectangle for new movies May not be valid until movie is saved
editShortCutsEnabled integer G/S Whether Cut/Copy/Paste shortcuts are functional  
enableFlashLingo integer G/S Whether Flash sprites can execute lingo commands with GetURL  
frame integer G/S The frame number where the playback head currently is Setting this does a "go to frame"
lastChannel integer G The last graphic channel used by the movie  
modified integer G Whether the movie has been edited  
modifyName string G/S Name of user who last modified the movie May not be valid until movie is saved
movieAboutInfo string G/S The "about" string for the movie  
movieCopyrightInfo string G/S The copyright string for the movie  
name string G Filename of the movie (not full path)  
pathName string G Full pathname of the movie  
playing integer G 0 = movie is stopped in author mode, 1 = movie is playing  
preferred3dRenderer symbol G/S The preferred renderer for the movie  
remapPalettes integer G/S 0 = don't remap bitmaps on the fly, 1 = remap to cur palette  
scriptExecutionStyle integer G/S 9 for compatibility with DMX
10 for new DMX 2004 features
 
stageColor integer G/S The palette index of the movie stage's background color Range depends on current pixel depth (0-255 max)
tempo integer G/S Current tempo setting (requested tempo, not actual)  
version integer G Version of the movie file  
Authoring-only        
activeCastLib integer G Movie cast index of the "active" cast An active cast is one whose cast window was most recently active
scoreSelection linear list G/S List indicating current score selection Only valid for main movie. It's a list of lists; each sublist specifies a rectangular portion of the selection. For example, [[topSprite, bottomSprite, firstFrame, lastFrame]]
Palette properties
There are no palette-specific MOA properties.
Player properties
Symbol Type Get/Set Description Notes
authorMode integer G 1 if authoring; 0 otherwise  
folderName string G Full pathname to the folder where the player library is located  
name string G Name of the player library DPLib.framework on macintosh
Dirapi.dll on windows
pathName string G Full pathname of player library  
soundDevice integer G Index of current sound device  
screenScale float G iOS only, returns the current screenScale of the mainScreen. If it is 2.0, it means retina mode,
1.0 means non-retina mode
Score frame properties
Symbol Type Get/Set Description
tempo integer G/S Frame tempo in FPS, 0 to clear cell completely
waitSeconds integer G/S Wait in seconds, returns 0 if not waitSeconds, set to 0 to clear cell
waitClick integer G/S Wait for mouse click, returns 0 if not waitClick, set to 0 to clear cell
waitSound integer G/S Specify sound channel number (1-2), returns 0 if not waitSound, set to 0 to clear cell
waitDigitalVideo integer G/S Specify sprite channel number (1-48), returns 0 if not waitDigitalVideo, set to 0 to clear cell
palette integer G/S Access palette as integer (negative numbers indicate built-in palettes), setting defaults to instant normal palette transition, set to 0 to clear cell
paletteRef castMem
/symbol
G/S Access palette as castMem/
symbol (symbols indicate built-in palettes), setting defaults to instant normal palette transition, set to castMem(0,0) to clear cell
paletteTransitionType symbol G/S "#normal, #fadeToBlack, #fadeToWhite. Setting this clears paletteOverTime to 0
paletteOverTime integer G/S 0=transition palette between frames,
1 = transition palette over time,
setting to 1 ignores paletteSpeed
paletteFrames integer G/S 1-n,
setting > 0 switches to paletteOverTime, set to 0 to clear (turns off overTime)
paletteSpeed integer G/S 1-30, setting this causes paletteOverTime to be ignored
transition castMem G/S Transition castMemRef, set to castMem(0,0) to clear cell
script castMem G/S Script castMemRef, set to castMem(0,0) to clear cell
Score sound properties
Symbol Type Get/Set Description
member castMem G/S Sound castMemRef, set to castMem(0,0) to clear cell
scoreColor integer G/S Score color index (0-5)
Score sprite properties
Symbol Type Get/Set Description
member castMem G/S CastMemRef of cast member
scoreColor integer G/S Score color index (0-5)
script castMem G/S CastMemRef of cast member
size point G/S  
loc point G/S Returns (x,y) point offset from stage point(0,0)
foreColor integer G/S The foreground color index
backColor integer G/S The background color index
ink integer G/S The applied ink
trails boolean G/S State of trails
moveAbleSprite boolean G/S State of moveAbleSprite
editableText boolean G/S State of editableText
blend integer G/S The sprite blend
Xtra sprite actor properties
The Sprite Xtra developer can support any other properties desired through the implementation of the GetProp() and SetProp() methods of the IMoaMmXSpriteActor interface.
Transition asset properties
General transition properties
Symbol Type Get/Set Description
transitionType integer G/S Transition ID (for built-in transitions only)
duration integer G/S Transition duration (ms: 0-32000)
changeArea integer G/S 0=Full-screen, 1=Change-area only
chunkSize integer G/S Chunk size (opposite of smoothness) 1-128
<Custom Props>     Additional custom properties may be supported by Xtra-based transitions. See Xtra's documentation.
<Custom Funcs>     Custom functions may be supported by Xtra-based transitions. See Xtra's documentation.
Xtra transition properties
The Transition Xtra developer can support any other properties desired through the implementation of the GetProp() and SetProp() methods of the IMoaMmXAsset interface.

Director Types

Defined in: drtypes.h
Cast member types
MoaDrCastIndex: MoaLong representing the index of a cast
PMoaDrCastIndex: Pointer to the MoaDrCastIndex of a cast
ConstPMoaDrCastIndex: Pointer to a constant MoaDrMemberIndex

MoaDrCMRef,
PMoaDrCMRef,
ConstPMoaDrCMRef
typedef struct
{
 MoaDrCastIndex movieCastIndex;
 MoaDrMemberIndex memberIndex;
} MoaDrCMRef, * PMoaDrCMRef;

movieCastIndex Index of the cast to which the member belongs
memberIndex Index of the cast member
The cast member reference structure represents a specific cast member in a specific cast. Use the accessors, described in the macros section of this reference, to access members of these structures. MoaDrCMRef Type of a cast member reference structure PMoaDrCMRef Pointer to a cast member reference structure ConstPMoaDrCMRef Constant pointer to a cast member reference structure

MoaDrMemberIndex,
PMoaDrMemberIndex,
ConstPMoaDrMemberIndex

MoaDrMemberIndex MoaLong type representing a MOA cast member.
PMoaDrMemberIndex Pointer to the MoaDrMemberIndex of a cast member
ConstPMoaDrMemberIndex Pointer to a constant MoaDrMemberIndex
Media access types
MoaDrAccessInfo,
PMoaDrAccessInfo,
ConstPMoaDrAccessInfo
typedef struct
{
struct IMoaDrMediaOwner * pOwner;
MoaMmSymbol labelSymbol;
MoaMmSymbol formatSymbol;
} MoaDrAccessInfo;

pOwner Interface of the object owning the media
labelSymbol label of media
formatSymbol format of media
Structure representing information used by the MediaAccess interface. MediaAccess and ScoreAccess interface providers handle communication with the media owner object to provide a task-specific interface for accessing its media. MoaDrAccessInfo Structure representing media access information PMoaDrAccessInfo Pointer to a MoaDrAccessInfo structure ConstPMoaDrAccessInfo Constant pointer to a MoaDrAccessInfo structure

MoaDrImageAuxInfo,
PMoaDrImageAuxInfo,
ConstPMoaDrImageAuxInfo
typedef struct
{
MoaLong pixelDepth;
MoaMmSymbol paletteSymbol;
MoaDrCMRef paletteCMRef;
MoaBoolParam dither;
} MoaDrImageAuxInfo;

pixelDepth Pixel depth: 1, 2, 4, 8, 16, 32
paletteSymbol Symbol of built-in palette to use, 0 to use paletteCMRef
paletteCMRef MoaDrCMRef of cast-based palette to use. paletteSymbol must be set for this field.
dither TRUE: dither, FALSE: remap
This structure applies only when setting image media. When specifying kMoaDrImgMediaOpts_AuxInfo option for setting image media, the "aux" field of your MoaDrMediaInfo structure must be a * (pointer) to a caller-owned MoaDrImageAuxInfo structure. This permits explicit definition of the pixel depth, associated palette cast member, and resampling option (dither or remap) to be used. MoaDrImageAuxInfo Structure representing auxilliary information PMoaDrImageAuxInfo Pointer to a MoaDrImageAuxInfo structure ConstPMoaDrImageAuxInfo Constant pointer to a MoaDrImageAuxInfo structure

MoaDrMediaInfo,
PMoaDrMediaInfo,
ConstPMoaDrMediaInfo
typedef struct
{
MoaMmSymbol labelSymbol;
MoaMmSymbol formatSymbol;
PMoaVoid mediaData;
MoaDrMediaOpts options;
PMoaVoid aux;
PMoaVoid refCon;
} MoaDrMediaInfo;

labelSymbol Label of media to set/get
formatSymbol Format of media to set/get
mediaData Media data
options Get/set options
aux Auxiliary data
refCon Reserved
Structure providing information about media in a movie. Values of this type are passed as arguments to the IMoaDrCastMember and IMoaDrMovie methods GetMedia() and SetMedia(). MoaDrMediaInfo Structure representing media information PMoaDrMediaInfo Pointer to MoaDrMediaInfo ConstPMoaDrMediaInfo Constant pointer to MoaDrMediaInfo
Notification type
MoaDrNotifyType
MoaDrNotifyType
MoaLong representing type of notification requested Type representing the type of a notification client. Director defines one value for this type: kMoaDrDrNotifyType_DocFileIO.
Score access types
MoaDrFrameIndex,
PMoaDrFrameIndex

MoaDrFrameIndex MoaLong representing a frame in a score
PMoaDrFrameIndex Pointer to a MoaDrFrameIndex

MoaDrSpriteChanIndex,
PMoaDrSpriteChanIndex
MoaDrSpriteChanIndex MoaLong
representing the score channel of a sprite
PMoaDrSpriteChanIndex Pointer to a MoaDrSpriteChanIndexof a sprite

MoaDrSoundChanIndex,
PMoaDrSoundChanIndex

MoaDrSoundChanIndex MoaLong representing a sound channel in a score
PMoaDrSoundChanIndex Pointer to a MoaDrSoundChanIndex

Director Macros

Defined in: drtypes.h
Cast member reference access
CMRef_GetMemberIndex()
CMRef_GetMemberIndex(MoaDrCMRef pCMRef)

pCMRef Pointer to a MoaDrCMRef structure.
Returns the MoaDrMemberIndex for the cast member referred to by the cast member reference structure pCMRef.

CMRef_GetMovieCastIndex()
CMRef_GetMovieCastIndex(MoaDrCMRef pCMRef)

pCMRef Pointer to a MoaDrCMRef structure.
Returns the MoaDrCastIndex for the cast referred to by the cast member reference structure pCMRef.

CMRef_Make()
CMRef_Make(MoaDrCMRef pCMRef, MoaDrCastIndex castInd, MoaDrMemberIndex memberInd)
pCMRef Pointer to a MoaDrCMRef structure
castInd MoaDrCastIndex value representing the cast castInd
memberInd MoaDrMemberIndex
value representing the cast member
Places the cast represented by castInd and cast member represented by castInd in the cast member reference structure pCMRef.

CMRef_MakeNull()
CMRef_MakeNull(MoaDrCMRef pCMRef)
pCMRef Pointer to the MoaDrCMRef structure to clear
Clears the fields in the cast member reference structure pCMRef.

Scripting Xtra call access
pciGetArgByIndex()
pciGetArgByIndex(PMoaMmCallInfo pCallInfo, MoaLong argIndex, MoaMmValue pValue)
pCallInfo Pointer to type MoaMmCallInfo structure
argIndex MoaLong representing argument index
pValue Pointer to the argument
Accesses argument information in the MoaDrCallInfo structure pCallInfo. Returns, in pValue, a pointer to the argument specified by argIndex.

Director Constants

Defined in: drtypes.h
Cast name length constant
Name Description
kMoaDrMaxCastName Maximum length of cast name in bytes (255)
Image media option constants
Name Description
kMoaDrMediaOpts_None Normal case when setting, getting, and attaching
kMoaDrImgMediaOpts_AuthorDefined Assign pixel depth and palette for cast member based on author's preferences. In Director 5.0, this is currently the stage window screen's current pixel depth and palette. Supplied image data is remapped to this pixel depth and pale tte when placed in the cast member. This option is the default.
kMoaDrImgMediaOpts_CastMemDepthAndPal Use the cast member's existing pixel depth and palette. Supplied image data is remapped to this pixel depth & palette when placed in the cast member. If there is no image data for the cast member yet, this option is equivalent t o kMoaDrImgMediaOpts_AuthorDefined
kMoaDrImgMediaOpts_ScreenDepthAndPal Use the stage window screen's current pixel depth and palette. Supplied image data is remapped to this pixel depth & palette when placed in the cast member.
kMoaDrImgMediaOpts_Dialog Available in authoring application only. Invoke a dialog asking the user whether to use the image's current pixel depth or the screen's. Also, if it's an indexed image, user has the option of remapping to another existing palette. I f pixel depth is being reduced or a new palette is requested, the user can choose whether remapping or dithering should take place.
kMoaDrImgMediaOpts_AuxInfo Explicitly specifies pixel depth, palette, and dither/remap option. If set, the "aux" field must be a pointer to a caller-owned MoaDrImageAuxInfo /FONT>structure. See DRTYPES.H.
kMoaDrImgMediaOpts_ImageDepthAndPal Use the supplied image's pixel depth and palette; don't do any remapping. If it has a palette (it's an indexed image) and the palette doesn't exist in the current movie's cast(s), a new palette cast member is created automatically c ontaining the image's palette, and is assigned to the bitmap cast member.

Director Notification IDs

Defined in: driservc.h.

Notification events are sent to Xtras that implement the IMoaNotificationClient interface and that subscribe to specific events through the IMoaNotification callback interface. Notification IDs are documented in the developer's guide.

Director Error Codes

Defined in: drtypes.h
kMoaDrErr_Base Base value of Director error codes
Media access errors
kMoaDrErr_PictureExpected
kMoaDrErr_MediaLabelNotSupported
kMoaDrErr_MediaFormatNotSupported
kMoaDrErr_MediaInUse
kMoaDrErr_MediaDataInvalid
kMoaDrErr_MediaDataNonexistent
kMoaDrErr_LabelNotFound
Property access errors
kMoaDrErr_CastMemberExpected
kMoaDrErr_MediaExpected

Score access errors
kMoaDrErr_NotInUpdateMode
kMoaDrErr_OwnerNotSet
Miscellaneous error
kMoaDrErr_CastNotFound Returned by cast accessor methods to indicate specified cast not found
kMoaDrErr_CastMemNotFound Returned by cast member accessor methods to indicate specified cast member not found
kMoaDrErr_DiskIO Disk input/output error
kMoaDrErr_FrameNotFound  
kMoaDrErr_NotifyTypeUnknown  

Copyright © 1995-2008 Adobe Macromedia Software LLC, Inc.