Saturday, 6 February 2010
Wicked, Another Problem
Hit another problem today with the code, I was getting worried I would go a day without a code problem, alas my fears were dispelled when I tried to have a finish screen. I wanted to have your final score pop up when the music stopped, either on a new frame (not really the most optimized way) or just dynamically removing everything with code (it is after all dynamically added), either way a screen blank screen with your score on. Not as easy as I hoped, there were a lot of eventlisteners (code that with functions tells flash to set off series of events) that were still trying to fire off. I removed all but one at run time when the song finishes but there was one that would not stop, it’s a problem again addressing two elements, one in the fla the other in the external as. file. I hate classes! It’s beaten me for the time being and I’ll come back to it. It’s something that I will have to face though because until that’s sorted I can’t do anything but play one level/song. Did I mention I hate classes?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment