User Tag List

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

Thread: Java Script commands call from HTML5 runtime!

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleMac Export ModuleUnicode Add-on
    crayzorechos's Avatar
    Join Date
    Feb 2013
    Location
    Russia.
    Posts
    215
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Java Script commands call from HTML5 runtime!

    Hi all clickers! Anybody answer to my question please! How call Java Script command from HTML5 runtime, for example simple command - alert("My message")? Please I wait this!

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Kimera's Avatar
    Join Date
    Feb 2007
    Location
    Houston, TX
    Posts
    718
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If you use the HTML5 object there is a JavaScript menu option to set parameters and call functions.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleMac Export ModuleUnicode Add-on
    crayzorechos's Avatar
    Join Date
    Feb 2013
    Location
    Russia.
    Posts
    215
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Kimera! You can create simple example of this for me? It will be nice!

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Kimera's Avatar
    Join Date
    Feb 2007
    Location
    Houston, TX
    Posts
    718
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I am so sorry Crayzorechos, I have never used it so it would be trial and error for me as well. If you understand JavaScript you should be able to play with it and get it working though.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleMac Export ModuleUnicode Add-on
    crayzorechos's Avatar
    Join Date
    Feb 2013
    Location
    Russia.
    Posts
    215
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyway Thanks Kimera! Maybe Francois help me!

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DracisLooby's Avatar
    Join Date
    Jun 2008
    Location
    Washington, United States
    Posts
    169
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here, I'll just make a Extension for receiving function calls, and running arbitrary JavaScript in a bit.

    I've already gotten the code all worked out, just need to plug it into the HTML5 extension framework.

    I'll make a new thread when its ready.
    Really named Ben Otter, but oh well, eh?

  7. #7
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did this extension for Pascal79 few weeks ago, maybe it'll help :
    http://goo.gl/upioWJ

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleMac Export ModuleUnicode Add-on
    crayzorechos's Avatar
    Join Date
    Feb 2013
    Location
    Russia.
    Posts
    215
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi iOSC! Many Thanks, you're great guy! While it working on me, but I can want test this function from HTML5 Object and as I understand this function is not working on me! Maybe I not right set this function or this is bug? Francois where you are!

    P. S. iOSC your extension can't return variable from function because it is compatible only simple calls Java script function! Anyway Thanks! I added this extension to extension manager for all clickers, you support it?

  9. #9
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    do you mean you personally added this extension to the extension manager ??!

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Sorry, I've been away these last days.
    Thanks Gregory, but no need of your extension : the HTML5 object works perfectly.

    Here is how to do :
    https://www.dropbox.com/s/9qgi6usabt...HTML5Alert.mfa

    The HTML5 object calls window["function"](parameter list), where "function" is the name of the function passed in parameter of the action, and parameter list the parameters your have pushed with the actions of the object. If you want your own function, just define it in the html.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. A call for Mac Runtime beta testers
    By Anders in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 20th July 2013, 01:17 AM
  2. A call to HTML5 beta testers
    By Francois in forum Multimedia Fusion 2 - Technical Support
    Replies: 70
    Last Post: 19th July 2013, 02:16 AM
  3. URGENT : call AS3 script
    By arthurh in forum SWF/Flash Export Module Version 2.0
    Replies: 9
    Last Post: 21st August 2011, 07:50 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
  •