# Coca Cola

**URL:** <https://forum.kirupa.com/t/coca-cola/63123>\
**Category:** Uncategorized\
**Created:** [September 3, 2004, 2:53am UTC](https://forum.kirupa.com/t/coca-cola/63123 "2004-09-03T02:53:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![brownie](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@brownie](https://forum.kirupa.com/u/brownie)\
**Post date:** [September 3, 2004, 2:53am UTC](https://forum.kirupa.com/t/coca-cola/63123/1 "2004-09-03T02:53:02Z")

</div>

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

Cheers  
Brownie

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 4, 2004, 2:07am UTC](https://forum.kirupa.com/t/coca-cola/63123/2 "2004-09-04T02:07:36Z")

</div>

Bump

Maybe this isn’t possible…shock horror…something that flash can’t do  
Surely not

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 9, 2004, 6:32am UTC](https://forum.kirupa.com/t/coca-cola/63123/3 "2004-09-09T06:32:49Z")

</div>

um its easily down with director and the buddyApi xtra… ive certainly used it before.

director could handle exactly what your zip there has.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 9, 2004, 6:46am UTC](https://forum.kirupa.com/t/coca-cola/63123/4 "2004-09-09T06:46:13Z")

</div>

Thank you phyzar

Is what I need called an API call.  
Would you mind giving a bit more direction. I have about 5 minutes experience with director 🙂

Cheers  
Brownie

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 9, 2004, 7:47am UTC](https://forum.kirupa.com/t/coca-cola/63123/5 "2004-09-09T07:47:47Z")

</div>

greetings…

download the buddyAPI xtra… ([http://www.mods.com.au/budapi](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…

best of luck  
Jonathan

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 9, 2004, 10:02am UTC](https://forum.kirupa.com/t/coca-cola/63123/6 "2004-09-09T10:02:07Z")

</div>

Thanks heaps Jonathan, sounds easy 🙂 I will give it a bash at work tomorrow.  
Where are you in Oz? I am on the Gold Coast, work in Surfers

PS I run a site [www.richardclapton.net](http://www.richardclapton.net) just in case you might be a fan

Cheers  
Brownie

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 10, 2004, 5:21am UTC](https://forum.kirupa.com/t/coca-cola/63123/7 "2004-09-10T05:21:42Z")

</div>

how did you go?  
Im working in Sydney’s south west. 🙂 must be lovely weather up there now… QLD seems to be more my kinda climate.  
Jonathan

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 10, 2004, 6:05am UTC](https://forum.kirupa.com/t/coca-cola/63123/8 "2004-09-10T06:05:57Z")

</div>

Yes it is another glorious day on the gold coast.  
I didn’t get a chance today…manager hovering about all day like a pesky fly 🙂
