Photoshop Tutorials, Flash Tutorials, 3Ds Studio Max Tutorials, Web Design Tutorials


Software Tutorials

Featured Free Templates
View All Templates!
Preview  |  Download
Name: metamorph_flame
Downloads:
Preview  |  Download
Name: metamorph_skyandclouds
Downloads:
View All Templates!
Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!
Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!
:: Free Website Templates
Preview  |  Download Preview  |  Download Preview  |  Download
Name: metamorph_sunset Name: metamorph_flower Name: metamorph_waterfall
Downloads: Downloads: Downloads:

Do You Like Our Website? Share With Others!
GoogleGoogle slashdotYahooMyWebDiggTechnoratiDelicious
Page: 12345678910111213141516171819202122232425

Welcome To WebDesignTutorials.net Flash Tutorials Area - Creating Sound Control

This tutorial requires a basic knowledge of Flash. You must know how to create buttons, and work with Frames and Layers.

For this tutorial, you will need a sound loop - you can find plenty all over then net, or do what I did and create your own. I just tossed a very quick and easy loop into this tutorial.

Start a new Flash Document and add two layers. Name them as follows:
Actions
Controls

Import your sound file (Control + R - Choose Loop).

Open the Actions Box (F2).

Put in these Commands on the first frame of the Actions layer.

stop();

And, on the second frame of the Actions layer put in these commands:

stop();
stopAllSounds();

Now, click on Frame one of the Actions layer and press Control + F3 to open your Properties toolbox. In the sound dropbox, select your loop as the Sound.

We won't be adding any effects to the sound for this tutorial, but you can play with them later on. Set the loop to 100, or a number that you think will suffice for your Flash File.

Test the movie, if you hear the sound looping continuosly, we can move on to the next step.

Create two seperate buttons, one for Stop and one for Start. There will be no need to add any special Action Scripting for this, just the standard Go To and Play commands.

In the Control Layer, place your buttons in frame one. Now, Insert a KeyFrame on frame two, creating a duplicate of the first frame - this allows for a seamless transition from Frame 1 to Frame 2.

Click the first frame of the Actions Layer, and we will start to add the actions to the buttons.

In the first frame, only the Stop button needs to be active. I usually just select the Start button and hit Control + B to break it apart.

Select the Stop button and press F2, opening your Action Toolbox. Insert this command:

on (release) {
gotoAndPlay(2);
}

Now, click on the second from on the Actions layer. I suggest, once again, that you disable the Stop button in this Frame.

Select the Start button, and add these commands:

on (release) {
gotoAndPlay(1);
}

Now, we have total control over our sound.

Test the movie, Control + Enter, and see if you are able to Stop them on command, and Restart.

Author: Sajid

Advertisements
Graphic Software, Flash Templates, Free Stock Photos, Web Templates, Web Design, Corporate Web Design, Royalty Free stock Photo, Affordable Website Design, Submit site, Add Url, Stock Photos, Survey Software, Anti Virus Software, E mail software, Computer Software

Premium Partners
  Free Website Templates - Flash templates, Affordable Website Design, Website Templates, Website Redesign, Custom Website Design, Web Design Tutorials, Flash Tutorials, Promotion Tutorials - that is what we do. Metamorphosis Design Studio offers quality, free and low cost web site templates for your business and personal life, we also offer affordable web design and site re-design.
  Vertex Website Tempales - It saves tones of time and money to use pre-made web designs to build your web site. You need a web site but you don't want to pay thousands dollars to professional web design companies? Our web templates is just for you! They are designed to be easilly edited by your favorite html editor, like MS FrontPage
  Photoshop Tutorials - Learn how to build stunning web pages using Adobe Photoshop, Macromedia Flash MX and 3D Studio Max software. The step-by-step approach makes it so easy, that even beginners can produce great web pages. Get started with these tutorials covering everything from page layout to content tips.
Free website templates and paid web templates are great tools to make your websites look perfect! You will save time and money with our flash templates and free website templates Our visitors are satisfied with the quality of our free and paid website templates! Please visit our free website templates and paid website templates sections. We offer free web templates, free web layouts, free web page templates and other stuff for free download. All templates come with the html and external css file so you may easily edit HTML with your favorite HTML editor. Feel free to download our free web templates for your personal websites.

Terms of use depend upon the website template vendor.
Home  |  Submit Tutorial  |  Top Sites  |  Free Templates  |  Website Templates  |  Privacy Policy  |  Contact Us
All Right Reserved by WebDesignTutorials.net