Ive got my target game where the target spawns on the stage at a random position. When the target spawns however, i am unable to click it to shoot it?
Ive got my event listener for the target in my actions on that frame, but its giving me the following error:
1061: Call to a possibly undefined method addeventlistener through a reference with static type class.
If i comment out the addEventListener for the Target the game runs but i cant click it, if i dont comment it out i get that error and the game wont run.
Please help!
Thanks