User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Setting Main Volume in Flash apps

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Question Setting Main Volume in Flash apps

    Do anyone know a good method for handeling mute and unmute in flash? I have noticed as soon as I export to Flash I get problem with this. In exe I just use the setting for setting the Main Volume to 0 if I want to mute. But in Flash apps I export that does not work properly, you will hear the sound "popping" in all the time before being cut off. Any tips?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Outcast can you post an example of your issue?

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nothing to do about this Outcast, i had this problem ages ago:
    http://community.clickteam.com/threads/71424-Audio-*tick*-sound-when-resuming-a-muted-sample?highlight=audio+tick

    Pausing, stopping, muting, unmuting all potentially cause a popp or tick sound.
    The problem probably lies with MMF2, Flash or the convertion process from the first to the other.

    An example would be nice, maybe i have missunderstood your problem.

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by King_Cool View Post
    Nothing to do about this Outcast, i had this problem ages ago:
    http://community.clickteam.com/threads/71424-Audio-*tick*-sound-when-resuming-a-muted-sample?highlight=audio+tick

    Pausing, stopping, muting, unmuting all potentially cause a popp or tick sound.
    The problem probably lies with MMF2, Flash or the convertion process from the first to the other.

    An example would be nice, maybe i have missunderstood your problem.
    No that sounds exactly like the problem I have.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It realy isnt noticable once you come to terms with that you cant do anything about it...

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by King_Cool View Post
    It realy isnt noticable once you come to terms with that you cant do anything about it...
    Hm that is not the case for me though, the sound is popping through every other second

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is the sample looping?
    Do you have an example?

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    IMO, If you have a line of code that reads play sample (example) every 1 second at 100 volume or whatever and then you just set the main volume at 0 say when you press a button or whatever MMF IMO will still try to play that sample every 1 second at volume 100 and cause that pop or click. What I found was if you us a value,..Play sample at 100 volume every 1 second + value A equals 1 for example. Then when you press the button to mute or pause,.just set the value to 2 and it won't play the sample unless the value is 1. I never had an issue with popping or clicks in SWF, but then again my ears aren't that good anymore...LOL.

    Can you post an example of the issue you're having?

  9. #9
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    I have an example here. This example works in exe but the music wont mute at all in flash. The reason is event number two I noticed, that event is always setting a samples volume to a value, that seems to overide the main volume in the flash apps. It can be solved by setting that value to 0 when muting but this clrearly seems to be a bug in the flash extension. https://dl.dropboxusercontent.com/u/...c/SFXBug12.mfa

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    It is a bug, but there are always work arounds that will get the job done. In your example,.can't you just add to line #2. Always + Internal flag 15 is off. It works in flash that way. If you are worried about it being abruptly cut off, then you could set a fade using values. This way you wont hear that pop/click as the volume instantly drops to zero. Just trying to help.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. [BUG 257.6] Main volume
    By Olivier in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 28th March 2013, 07:13 AM
  2. Get Main Volume to interact properly with sample
    By mrmdesign in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 18th July 2011, 11:20 AM
  3. Main volume and Channel volume
    By ASD in forum SWF/Flash Export Module Version 2.0
    Replies: 7
    Last Post: 23rd August 2010, 06:51 AM
  4. Main Volume
    By weka in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th May 2009, 09:51 PM
  5. Sharing window settings with sub/main apps.
    By camelman in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 6th May 2009, 02:40 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
  •