Adding buttons

 < Day Day Up > 



To add buttons to access the music, follow these steps:

  1. Drag the Movie Clip called title onto the Stage. Be sure the Data layer is selected.

  2. Position the half circle. The x position is 153. and y is 273. It should be positioned in the center curved portion of the top of the jukebox. Lock the Data layer.

  3. Click the plus sign to add a new layer, and name it buttons.

  4. Choose Insert New Symbol, select Button for the behavior, and name it btn1. You will now be in the Symbol editor.

  5. This button will have only an Up state , which is selected by default.

  6. Select the Rectangle tool. Use a stroke with a size of 3.5 and a color of #660000. Change the fill color to #6B8B8C.

  7. Draw a rectangle. Double–click to select it, and in the Property inspector change the size to 18.5 by 18.5.

  8. Select the Text tool and use the following settings:

    • Font: Arial

    • Size: 12

    • Bold

    • Color: #660000

  9. Type 1 and center it in the button. Return to Scene 1 and repeat Steps 4-9 for buttons 2 and 3.

  10. Back in Scene 1, choose Insert® New Symbol. Name this one btnstop. Repeat Steps 6 and 7.

  11. Select the Rectangle tool and use no stroke and a red fill. Draw a rectangle and make it 9´9.Center it in the button.

  12. From the Library, drag all the button symbols onto the stage. Position them below the title area. Be sure all the y coordinates are the same as those shown in the following figure.

    click to expand
    The jukebox with the buttons added



 < Day Day Up > 



Macromedia Studio MX Bible
Macromedia Studio MX Bible
ISBN: 0764525239
EAN: 2147483647
Year: 2003
Pages: 491

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net