A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Playing a sound file after a drag and drop

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Posts
    2

    Arrow

    Hi Everyone!

    I'm new to the list so I hope someone can answer my first query!

    Basically, how do you trigger a sound clip to play following a drag and drop operation in Flash 5.0? That is to say you drag an object to a specific location and only when it is dropped on this location, a sound file is played.

    Cheers,

    Rich.

  2. #2
    I'm a hero like Robert De Niro
    Join Date
    Mar 2000
    Location
    London
    Posts
    1,171
    Hello,

    You can place the sound inside a movie clip.Beginning from the 2nd key frame.The 1st key frame has a "stop" action and you tell that movie clip to gotoandplay its 2nd key frame upon the drop.The command will be inside the movie clip you are dragging or where ever you check the drag and drop.

    Hope it helps,

    McMurphy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center