User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15

Thread: Sound ON/OFF in all application

  1. #11
    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
    You have to set the volume in the same event as you play the Sample, like this:

    Uppon pressing SPACEBAR
    - Play Sample LASER
    - Set volume of Sample Laser to GV_Volume_

    NOTE: When you set a Samples Volume, if there are more than one instance of the Sample playing, only the first instance found will change volume.
    That does not make sense King_Cool? The GV_Volume_ is a value between 1 and 0? This works in runtime, its just in flash this happens

    I knwo t

  2. #12
    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)
    Hmmm, i might have been wrong in my previous post.

    Well as you play the LASER Sample you also set the LASER Sample Volume to 50, and this is the problem.
    Even if the master Volume is allready set to 0, when you set the LASER Sample Volume to 50 you unmute the sound and there is an audio lag in Flash between when you do this ( unmute ) and your application re-mutes the audio in line nr 3.

    What you should do is edit the LASER Sample outside MMF2 so the volume is correct, that way you wont need to modify the volume during runtime in MMF2 and you wont have this problem.

  3. #13
    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
    Hmmm, i might have been wrong in my previous post.

    Well as you play the LASER Sample you also set the LASER Sample Volume to 50, and this is the problem.
    Even if the master Volume is allready set to 0, when you set the LASER Sample Volume to 50 you unmute the sound and there is an audio lag in Flash between when you do this ( unmute ) and your application re-mutes the audio in line nr 3.

    What you should do is edit the LASER Sample outside MMF2 so the volume is correct, that way you wont need to modify the volume during runtime in MMF2 and you wont have this problem.
    The problem is that to modify sound outside MMF and then import is very unflexible. Especially when you may want to use different quality sounds for the Flash version. To make matters worse I have often experienced that sound get a different volume when they are imported to mmf. And on top of that it can be needed to easely adjust volume if another sound takes over to much when you play them all together. Also your explanation does not explain why the event that do the exact same thing as the spacebar event but every 1 second works?

  4. #14
    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)
    Actually this is a fix that works. I remember i did a thread about something like this recently and I got the answer, I had just forgot how to solve it. Apparently you have to first stop the sample, then play it, then set the volume and it should always work.
    Attached files Attached files

  5. #15
    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)
    Hmmm, you are right, i cannot explain why the two Events act differently.
    Im sorry i cant help you with this.

    I however fixed your problem, i did things abit differently though.
    See .mfa, or ask, for details.
    It works perfectly as SWF
    Attached files Attached files

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. No sound in Sub Application
    By JoKa in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 16th February 2012, 07:30 AM
  2. Adding sound to application
    By Greasy in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 31st December 2011, 10:23 PM
  3. No sound in application when built!
    By kreeddem in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 24th March 2010, 12:59 AM
  4. Muting sound in in the application
    By Digitalmayhem in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th May 2009, 06:30 AM
  5. Extract sound and graphics from an application
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th October 2008, 09:09 AM

Tags for this Thread

Posting Permissions

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