Skip navigation
Currently Being Moderated

When I call gotoAndStop(3) it plays the sounds in frame 2?

Aug 23, 2013 4:13 PM

Hi all,

 

I have a problem, I'm creating a game for android using flash CC and I have a level on each frame but when I go to choose level frame and click on a button that takes me to a frame it pass by the in between frames I do not know why, I have no error but the sound keep playing.

 

and the sound is a strem on time line in movieclip so I think it plays the movie before going to the far frame fro example if I'm in frmae 1 and want to go to frame 3 it plays the sound on frame 2???

 

Anyone can help me?

 

thanks in advance.

 
Replies
  • kglad
    72,222 posts
    Jul 21, 2002
    Currently Being Moderated
    Aug 23, 2013 4:58 PM   in reply to Emad Zedan

    assign your sound's sync property to event, not stream.

     
    |
    Mark as:
  • kglad
    72,222 posts
    Jul 21, 2002
    Currently Being Moderated
    Aug 24, 2013 7:02 AM   in reply to Emad Zedan

    use actionscrpt to play your sounds instead of adding sounds to a timeline.

     

    so, first remove all sounds from your timelines to make sure you don't have any errant sounds added.  you can then use the sound and soundchannel classes to play and stop your sounds using actionscript.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points