Show the code that is crashing your file.
NED! =D!! thank you for such a quick response.
_global.energy += 25;
_global.bottleofwater -= 1;
thats the code on my dynamic box which is also working as a button... i have no idea why its crashing i thought the code would work because its so simple
am i missing something?
Hm... actually i think i just solved my own problem... not sure why but it works fine in a new flash file...
=D thanks for the help ned you really are an mvp mate, but i think i beat you too the punch in pointing out my obvious problem...
rep my learner plates xD
That's good that you worked it out!... because there's nothing in the code you showed that would crash a file.
Have you thought about learning AS3 instead of AS2, which is at this time an outdated version of Actionscript?
If you don`t want to upgrade you FlashMX there are a tons of open source alternatives (Flexbuilder/Eclipse, FlashDevelop).
The main drawback of AS2 imo is that you won`t be able to use features like stage3D or develop for a current mobile device.
For more on Adobes "Game Initiative" go here