[Flashcoders] Help with code

2011-02-12 Thread Renata
English is not my native language, so I apologize if you make mistakes of agreement or spellings. AS3 study and made this game for three year olds who can notmove with mouse, to run it, there is an error and I can not makeit back to the home page. Below the code and the error message. I do not

Re: [Flashcoders] Help with code

2011-02-12 Thread Gerry Beauregard
Hi Renata, TypeError: Error # 2007: Parameter hitTestObject must not be null. The argument to hitTestObject() is 'mouse'. You get the error because the 'mouse' argument to hitTestObject() is null. Since mouse is constructed in function iniciarJogo(), my guess is that iniciarJogo() never