Rooster offers a great alternative. However I would just rig (joint centers) the CD tray as a seperate prop, as a child to the computer (hierarchy) , and operate the opening and closing through a dial.
That's just me though, more than one way to get it done.
Comitted to excellence through art.