dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Metronome how to

  1. #1

    Metronome how to

    I was wondering if anyone knows the basics of creating a metronome with flash mx...heres a webpage with one on it for an example, but this one has only on and off and has a smaller range of tempos than I want, I want more tempo range and maybe some subdivisions (just requiring way more code prob. and some extra sound files)...all i need is just the basics, even if its just an explaination of how the example one works, or how to get a hold of the code for that one so i can mod it.

    any help is GReatly appreciated,thanks,
    Dave O.
    "O"

  2. #2
    Member
    Join Date
    Sep 2002
    Posts
    91
    use setInterval() to have a function executed at a certain interval

    in this function
    use sound object and loadSound, then start() to play the sound



    use a draggable button to set the interval. Always clear the interval and re-set it when the dragger is touched (startDrag();


    epowder

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center