Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 15th, 2003, 07:39 PM
Nell Nell is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Newcaslte
Posts: 8 Nell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Nell Send a message via Yahoo to Nell
Sound When Button is pressed

Hi

I have a button and i want a 1 second sound clip called "bleep.wav" from my libray to play when its clicked. i want it in the press bit, but ive no idea how to work with sound.

so far the code looks like this:
Code:
on (release) {
    tellTarget ("down") {
        gotoAndStop (1);
    }
}
on (press) {
    tellTarget ("down") {
        gotoAndPlay (2);
    }
}
on (release) {
}


thanks for any help in advance

Reply With Quote
  #2  
Old September 18th, 2003, 12:38 PM
os9er os9er is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 18 os9er User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hey I was just scrolling down the board and found another one of your posts.

It's Pretty easy to use sounds on buttons, just study the example it's not that complicated

You can find the sound fx I used here
http://www.flashkit.com/soundfx/Int...-7838/index.php
Attached Files
File Type: zip sound_button.zip (53.7 KB, 251 views)

Reply With Quote
  #3  
Old September 18th, 2003, 01:55 PM
Nell Nell is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Newcaslte
Posts: 8 Nell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Nell Send a message via Yahoo to Nell
as i mentioned in the other thread, i cant view your version of flash. cheers.

Reply With Quote
  #4  
Old September 18th, 2003, 02:22 PM
RedDog's Avatar
RedDog RedDog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Toronto
Posts: 167 RedDog User rank is Sergeant (500 - 2000 Reputation Level)RedDog User rank is Sergeant (500 - 2000 Reputation Level)RedDog User rank is Sergeant (500 - 2000 Reputation Level)RedDog User rank is Sergeant (500 - 2000 Reputation Level)RedDog User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 31 m 20 sec
Reputation Power: 13
The animated button has at least 4 frames. All you do is create a new layer and in the DOWN state, just drag in your sound.

It's just like editing your button and adding a down position to the button, but just creating a new layer is good for organizing things.
__________________

- Infinityws.com - Providing Reliable Web Hosting Solutions Since 2000
- Web Hosting - Reseller Accounts - E-Commerce Packages
- Free ClientExec License With ALL Reseller Accounts

A Satisfied Customer

Reply With Quote
  #5  
Old September 18th, 2003, 06:39 PM
os9er os9er is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 18 os9er User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hey Nell Sorry about that I'm using MX.

Reply With Quote
  #6  
Old September 18th, 2003, 09:02 PM
Nell Nell is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Newcaslte
Posts: 8 Nell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Nell Send a message via Yahoo to Nell
thanks both of you! really appreciate your efforts!

The solution is so simple when i think of it now :/

later

Nell

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Sound When Button is pressed


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway