User Tag List

Results 1 to 2 of 2

Thread: html5 call javascript function

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    950
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    html5 call javascript function

    Hi,
    I wish to understand how to call a funtion with the html5 object.
    Actually i do that :
    start of frame
    >reset parameters
    >call "window.top.location.hostname"
    always
    >set alt string to JSStrResult$( "HTML5" )

    the return of JSStrResult$( "HTML5" ) is an empty string or i misunderstood how to call a function.
    Somebody can help me ?

    thanks

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    950
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    okay : the function must be in the index.html to work. If i load an external script, it doesn't work. Normal ?

Similar Threads

  1. example of how to call javascript function in HTML5 runtime
    By brett in forum HTML5 Export Module 2.5
    Replies: 15
    Last Post: 9th October 2015, 07:06 PM
  2. calling a function FROM page javascript
    By Chokito in forum HTML5 Export Module 2.5
    Replies: 1
    Last Post: 28th March 2014, 05:01 AM
  3. PHP to Java Socket within JavaScript Function call
    By mogg49 in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 25th November 2010, 08:39 PM
  4. Help with calling a Javascript function
    By Steven in forum SWF/Flash Export Module Version 2.0
    Replies: 12
    Last Post: 4th August 2010, 09:03 PM
  5. Javascript call with JS Object as parameter
    By netninja in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 19th July 2010, 03:49 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
  •