• home
  • forum
  • my
  • kt
  • download
  • Home / 2D Graphics / Flash / Audio /

    Non-Dynamic Music Player

    Author: 2008-10-14 14:56:41 From:

    Yes, I felt like writing tutorials today. Anyway, this is the non-dynamic music player, non-dynamic meaning that you don't add the songs using actionscript.

    Step Uno!1 Open up flash and draw as many things as you want which you want to be the buttons that you click. Make them into buttons

    Step Dos!2 Select all of the buttons and make them into one movieclip.

    Step Tres!3 Put this code into each of the buttons (entering the correct number of course)

    Code:
    on (press){
    stopAllSounds();
    gotoAndStop(3);
    }

    Step Cuatro!4 Make a frame for every button you have (INCLUDING the mute button) and put this code on all of them:
    Code:
    stop();

    Step Cinco!5 On each of those frames, put a song (except for on the mute frame of course)

    Step Seis!6 Make it so that if your already on that frame you can't click the same button again...Confuzzling huh? How you would do that is lets say your on frame 3, make sure that you take the script off of the button that takes you to frame 3, but be sure to put it back on after frame 3.

    Step Siete!7 On the mute frame, put stopAllSounds()

    discuss this topic to forum

    relation tutorial

    No relevant information

    Category

      3D (20)
      Math Physics (14)
      3rd Party (5)
      Navigation (60)
      Actionscripting (26)
      Optimization (16)
      Animation (32)
      Projector (9)
      Audio (51)
      Special Effects (152)
      Backend (26)
      Text Effects (82)
      Drawing (32)
      Tips and Techniques (47)
      Dynamic Content (31)
      Tricks (8)
      Games (97)
      Utilities (21)
      Getting Started (91)
      Video (24)
      Interactivity (43)
      Web Design (29)

    New

    Hot