This is a discussion on "ARGGHHH!!!!! I AM SO MAD!!!" within the Flash & Multimedia Forum section. This forum, and the thread "ARGGHHH!!!!! I AM SO MAD!!! are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
ARGGHHH!!!!! I AM SO MAD!!!
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
ARGGHHH!!!!! I AM SO MAD!!!
ok, I know this goes back to the basics, but I am stupid and all, lol. I have forgotten how to make a press button in flash that plays a sound. I have done this several times, but I think it is like when you can't remember a certain word, but you can feel it on the tip of your toungue. If any of yall could please answer my brain spasm, I would feel so much better. Thanks again.
If I figure it out I will post, so if you dont see, WHAAAA I FOUND IT, then please post post post!! Thank you! |
|
|
|
|||
|
Ok, Make a button! (select something, Press F8, select button and press OK) :razz:
Now double click the button to edit it directly. You must place the sound (and indeed any mouseover state) in the "Over" frame. Make sure your sound has been imported: File > Import then, with the over frame selected (with something in it!), select your sound from the "Sound" pull dowm menu and edit the settings appropriately. When you publish, the sound will be played on mouseover. Having again read your post you wanted this to happen on click :razz: So I can't read, but all you have to do is do that on the "Down" frame instead. Hope this helps. |
|
|||
|
Thanks
|
|
|||
|
One other possibility is using the sound object if you have MX.
var objSound = new Sound() objSound.attachSound("libraryLinkName") objSound.setVolume(50) // 0-100 obSound.start() Put that in a function and then you can call that on the on(press) event for a button. Now if you make objSound global, you can also detect when a sound ends, I believe it's through: objSoundonSoundComplete("FunctionName") // Or something like that |
![]() |
| Tags |
| argghhh, mad |
| Thread Tools | |
|
|