we can beat any UK and Us quote and guaranty very professional design services
 

Tutorials

» Fireworks Effects Tutorials

» Flash Tutorials

» Photoshop Tutorials

» Dreamweaver Tutorials


 

Maa Graphics Services

» 2D Animation
» Architectural Rendering
» 3D Product Modeling
» 3D Exhibition Display
» Digital Illustration

» Book Illustrations
» Cartoon Drawings
» Medical Illustration

» Illustration

» Illustrations
» Portrait Illustrations
» Fashion Illustrations

» Logo Design
» Stationary Design
» Advertising Designs
» Banner Designs
» Brochures Designs

» Direct Mail Design
» Flyers Designs
» Folders Designs
» Image Clipping Paths
» News Letter Design

» Package Design
» Posters Designs
» Signage Designs
» Brochure Website
» E-Commerce Website

» Flash Website
» CMS Development
» Search Engine Optimising
» Website Content Writing
» E-mail Newsletter Design

 
Creating sound on-off button in FlashMX 2004

IThis tutorial will tell you how to create a simple Flash music on and off button using Flash actionscript.

 

STEPS TO FOLLOW


Make 2 buttons. 1 for ON and another, for OFF
Next you can create 2 Movie clips.

 

  • For sound
  • For buttons

Then

 

  • Create three keyframes.
  • Insert stop action to all the keyframes.
  • Insert your music into frame1.
  • NOTE:Keep the loop count of your music fairly an high value and the sync should be at event.

     

  • In frame2 insert the following code,

gotoAndStop(1);

 

  • In frame3 insert the following code,

gotoAndPlay(1);

Now you are finished with Sound Movie clip.

 

Then, start with the Button Movie clip

  • Create 2 keyframes.
  • Insert stop actions to both the keyframes.
  • Insert OFF button into frame1.
  • Select your OFF button and insert the following code,

on (release) {
tellTarget ("../music") {
stopAllSounds();
}
}
on (release) {
nextFrame();
}

  • Insert ON button into frame2.
  • Select the ON button and insert the following code,

on (release) {
tellTarget ("../music") {
nextFrame();
}
}
on (release) {
prevFrame();
}

  • Insert the Sound Movie clip into the movie and name it "music" in the instance panel.
  • Insert the Button Movie clip into the movie.
  • Press ctrl+enter to play the movie.

 

 
stock illustrations

 

 
Home | Free Tutorials | Templates | Website Templates | Logo Templates | About | Website Designed Maa Graphics | Copyright © www.maagraphics.com - All rights reserved | Site map