HTML5 Solved: How to use clickable_add ?

Hey hi,

can someone point me in the right direction or even better yet tell me the exact syntax I have to use when I want to call a script with a clickable?
So far nothing worked for me: not calling it as a string, not with parentheses or without and not with gmcallback_... in front of the script name.
What am I supposed to do? Or what could be the problem?
Thanks a lot for your Help!

Edit:
Code:
click = clickable_add(x, y, sprite_get_tpe(sprite_index, image_index), "gmcallback_web_share", "", "");
was the right one! I never tried both ^^'

But now I have a new problem with the positioning: except for hardcoded numbers, it doesn't work with any variable or function...

Edit2: I centered the window after I created the clickable! Of course, it doesn't work that way!
 
Last edited:
Top