User Tag List

Results 1 to 2 of 2

Thread: Sound "pause" event trouble

  1. #1
    Clicker Fusion 2.5SWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2006
    Indiana, USA
    0 Post(s)
    0 Thread(s)

    Sound "pause" event trouble

    When my game is compiled into an exe or run using the test game feature in MMF2, the "pause sound" and "resume sound" work fine. (I'm pausing the background music while a jingle is playing each level, then resuming the music afterwards.)

    However, I can't seem to get that to work with the flash version of the game. Everytime it "pauses" the music file, flash just cuts it off entirely(the resume sound if paused event doesn't even fire off, just like if I had told MMF to "stop playing" the file.)

    Does everything in the sound object work in swfs, including the pause/resume sound events, or have I found a bug? I'm trying to figure out if it's my code or flash that's the problem.

    A possible work around would be helpful too, as I'm not sure how else to do this if I can't use the pause/resume events. I tried a workaround by saving the position of the song in a global value, but that command isn't working for me in the flash version either(I get 0 returned for "get position of soundfile" and then of course the music starts over as if I didn't have that code there).

    EDIT: For now, I'll just have the sounds mix, the jingle is only 2 seconds long so it's not much of an issue with this game.

    When I get more time free, I'll do a quick test flash app to see if I can get flash to pause and resume without having all the rest of the game code. Will update then.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Montpellier, France
    1 Post(s)
    1 Thread(s)

    Re: Sound "pause" event trouble

    There is a inherent problem with pause on long sounds. Butresuming the sound should restart it from the begining and not stop it. So I am puzzled here.

Similar Threads

  1. Help! - Multiple "Which animation is playing?" Conditions in same event line.
    By ezzypixel in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th October 2013, 03:18 AM
  2. [BUG] "bring to front" on Counters - can't have the action more than once per event
    By alspal in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th April 2012, 03:29 PM
  3. Adding Return to "Change alterable Text" event
    By Teh_Purple_d00d in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th December 2011, 02:45 AM
  4. Event Editor: Little "B" in bottom-left corner of my objects
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th December 2011, 09:08 PM

Posting Permissions

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