Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Flash Button With Sound
PureHeart
post Nov 16 2005, 12:46 PM
Post #1


Premium Member
Group Icon

Group: Members
Posts: 209
Joined: 7-October 05
From: Đà Nẵng City - Việt Nam
Member No.: 8,966



This is a tutorial about adding sound to a button in Flash.

1.Go to menu :File\Import\Import to library

2.Select the sound file you want

3.Open the library panel (You can also press Ctrl + L)

4.Right-click on the sound you imported

5.Click "Linkage..." from the menu

6.Check "Export for ActionScript" & "Export in first frame".

7.Enter a name for sound in "Identifier" field
(This is the name you will use to address your sound from now on)
For example : "thesound"

8.Press "OK"

9.Choose an action frame of the movie where your button is in

10.In the actions panel of the choosen frame write the following:

CODE

song = new Sound();
song.attachSound("thesound");


11.Select your button and open the actions panel for the button.

CODE

on(press)
{
song.start();
}


Congratulation ! Your flash button with sound is ready to use now .

-----Although this tutorial is quite short, it does contain useful information. I'm going to approve this-----szupie

This post has been edited by szupie: Nov 18 2005, 12:50 AM
Go to the top of the page
 
+Quote Post
HTML_Guru
post Nov 18 2005, 03:56 AM
Post #2


Advanced Member
Group Icon

Group: Members
Posts: 134
Joined: 5-September 05
From: Palm Harbor, FL -- Columbus, OH
Member No.: 8,335



Excuse my potentially silly question, but what program can one use to do this?
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Nov 18 2005, 04:42 AM
Post #3


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411
myCENTs:84.36



QUOTE(HTML_Guru @ Nov 18 2005, 10:56 AM)
Excuse my potentially silly question, but what program can one use to do this?
*



Hahahaha.. rofl.. biggrin.gif nice one guru.. from the looks of it - he's probably using Flash. This is something that should be made mandatory.. we have to come up with a basic format for stuff/tutorials like this. The member has to include complete information about his system specifications and softwares used on top of each article. Otherwise nowadays we're getting a whole bunch of posts like this which doesn't give you even the tinniest wingling of what software you're supposed to use.
Go to the top of the page
 
+Quote Post
dhanesh
post Nov 18 2005, 08:00 AM
Post #4


Binary Geek
Group Icon

Group: Members
Posts: 444
Joined: 4-November 05
From: The Digital Arena
Member No.: 9,440



Yeap , i agree to M^e , if you had a basic guideline for people who wanted to write tutorials it would be easy for them and us too. Besides, many dont know what tutorial is for what OS. Just my stupid example is enough, There was a Nvidia Gfx driver hack posted somewhere here around 2-3 mths ago. As a normal newbie would do, i started doin stuff on Windows .. rolleyes.gif ... later on i found out that the codes that were supplied were for Linux and not windows. There was NO mention of the OS at all.

I guess the basic guideline should be :

Subject : ( name of your tutorial )
Discription : ( complete discription of the tutorial )

OS : what Os it would work on or what hardware it supports etc ..

Extras : anything extra you need .. any hardware , software

basic config : the basic needs for the tutorial. like programs or hardware.

lastly the Tutorial :

any important notes :


This was a very fast post, but i hope you guys get an idea smile.gif

Regards
Dhanesh
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Nov 18 2005, 08:56 AM
Post #5


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411
myCENTs:84.36



Hmm good idea - am going to take that up and chalk up a basic format. Thanks smile.gif
Go to the top of the page
 
+Quote Post
szupie
post Nov 18 2005, 12:18 PM
Post #6


S.P.A.M.S.W.A.T.
Group Icon

Group: Members
Posts: 814
Joined: 22-January 05
From: San Antonio, Texas (No, I'm not dumb. I just moved here...)
Member No.: 2,284



Umm... Sorry if I'm being rude, but didn't you guys read the first line of the tutorial?
QUOTE(PureHeart @ Nov 16 2005, 06:46 AM)
This is a tutorial about adding sound to a button in Flash.
*

Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Nov 18 2005, 12:22 PM
Post #7


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411
myCENTs:84.36



Lol.. thanks for pointing that out szupie. I guess we got carried away a bit here, but this has definitely brought up an interesting issue. More often than not you'd find issue under discussion taking place. So we do need a basic outline of tutorials - some basic format, in which all platform/sftware info and versions have to be clearly stated. Rest of the tutorial can be left to the author's imagination.
Go to the top of the page
 
+Quote Post
PureHeart
post Nov 19 2005, 02:42 AM
Post #8


Premium Member
Group Icon

Group: Members
Posts: 209
Joined: 7-October 05
From: Đà Nẵng City - Việt Nam
Member No.: 8,966



Aha, so my Article bring out an idea about a way to format an HOW-TO. Never think about that before. Admins, you should have a annoucement for that.

I think it should begin with

This is a tutorial about $WORK in $APP
Written by : $AUTHOR
Platform : $OS
Reader : $BEGINNER->EXPERT
Go to the top of the page
 
+Quote Post
dhanesh
post Nov 19 2005, 08:25 AM
Post #9


Binary Geek
Group Icon

Group: Members
Posts: 444
Joined: 4-November 05
From: The Digital Arena
Member No.: 9,440



QUOTE(PureHeart @ Nov 19 2005, 06:42 AM)
This is a tutorial about $WORK in $APP
Written by : $AUTHOR
Platform : $OS
Reader : $BEGINNER->EXPERT
*



Not to forget the

Reference : $SITE or $ORIGINAL AUTHOR

Because i believe that sometimes there are tutorials that are already posted, but need updating according to software/hardware. So i would suggest giving full credit to the original author smile.gif

Although this could be considered as spam ? Please correct me. But if a tutorial is completely re-written keeping an updated software/hardware in mind, then that shouldent be a problem i hope smile.gif

Regards
Dhanesh.
Go to the top of the page
 
+Quote Post
Sunset
post Nov 19 2005, 11:38 PM
Post #10


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 13
Joined: 9-October 05
Member No.: 8,994



Very god work. Flash is kind of confusing but this was simple and easy to read and use. Keep the tutorials coming PureHeart!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics


 



- Lo-Fi Version Time is now: 2nd December 2008 - 09:35 PM