play sound on error

  • kari03
  • Newbie
  • Newbie
  • kari03
  • Posts: 5

Post 3+ Months Ago

I am creating a flash application for a Pocket PC. It plays audio tracks when the user enters a number. However, if the user enters a number that does not have a corresponding audio track, i would like a beep or some kind of sound effect to play. is there a way to play a sound when an error message occurs??
thanks in advance for your help!

kari
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Abelius
  • Proficient
  • Proficient
  • User avatar
  • Posts: 260
  • Loc: Miami Beach, FL, USA

Post 3+ Months Ago

Maybe you could make a movieclip, add two keyframes to it and place a stop() "sign" in each one of them.
Then label the second keyframe with a name (in the Properties Inspector), and insert the beep sound of your choice in it.

Finally, when you want the user to hear that sound, you simply make the movieclip to gotoAndPlay() at frame 2, where the beep sound is located...
  • yuriythebest
  • Banned
  • Banned
  • User avatar
  • Posts: 143
  • Loc: Ukraine

Post 3+ Months Ago

yah, do what he said

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 9 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.