Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How Do I Display A .jpg and mp3 file to play when executing
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
bizkit




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue Nov 26, 2002 8:34 pm   Post subject: (No 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")
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: