| FBA The Creator http://www.fbacreator.com/fbaforum/ |
|
| ERROR: MAIN SCRIPT NOT EXECUTED .. when moving stylus? http://www.fbacreator.com/fbaforum/viewtopic.php?f=5&t=18 |
Page 1 of 1 |
| Author: | trids [ Tue Apr 01, 2008 2:31 pm ] |
| Post subject: | ERROR: MAIN SCRIPT NOT EXECUTED .. when moving stylus? |
I'm trying out a modified version of the StarField app, but I'm getting an error when running in the IDE -- as soon as I move the stylus over the screen: when running in the IDE: Quote: ERROR: MAIN SCRIPT NOT EXECUTED: [string "MAIN.FBA"]:11: attempt to index field '?' (a nil value) Here's the code: Code:
If the error is referring to "Line 11", then I'm baffled as to how control gets there when I simply move the cursor over the screen. Where am I going wrong? |
|
| Author: | evilmaio [ Tue Apr 01, 2008 3:53 pm ] |
| Post subject: | Re: ERROR: MAIN SCRIPT NOT EXECUTED .. when moving stylus? |
Mmmh..i just found a strange behaviour on the windows FBA player (it shouldn't be present on the PPC version)... It's related to mouse movements and actually it could explain why your script is interrupted while you move your mouse... I'm going to check this and i'll release a new version in few hours Thanks. |
|
| Author: | evilmaio [ Tue Apr 01, 2008 5:20 pm ] |
| Post subject: | Re: ERROR: MAIN SCRIPT NOT EXECUTED .. when moving stylus? |
I'm checking for that issues, btw changing your code like the following, worked for me This should solve also your problem; actually i noticed that on some Windows system, the main script is not called until you move the mouse on main window Code: nS=60 |
|
| Author: | trids [ Wed Apr 02, 2008 6:14 am ] |
| Post subject: | Re: ERROR: MAIN SCRIPT NOT EXECUTED .. when moving stylus? |
Great - thanks! I still have a lot to learn |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|