Yea I know you have probably seen it before but I thought I would re create it anyway, only trouble is I can’t find the as that will make it work. Probably because I have very little idea of what I am actually looking for:(
I have looked.
Does anyone know the as that will make this work?
In case you haven’t seen it before it is sposed to make your cd drawer open
download the buddyAPI xtra… (http://www.mods.com.au/budapi)
(Im assuming your working on director mx / mx2004 on windoze)
install the xtra to the relevant folder, usually within the program files installation directory… eg (c:\program files\macromedia\directormx2004\configuration\xtras)
it does come with install documentation.
install the help file also…
start up a new file in dir…
create a simple button… (ill use a classic push button for this example)
right click on your new button, and choose script (creating a behaviour)
should come up with script window starting with “on mouseUP me”…
to eject the CD-rom… put this code into the window…
on MouseDown me
OK = baEjectDisk( “d:” ) – eject the D drive - usually the CDROM
end
close window (we are finished)
hit run… click on your button and it should eject your CD-ROM - assuming its called d:
now it would make sense to create a search, for what drive letters the computer occupies as type = “CD ROM” and then eject that letter - as some people partition funnily and their CDrom’s are like F: etc…
you can change this drive letter to whatever…
let me know how you go… ill see if i can create a script to search the users comp for their CDROM drive letter, been a while since ive user lingo…