Sound Control Issue

  • RockmanTV
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Oct 12, 2004
  • Posts: 348
  • Status: Offline

Post May 29th, 2005, 5:01 pm

One one frame I have this code in a button:

Code: [ Select ]
on (release){
    _global.myLoopVolume=20;
    gotoAndPlay ("on");
}
  1. on (release){
  2.     _global.myLoopVolume=20;
  3.     gotoAndPlay ("on");
  4. }


Then in the following frame (on) I have this actionscript in the frame itself:

Code: [ Select ]
if (myLoopVolume==20) {
    SoundLevel20.gotoAndPlay("on20");
    myLoop.setVolume(20);
}
  1. if (myLoopVolume==20) {
  2.     SoundLevel20.gotoAndPlay("on20");
  3.     myLoop.setVolume(20);
  4. }


However the movie clip SoundLevel20 plays the on20 frame then stops. It doesn't play like it should. It's doing what the function gotoAndStop would normally do. What's going on? I've tried both gotoAndStop and gotoAndPlay. They both do the same thing. It makes no sense :?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 29th, 2005, 5:01 pm

  • Natal
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Dec 20, 2004
  • Posts: 49
  • Loc: Transylvania
  • Status: Offline

Post June 4th, 2005, 8:03 am

HI

If gotoAndPlay and gotoAndStop do the same thing, this means that something stops the movie at that point. You should try to find that something.

Sorry, but there's not too much we can help with this info. The problem is somewhere else.
  • mahjik
  • Novice
  • Novice
  • No Avatar
  • Joined: May 26, 2005
  • Posts: 33
  • Loc: Las Cruces, NM USA
  • Status: Offline

Post June 4th, 2005, 9:48 pm

is there visual content that lets you confirm gotoAndPlay and gotoAndStop do the same thing? or is it the results of your sound that leads you to this conclusion? It's hard to help without seeing a more complete example of the code. if its the sound, then it could be something as easy as it being a streaming sound, and not having enough frames after its attach point for it to play.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 41 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.