Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2003
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question random code for playing music

    hey all
    i was wondering if any one had a script to get a random number say out of 4 then if it is 1 it the music on the page plys music1.mid and if it is 2 play music2.mid etc.

    or is it possible using the embed command or the bgsound command to have like a playlist for the music

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,310
    Thanks
    203
    Thanked 2,563 Times in 2,541 Posts
    A simple seach of this forum would have yielded

    http://www.codingforums.com/showthre...ht=random+midi

    which ought to solve your problem.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •