Thanks for taking a look at this.
i also have a feeling that the game's doing far too much work, so one of the
first things i did to test the problem was to strip nearly everything out of
the game. Here's what i axed:
- character
- enemies
- clock (train)
- options screen
- tutorial
- win screen
- scavenger hunt list
- all enterFrame, Key, Mouse, listener and interval scripts
- nearly all code in the game (!)
i have a barenaked file that has a title screen that goes to the game frame.
The zoo clip is attached to the stage, and 9 animal enclosures are attached
inside that clip. Then the animals do their thing.
That's all that i have in the file, and i still have the freezing problem.
So we took the Stick and Ball version, which plays fine, and started adding
animals to it one by one. The file started chugging at 4 animals (typical
Flash slowdown), and started freezing with key presses at 5 animals.
So what's going on with these animals, you ask? Not a lot. Some animation
of the different puppet pieces, some sound effects, and the code i mentioned
earlier. The file obviously doesn't have trouble playing the animations -
they play just fine. But if i hold down a keyboard key, they lock up. Is
there a bug in the player that constantly listens to the keyboard whether i
want it to or not? And why does everything unfreeze as the mouse is
wiggled?? All of our broken (and working) machines are using Flash Player
7, btw.
Next, i'm going to try leaving everything in the game BUT the animals. i've
really exhausted any bright ideas by this point.
- Ryan Creighton
From: Ian Thomas <[EMAIL PROTECTED]>
Reply-To: Flashcoders mailing list <[email protected]>
To: Flashcoders mailing list <[email protected]>
Subject: Re: [Flashcoders] File under BIZARRE: Keyboard Freezes
Game,Wiggling Mouse Unfreezes
Date: Fri, 28 Oct 2005 17:22:08 +0100
Ah, we're getting somewhere...
In Firefox 1.07 (my default browser) running Flash 8 it all seems to work
fine.
In IE 6 running Flash 7, it does, indeed, hang when I press a key. And
restarts when I stop pressing the key. And gives me a memory error when I
quit the browser.
So is the difference that a bug in Flash has been cured from 7->8 - or that
IE is buggier than Firefox? Votes?
I will say that the whole app feels very clunky to me, like it's doing far
too much work - but then I have a slow machine.
Cheers,
Ian
On 10/28/05, Buck Ruckman <[EMAIL PROTECTED]> wrote:
>
> Here's a swf, where you can place yourself in the "Bizarre problem
happens
> to me" or "Bizarre problem doesn't happen to me" camp.
>
> http://www.ytv.com/games/hasbro_chatnow/game.swf
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_________________________________________________________________
Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The new
MSN Search! Check it out!
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders