Notices
Trademarks
About this book
What this book includes
Who this book is for
About this product or feature
Conventions used in this book
Tell us what you think
What's new in this version?
Exploring multimedia development
Building your first multimedia application
Creating an application that runs video
Changing the text in the title bar
Adding parts
Adding an image
Adding a hotspot
Adding a digital video player
Connecting the parts
Adding video playback to an application
Adding parts for playing video
Connecting the video pieces together
Telling the video player what file to play
Telling the video player to play
Handling errors
Debugging multimedia applications
Displaying messages
Writing your own MCI code
Sending MCI commands in a view
Sending MCI commands using a script
Using the script with a view
Parts reference
Audio Wave Form File
Attributes
fileChanged (Boolean) - Read-only
fileName (String) - Read-only
totalTime (String) - Read-only
totalTimeAsMMTime (Integer) - Read-only
Audio Wave Player
Attributes
channel (Integer)
currentFile MtAudioWave) - Read-only
elapsedTime (String) - Read-only
fileToLoad (String)
format (String)
isMuted (Boolean)
isPaused (Boolean)
lastError (MtLastError) - Read-only
location (Integer) - Read-only
samplingPrecision (Integer)
samplingRate (Integer)
source (String)
volume (Integer)
Actions
close
fastForward
mute
open
openWaveFile: aFileName (String)
pause
play
playShortWaveFile: fileName (String)
record
rewind
saveFile
setChannelToMono
setChannelToStereo
setFormatToADPCM
setFormatToPCM
setPrecisionTo16Bits
setPrecisionTo8Bits
setSamplingRate: rate (Integer)
setSourceLineIn
setSourceMicrophone
stop
wrap
Events
initialized
majorErrorOccurred
noVolumeRange
playWrapped
reachedBegin
reachedEnd
stateChanged
General advice
Recommended connections
What to watch for
Digital Video File
Attributes
fileName (String) - Read-only
totalTime (String) - Read-only
totalTimeAsMMTime (Integer) - Read-only
Digital Video Player
Attributes
currentFile (MTDigitalVideo) - Read-only
elapsedTime (String) - Read-only
fileToLoad (String)
isMuted (Boolean)
isPaused (Boolean)
lastError (MtLastError) - Read-only
location (Integer) - Read-only
self (MtVideoPlaybackWindow) - Read-only
videoPlaybackWindow (MtVideoPlaybackWindow)
volume (Integer)
Actions
close
fastForward
frameAdvance
frameReverse
mute
open
openFile
pause
play
playShortFile: fileName (String)
rewind
stop
wrap
Events
initialized
majorErrorOccurred
noVolumeRange
playWrapped
reachedBegin
reachedEnd
stateChanged
General advice
Recommended connections
What to watch for
Fast Forward Button
Attributes
player (MtMediaDevice)
Actions
disable
enable
setEmphasis
Events
clicked
General advice
Recommended connections
Things you can specialize
Frame Advance Button
Attributes
player (MtMediaDevice)
Actions
disable
enable
setEmphasis
Events
clicked
General advice
Recommended connections
What to watch for
Things you can specialize
Frame Buttons
Attributes
player (MtMediaDevice)
Actions
setEmphasis
Events
frameAdvancedPressed
frameReversePressed
General advice
Recommended connections
What to watch for
Things you can specialize
Frame Reverse Button
Attributes
player (MtMediaDevice)
Actions
disable
enable
setEmphasis
Events
clicked
General advice
Recommended connections
What to watch for
Things you can specialize
Last Error
Attributes
classErrorIn (String) - Read-only
errorText (String) - Read-only
errorThreshold (Integer)
errorValue (Integer) - Read-only
methodErrorIn (String) - Read-only
Actions
lastClearError
display
Events
errorOccurred
General advice
Recommended connections
Media Control Interface
Attributes
lastError (MtLastError) - Read-only
returnString (String) - Read-only
Actions
send: aCommandString (String)
Events
notified: mp1 (MPARAM) with: mp2 (MPARAM)
Motion Buttons
Attributes
isPaused (Boolean)
player (MtMediaDevice)
Actions
setEmphasis
Events
fastForwardPressed
pausePressed
playPressed
rewindPressed
stopPressed
General advice
Recommended connections
What to watch for
Things you can specialize
Mute Button
Attributes
player (MtMediaDevice)
selection
Actions
disable
enable
setEmphasis
General advice
Recommended connections
What to watch for
Things you can specialize
Pause Button
Attributes
player (MtMediaDevice)
selection
Actions
disable
enable
setEmphasis
General advice
Recommended connections
What to watch for
Things you can specialize
Play Button
Attributes
player (MtMediaDevice)
Actions
disable
enable
setEmphasis
Events
clicked
General advice
Recommended connections
What to watch for
Things you can specialize
Record Button
Attributes
player (MtMediaDevice)
Actions
disable
enable
setEmphasis
Events
clicked
General advice
Recommended connections
What to watch for
Things you can specialize
Rewind Button
Attributes
player (MtMediaDevice)
Actions
disable
enable
setEmphasis
Events
clicked
General advice
Recommended connections
What to watch for
Things you can specialize
Stop Button
Attributes
player (MtMediaDevice)
Actions
disable
enable
setEmphasis
Events
clicked
General advice
Recommended connections
What to watch for
Things you can specialize
Timer
Attributes
length (Integer)
report (Boolean)
userData (Object)
Actions
reset
start
stop
Events
timerFired: userData (Object)
Video Playback Window
Attributes
recomputeSize (Boolean)
videoWindow (MtVideoPlaybackWindow)
General advice
Recommended connections
What to watch for
Wrap Button
Attributes
player (MtMediaDevice)
selection
Actions
disable
enable
setEmphasis
General advice
Recommended connections
What to watch for
Things you can specialize
Multimedia Help
Multimedia category
Audio Wave Player
Digital Video Player
Video Playback Window
Video Playback Window Properties
Timer
Timer Properties
Timer Settings
Motion Buttons
Motion Buttons Properties
Frame Buttons
Frame Buttons Properties
Record Button
Record Button Properties
Wrap Button
Wrap Button Properties
Mute Button
Mute Button Properties
Play Button
Play Button Properties
Stop Button
Stop Button Properties
Rewind Button
Rewind Button Properties
Fast Forward Button
Fast Forward Button Properties
Pause Button
Pause Button Properties
Frame Reverse Button
Frame Reverse Button Properties
Frame Advance Button
Frame Advance Button Properties
Media Control Interface
Audio Waveform File
Digital Video File
Last Error
Pop-up menu for the Multimedia Parts
Index