User Tag List

Results 1 to 5 of 5

Thread: HTML5 exporter sound broken!

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export Module
    MTCMusic's Avatar
    Join Date
    Jan 2007
    Location
    Montreal, Canada
    Posts
    389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    HTML5 exporter sound broken!

    Hello

    I just finished a 3 week long project and proceeded to build HTML5 final this morning. But when the program starded running in the browser, it froze on loader . If I clicked the screen, the sound would start but program remained frozen. I then created a new simple 1 frame app containing only a looping sound and built it in HTML5 final. I had the same problem with this test app. If I rebuild the test app without the sound, everything works fine. There fore I deducted that the problem is with the launching of the sound in the HTML5 app.

    There seems to be a problem when the Start of Frame condition launches a looping sound in HTML5 final build. If the sound is not looped, it works. But if sound is loopped (like bg music for a game), it freezes.

    This is catastrophic for me! Please suggest a fix!

    Tom
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export Module
    MTCMusic's Avatar
    Join Date
    Jan 2007
    Location
    Montreal, Canada
    Posts
    389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found that the only way to fix this for now is by using the Play Sample (all parameters) action. This will override the error that freezes the program. The looping however is not very good. There are breaks in the sound every time it loops. This was never the case before.

  3. #3
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    183
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by MTCMusic View Post
    I found that the only way to fix this for now is by using the Play Sample (all parameters) action. This will override the error that freezes the program. The looping however is not very good. There are breaks in the sound every time it loops. This was never the case before.
    Ok i have tested your .mfa , you know now how to change the line of js file

    Go to Bank.js Line 1705 , this line contain:

    Code:
    else if (this.source)
    Can you replace it with this :

    Code:
    else if (isFinite(this.source))
    Then save and test your .mfa;

    Send ok or not please;

    Regards

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export Module
    MTCMusic's Avatar
    Join Date
    Jan 2007
    Location
    Montreal, Canada
    Posts
    389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, it also fixes the problem. With your fix, I no longer need to use the Play Sample (All parameters) action. However, there still is the problem that when the app forst starts, there is no sound until I click somewhere in the app window. Also, this seems to be intermitent; it happens 3 out of 4 times. The rest of the time, sound starts right away.

    Thank you for your help, I really appreciate you taking the time to help me

  5. #5
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    183
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I am glad if it's working for you.

Similar Threads

  1. I don't think the HTML5 extension should cost money. It's broken
    By Dillhole in forum HTML5 Export Module 2.5
    Replies: 7
    Last Post: 27th July 2021, 08:13 PM
  2. Advanced Path Movement broken in HTML5?
    By voodooidiot in forum HTML5 Export Module 2.5
    Replies: 0
    Last Post: 8th March 2021, 05:33 PM
  3. Is my exporter broken?
    By kromblite in forum Flash Export Module 2.5
    Replies: 5
    Last Post: 7th April 2014, 01:44 AM
  4. iOS Exporter Redownload, LINK BROKEN
    By DistantJ in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 14th November 2012, 01:33 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
  •