Hello,
I am creating a game in Game Maker HTML5(obviously xD) thing is in my game I added an extension and under that i added a .js file, now in that js file there is a function that i want to call from game maker that will end up executing when youre in the browser. Now my js file is added but when i type my function that i added, since it has a period in it. it is called
AppMobi.notification.beep
now, when i do that i get this error
In Object obj_logo, in Event Create event number 0 at line 2 : unknown function or script beep
so what i did was create another js file thats loaded at the same time that has a function in it that calls on AppMobi.notification.beep and doesnt have periods in it and it works when i call it that way but theres got to be a way to call it directly from the original file.
External Function/Javascript with . in name
Started by _178150, Jan 30 2012 06:34 PM
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











