Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-04-2007, 12:31 AM
Senior Member
 
Join Date: Nov 2007
Posts: 128
Default How to open and close a cd drive?

How would this be done with Swfkit Pro 3.3?
Reply With Quote
  #2 (permalink)  
Old 12-04-2007, 02:56 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: How to open and close a cd drive?

You can do that using the MCI object
Code:
//opens the CD-ROM then close it.
MCI.sendCmdString("open cdaudio alias cd");
MCI.sendCmdString("set cd door open wait");
MCI.sendCmdString("set cd door closed wait");
MCI.sendCmdString("close cd");
Reply With Quote
  #3 (permalink)  
Old 12-04-2007, 04:56 PM
Senior Member
 
Join Date: Nov 2007
Posts: 128
Default Re: How to open and close a cd drive?

How would I specify a certain drive? And could I make two buttons in flash that when one is clicked I open that drive and the other closes it? Is it possible for Swfkit?
Reply With Quote
  #4 (permalink)  
Old 12-04-2007, 06:18 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: How to open and close a cd drive?

http://dn.codegear.com/article/28956
Reply With Quote
  #5 (permalink)  
Old 12-06-2007, 04:55 AM
Senior Member
 
Join Date: Nov 2007
Posts: 128
Default Re: How to open and close a cd drive?

thank you! it works now.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:40 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.