Its late and I'm falling asleep so pick what you need out of this!
It's just a bit of code for front of my compo entry where alienware logo fades in taking 1 second, waits 3 seconds, then takes 1 second to fade out.
load image path_images$+"alienware_logo_wb.jpg",9000
make object plain 9000,500,250
texture object 9000,9000
position camera 0,0,-500
fade object 9000,0
t=timer()
do
d=timer()-t
if d>5000 then exit
if d<=1000 then fade object 9000,d/5
if d>=4000 then fade object 9000,(5000-d)/5
sync
loop
delete object 9000
delete image 9000
If your mansion house needs haunting, just call Rentaghost!