Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Director-3D.com
Scuba
Get System Time
Set Static Property of a Flash Member
QWI Script Styler
DaoX
Early Bird
Director 7 and Lingo Authorized
Fade In and Out plus other commands
Hex Display
MediaMacros Xtras Mall
 

 

 

Behavior Get CD ROM Drive letter

Added on 8/8/2003

 

Compatibilities:
behavior D7 D8 D8_5 D9 UK US

Required Xtras:
FileXtra

This item has not yet been rated

Author: steve1h

This definitely checks all the drives and pulls out the cd-rom drive letter and places it into a field. You will need fileXtra3. Does not work in shockwave due to security issues.

Download PC Source
property f,ls,i,a
on beginsprite me
  f = xtra("FileXtra3").new()
  --list of volumes stored in ls
  ls = f.fx_volumesToList()
  repeat with i = 1 to ls.count
    a = getat(ls,i)
    put a
    if f.fx_volumeIsCDROM(a) then
      put f.fx_volumeIsCDROM(a)
      put a &&"drive found"
      member("drive").text=a&&"drive found"
      exit
    end if
  end repeat  
end
on exitFrame me
  go to the frame
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail