User Tag List

Results 1 to 7 of 7

Thread: About sounds

  1. #1
    No Products Registered

    Join Date
    Sep 2008
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    About sounds

    I've create an application with sounds but I don't know how to stop the sounds.My application is something like this:
    Start of Frame
    -Deactivate Group 2

    Group 1
    -Run this event once - Play sample "music1.ogg" 0 times
    Group 2
    -Run this event once - Play sample "music2.ogg" 0 times

    Upon pressing Up Arrow - Deactivate Group 1 - Activate Group 2
    Upon pressing Down Arrow - Deactivate Group 2 - Activate Group 1

    I think the error is with this line "Run this event once" but don't know what to put...

    What can I do ? Thanks !

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: About sounds

    Closing a group does not stop the sounds inside the groups. To stop a looping sound, you must use "stop sample" or "stop channel".

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: About sounds

    you'd also want to replace the "run this even once" with a "run this even once when action loops", plus what nifflas said.

  4. #4
    No Products Registered

    Join Date
    Sep 2008
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: About sounds

    At Limit conditions appear only "Run this even once" and "Only one action when event loops". Where is "run this even once when action loops" ?

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: About sounds

    He meant the one that say: "Only one action when event loops"

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: About sounds

    Still, I can't see any reason why to put those "play sample" actions in groups, what are you trying to accomplish with that? Closing a group does not revert the actions within it, you can't stop a playing sound by closing a group.

    Why not just:
    Upon pressing Up Arrow: Play sample "music1.ogg" on channel 1, 0 times
    Upon pressing Down Arrow: Play sample "music2.ogg" on channel 1, 0 times

    That way, the first song will interupt when you start the next, since you're playing it on the same channel.

  7. #7
    No Products Registered

    Join Date
    Sep 2008
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: About sounds

    I use deactivate/active Groups because I have put some sounds in there. Anyway it's working Thank you very much !

Similar Threads

  1. sounds?
    By Physco in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 15th March 2009, 04:03 AM
  2. Sounds!
    By Toneslice in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd September 2008, 07:42 PM
  3. Sounds sounds sound
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th November 2007, 07:26 AM

Posting Permissions

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