Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Authoring Xtras
Toggle ImageEnabled Property of a Flash Member
AppSafe Xtra for Authorware and Director
Using ActiveX
JTMR Image to Text
Find a drive with a specific name/Find CD Drives
CD Everywhere
Special Edition Using Macromedia Director 8
VarLord
NightWares
 

 

 

Behavior Opening and closing a CD-door behaviour

Added on 3/21/2003

 

Compatibilities:
behavior

This item has not yet been rated

Author: marcelaal

Put the script on a butten.

global DoorOpened
on mouseUp
  if DoorOpened then
    MCI "set cdaudio door closed"
    DoorOpened=false
  else
    MCI "set cdaudio door open"
    DoorOpened=true
  end if
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail