Posts Tagged errors

We’re a little closer

T googled ‘converting variables in as3’ and figured out that we were extending the class as an Application instead of as a  TouchSprite! We think this is key, except the TouchSprite class doesn’t work as the main app class. But now that I’ve separated the two so the main app class calls the TouchSprite class, I’m getting the dreaded Error #1009: Cannot access a property or method of a null object reference.

ARGGGGHHHHHH!

I’ve been looking for the premature call for over an hour and so far haven’t found a damned thing. Sometimes I really hate Flash. Would it have killed them to give a line number with that error??

ETA: Yeah, this wasn’t the problem. We had to stop using the Marker() class provided by google and create custom markers that we then placed manually on the map. Live and learn!

Comments off

Markers: 471; Team: 0

We’ve given up on the Markers. Well, not entirely, else we (T and I) wouldn’t still be obsessing over them, but we’ve accepted the fact that this is a problem that might be too big for us, and we’ve sought help from the software and hardware people. So far, no response from either. *sigh*

But! Until then, I’ve decided to move onto other aspects of the application. First on the list: XML data feed, already completed. That was easy, of course. Although in the interests of full disclosure, my IOErrorEvent function keeps throwing up a 1046 (WTF?), so I commented it out, but otherwise it works fine. So at least I can include one success, soft pitch though it was, in our project status meeting in 45 minutes.

Comments (2)