SECURITY ERROR
Monkey Forums/Monkey Programming/SECURITY ERROR
| ||
IF I RUN MY GAME FROM INSIDE THE COMPILER IT RUNS FINE BUT IF I RUN IT FROM THE FOLDER BY CLICKING ON THE ICON I GET SECURITY ERROR DOM EXCEPTION 18 AND THE PROGRAM HANGS THIS IS ONLY IN HMTL5 AND ONLY IF I SELECT A CERTAIN ICON.ANY IDEAS WHAT THIS MEANS. |
| ||
Well first this means you need to press the key to the left of the "A" key. Then you need to tell us the name of the file you are clicking. All files have icons of some sort, that tells us nothing. Are you trying "MonkeyGame.html"? |
| ||
yes im trying to run "MonkeyGame.html" |
| ||
I get it too, I think its to do with the new server, if you upload the html5 game to a website you probably wont get the error if you want to run a game on the local PC you will have to go into a command prompt and set the current directory as the game folder e.g. 'cd c:\mygame\build\html5' then 'c:\Monkey\bin\mserver_winnt.exe monkeygame.html' |
| ||
@dave.h: Why all the SHOUTING? In case you haven't already, perhaps go back to previous version of Monkey and continue your programming. |
| ||
wasnt shouting just forgot capslock was on |
| ||
thanks for the reply slenkar i read something on the internet and they seemed to be saying the same as you. |
| ||
full explanation here http://www.monkeycoder.co.nz/Community/posts.php?topic=824& |