User Tag List

Results 1 to 2 of 2

Thread: Have 2 application in one html file?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    warlords's Avatar
    Join Date
    Oct 2011
    Location
    Dk
    Posts
    352
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Have 2 application in one html file?

    How can I get 2 applications (html5) in one html without conflict?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    warlords's Avatar
    Join Date
    Oct 2011
    Location
    Dk
    Posts
    352
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did try to implant 2 script to call function. It seems that you have to press twice before it loads the piano?
    How can I improve the code?

    <button id="button" class="button_mask" onclick="mypiano()">Load Piano</button>

    <script>
    function mypiano() {
    var script = document.createElement("script");
    script.setAttribute("type", "text/javascript");
    script.setAttribute("src", "piano/src/Runtime.js");
    document.getElementsByTagName("head")[0].appendChild(script);
    new Runtime("MMFCanvas1", "piano/resources/piano.cch");
    }
    </script>

Similar Threads

  1. How do i run my HTML application?
    By King_Cool in forum HTML5 Export Module 2.5
    Replies: 7
    Last Post: 25th November 2015, 09:47 AM
  2. Replies: 1
    Last Post: 6th March 2015, 08:09 PM
  3. Problem opening a HTML file with a flash file
    By liliaks in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 15th January 2012, 10:26 AM
  4. To launch a file html or external file
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th July 2009, 07:39 PM
  5. HTML in MMF2 application
    By GameDesigner in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th October 2007, 07:14 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
  •