PDA

View Full Version : [AS3] Catching game help


windjai
05-02-2009, 03:31 PM
Hi there, I'm having real difficulties with my coding as I've never ever used actionscript before or what's worst, I don't really fit in the coding or programming category. That is why I posted here instead of the actual "Actionscript 3.0" thread itself

This work is for university, but I'm willing to have this openly discussed as I'm needing some help

The concept is basically a Catching game using Actionscript 3.0.

Going through countless errors, my lecture finally helped me to sort out most of them, however, now it's the weekend and the only possible help is I can refer across the internet.

The coding should all be fine...

But, (yes, here it comes again), I get "ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller." Usually its to do with where I've placed certain coding, because as I can see, everything is fine.

I will supply the files, as I don't know which part of the code is having problems.

Parts I've put under comments are codes that were used before when I was getting helped, I thought this will become helpful if things went wrong.

Since I'm not using Classes or External sources (since tutorials I've had at University are more or less for beginners which uses private variables and private functions etc), they are all divided into just functions instead of Classes.

Thank you for future replies!
Kenny

Heloed
05-03-2009, 02:38 AM
Where exactly are you getting the errors? I opened the file and it plays fine as far as I can tell, but maybe there's some situation i just hadn't tried.

kkbbcute
05-04-2009, 01:18 PM
What is the problem exactly, you tell us what you want to happen, when you want it to happen, and what isn't happening, because I think like Heloed said, you didn't really make that clear ;)