Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to play a sound on drag and drop?

New Here ,
Feb 14, 2013 Feb 14, 2013

I've been tasked with creating a drag and drop game for College, and I would like to make it so that when an object is picked up/clicked on, a small 'pop' sound will play, and when it is successfully placed on a target, a slightly different 'pop' sound will play.

I'm using ActionScript 2.0 on Flash CS5.5.

I've got the drag and drop done, I just need to add the sound counterpart. I've seen some tutorials, but they're way too vague for me.

TOPICS
ActionScript
812
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Feb 14, 2013 Feb 14, 2013

Look at using the Sound class.  Search Google using terms like "AS2 Sound tutorial"

Translate
LEGEND ,
Feb 14, 2013 Feb 14, 2013

Look at using the Sound class.  Search Google using terms like "AS2 Sound tutorial"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 22, 2013 Feb 22, 2013

Thanks a lot for that! Managed to get it to work finally.

Sorry for the late response, I've only just decided to get back to doing the work.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 22, 2013 Feb 22, 2013
LATEST

You're welcome

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines