I have attached a .rar file that has everything in it. Just to show you what the source code is:
Rem Project: Dark Basic Pro Project
Rem Created: Sunday, November 14, 2010
Rem ***** Main Source File *****
sync on : sync rate 60
autocam off
backdrop on : color backdrop rgb(25,25,25)
load object "cell phone.x",100
load image "cell phone.jpg",100
texture object 100,100
xrotate object 100,270.0
fix object pivot 100
load object "hexagon.x",101
xrotate object 101,270.0
fix object pivot 101
hide object 101
perform checklist for object limbs 100
TotalLimbs = checklist quantity() - 1
for obj = 1 to TotalLimbs - 1
clone object obj,101
position object obj,limb position x(100,obj + 1),limb position y(100,obj + 1),limb position z(100,obj + 1)
set object transparency obj,2
next obj
delete object 101
position camera 0,10,-20
point camera 0,0,0
EnteringDigitDelay = timer()
PhoneNumber$ = ""
calling = 0
repeat
mc = mouseclick()
if mc = 1 and timer() > EnteringDigitDelay
picked = pick object(mousex(),mousey(),1,TotalLimbs - 1)
if picked > 0
if picked = 11 then PhoneNumber$ = PhoneNumber$ + chr$(35)
if picked = 12 then PhoneNumber$ = PhoneNumber$ + chr$(42)
if picked = 10 then picked = 0
if picked < 10
PhoneNumber$ = PhoneNumber$ + str$(picked)
endif
EnteringDigitDelay = timer() + 800
endif
endif
if mc = 0 then picked = 0 : EnteringDigitDelay = timer()
` text 10,60,"Picked = " + str$(picked)
if picked = 13 then PhoneNumber$ =""
if picked = 14 then calling = 1 : FinalDelay = timer() + 2000
if calling = 1 then center text screen width() / 2,400,"Dialing: " + PhoneNumber$
text 10,80,"Phone number: " + PhoneNumber$
if calling = 1 and timer() > FinalDelay then calling = 2
sync
UNTIL calling = 2
end
If you don't have WinRar yet, you can download a free trial version here:
http://download.cnet.com/WinRAR-32-bit/3000-2250_4-10007677.html
You can click on the buttons on the phone and it will register the numbers. Press the upper left button above the numbers and it will 'dial' the number and after two seconds the program will end. The upper right button deletes any numbers you have entered. The * and # buttons register also.
How I did this:
1. Made a plain in Milkshape and used the cell phone texture you provided.
2. Added joints to the model at the locations where the buttons were located (created them in reverse order).
3. Created a hexagon shape also in Milkshape.
4. Loaded both objects into DBP, and cloned the hexagon shape for each button.
5. Placed the hexagon shapes at the joint locations.
6. Used transparency to hide the buttons from view.
7. Coded the buttons' responses. Voila.