First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
Search tutorials
Author: Michael Miller | Website: http://www.mindwhirl.com

Step 6d: The Button Layer

First, start by clicking the button graphic you created, which resides in frame 1 on the "button" layer. Now, choose Insert>Convert to symbol. In the symbol properties dialog box name it "sound button" and choose button as the type. Click OK. If you would like, you can right click it ,edit it, and define an up, over, down, and hit state but this isn't necessary for this tutorial. Now in frame 3 and frame 8 of the buttons layer, insert a keyframe by hitting F6. With that complete, click on frame 3 of the button layer, and double-click the instance of the button. It will bring up the instance properties dialog box. On the actions tab, assign the following actions:

	On (Release)
		Go to and Stop ("off")
		Begin Tell Target ("_level5")
			Go to and Stop ("off")
			Set Variable: "_level0:sound" = "1"
		End Tell Target
	End On 

In this script and the following one, we are communicating with three timelines. The main timeline, the timeline of the "sound movieclip", and the timeline of the sound.swf movie which is located in level 5.

» Level Advanced

Added: 2000-12-15
Rating: 7 Votes: 43
(10 being the highest)
» Author
No information about the author has been provided.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: S.Saipriya
» Title: Flash Fire Effect
» Description: This tutorial explains about how to create Fire Effect in Flash of Actionscript 2.0.I hope this tutorial helps you!
Featured Sound Loops
Image for equalize

Audio Player

» Author: Aidan Crouzet-Pascal
» Title: Falling Star
» Description: This loop is a cool sounding, E minor loop.
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Brandan Paulin
» Description: Epic sounding loop with Brass, Percussion, Strings and Winds. This is actually part of a Loop Pack called the Coming where you can download the rest of the loops that go with it FREE from my website.