Computer Science Canada

How Do I Display A .jpg and mp3 file to play when executing

Author:  bizkit [ Sun Nov 24, 2002 11:40 pm ]
Post subject:  How Do I Display A .jpg and mp3 file to play when executing

the subject says it all the .jpg is called KoRn569.jpg and the .MP3 is called Korn - All My Hate.mp3 if you could post the coding ide apreciate it
thanks
Kyle Very Happy

Author:  Tony [ Tue Nov 26, 2002 8:34 pm ]
Post subject: 

to display a picture you use Pic.Draw

code:
var picID:int := Pic.FileNew("picture.jpg")
Pic.Draw(x,y,picID,picCopy)


to play the MP3 file, you use Sys.Exec

code:
var a:int := Sys.Exec("song.mp3")


: