A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: song won't stop playing

  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    2

    song won't stop playing

    hey guys,

    so i have an mp3 file that i dragged into a layer, which starts playing at the beginning of my movie.
    if i preview, i can hear it playing.
    annoying problem is that if i stop or pause the preview, the music keeps playing and if i start it again, another instance of the audio track starts playing again so that they are playing at the same time.

    how do i fix this? this is super annoying because every time i test my video, i have to listen to the whole song or cut my speakers off.

  2. #2
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831
    Click on the layer where your sound object is imported and from properties set the 'Sync' parameter to 'Stream'.

    If the 'Sync' parameter says 'Event' then your sound would not stop or rather repeat itself even if teh layer ends.....
    As ever,
    Vinayak Kadam

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