Re: [Flashcoders] File under BIZARRE: Keyboard Freezes Game, Wiggling Mouse Unfreezes

2005-10-28 Thread Ian Thomas
My only immediate thought - did the artist deliver his art files to you in
Flash format? Are you sure he hasn't accidentally buried some code somewhere
in the frames of one of those movieclips?

HTH,
Ian

On 10/28/05, Buck Ruckman [EMAIL PROTECTED] wrote:

 Hi everyone!

 i really hope someone here can help out, because i think we have a doozie
 of
 a strange problem.
 snip
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] File under BIZARRE: Keyboard Freezes Game, Wiggling Mouse Unfreezes

2005-10-28 Thread Buck Ruckman

(um ... i think you responded to the wrong person ... ?)



From: JesterXL [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] File under BIZARRE: Keyboard Freezes 
Game,Wiggling Mouse Unfreezes

Date: Fri, 28 Oct 2005 11:37:58 -0400

Line 65 of frame 12; you can't utilize onEnterFrame twice in an
onClipEvent(initialize).

- Original Message -
From: Buck Ruckman [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, October 28, 2005 11:35 AM
Subject: [Flashcoders] File under BIZARRE: Keyboard Freezes Game,Wiggling
Mouse Unfreezes


Hi everyone!

i really hope someone here can help out, because i think we have a doozie 
of

a strange problem.

i partenered with an artist and built a game that takes place in a zoo.  i
built a stick and ball version while the artist built the graphics.  The
stick and ball version works fine on all the machines in our department.

Then i incorporated and animated the artist's graphics, and something weird
happened.

On certain machines ... i *think* slower machines (i've ruled out browser
type and version, and Flash player version) ... when you hold down the 
arrow

keys to move the character, after about 1 second all the animation on the
screen freezes.  The monkey stops moving.  The hippo stops moving.  The
penguin - yes, even the penguin - stops moving.  It's tragic.


Now it's not just the arrow keys.  The problem happens when i hold down ANY
key on the keyboard.

i went back to my file and stripped out all listeners, all Key code, all
enterframe scripts.  Then i stripped out nearly every other piece of
Actionscript except the code that dynamically places the animated zoo
animals on screen.  Still no good.   Everything animates hunky-dorey on
these problem machines until i hold down a key - any key - *** and there's
NO Key code in the file. ***

AND HERE'S THE REALLY WEIRD PART:

i hold down a key and after one second, all screen animation halts.  THE
ANIMATION RESUMES WHEN I MOVE THE MOUSE AROUND.  Let go of the key, the
animations keep looping.  Hold down a key and the animations stop.  Move 
the

mouse around while holding the key, and they keep playing.  Stop moving the
mouse, and they stop.

And no, there's no Mouse code in the file either.  In fact, there's barely
any code in there at all.

So!  What in the heck is going on with this crazy thing?  It works on most
machines in our department, but on a handful of PC machines and our testing
Mac it exhibits this bizarre behaviour.

BIG BIG HUGE thanks to anyone who can shed some light.  Do it for the
animals.

- Ryan Creighton

_
MSN® Calendar keeps you organized and takes the effort out of scheduling
get-togethers.
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines
  Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_
Powerful Parental Controls Let your child discover the best the Internet has 
to offer. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] File under BIZARRE: Keyboard Freezes Game, Wiggling Mouse Unfreezes

2005-10-28 Thread JesterXL
Naw, just made it up.  If Ian's comment doesn't help, post some code, and 
upload a SWF if you can.

- Original Message - 
From: Buck Ruckman [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, October 28, 2005 11:43 AM
Subject: Re: [Flashcoders] File under BIZARRE: Keyboard Freezes 
Game,Wiggling Mouse Unfreezes


(um ... i think you responded to the wrong person ... ?)


From: JesterXL [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] File under BIZARRE: Keyboard Freezes
Game,Wiggling Mouse Unfreezes
Date: Fri, 28 Oct 2005 11:37:58 -0400

Line 65 of frame 12; you can't utilize onEnterFrame twice in an
onClipEvent(initialize).

- Original Message -
From: Buck Ruckman [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, October 28, 2005 11:35 AM
Subject: [Flashcoders] File under BIZARRE: Keyboard Freezes Game,Wiggling
Mouse Unfreezes


Hi everyone!

i really hope someone here can help out, because i think we have a doozie
of
a strange problem.

i partenered with an artist and built a game that takes place in a zoo.  i
built a stick and ball version while the artist built the graphics.  The
stick and ball version works fine on all the machines in our department.

Then i incorporated and animated the artist's graphics, and something weird
happened.

On certain machines ... i *think* slower machines (i've ruled out browser
type and version, and Flash player version) ... when you hold down the
arrow
keys to move the character, after about 1 second all the animation on the
screen freezes.  The monkey stops moving.  The hippo stops moving.  The
penguin - yes, even the penguin - stops moving.  It's tragic.


Now it's not just the arrow keys.  The problem happens when i hold down ANY
key on the keyboard.

i went back to my file and stripped out all listeners, all Key code, all
enterframe scripts.  Then i stripped out nearly every other piece of
Actionscript except the code that dynamically places the animated zoo
animals on screen.  Still no good.   Everything animates hunky-dorey on
these problem machines until i hold down a key - any key - *** and there's
NO Key code in the file. ***

AND HERE'S THE REALLY WEIRD PART:

i hold down a key and after one second, all screen animation halts.  THE
ANIMATION RESUMES WHEN I MOVE THE MOUSE AROUND.  Let go of the key, the
animations keep looping.  Hold down a key and the animations stop.  Move
the
mouse around while holding the key, and they keep playing.  Stop moving the
mouse, and they stop.

And no, there's no Mouse code in the file either.  In fact, there's barely
any code in there at all.

So!  What in the heck is going on with this crazy thing?  It works on most
machines in our department, but on a handful of PC machines and our testing
Mac it exhibits this bizarre behaviour.

BIG BIG HUGE thanks to anyone who can shed some light.  Do it for the
animals.

- Ryan Creighton

_
MSN® Calendar keeps you organized and takes the effort out of scheduling
get-togethers.
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines
   Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_
Powerful Parental Controls Let your child discover the best the Internet has
to offer.
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines
  Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] File under BIZARRE: Keyboard Freezes Game, Wiggling Mouse Unfreezes

2005-10-28 Thread Buck Ruckman

Good thought. They were delivered in Flash format with zero code.

The animal clips do have code in them.  Here's the extent of it:

Each animal clip has 3 frame labels - visible, hidden and noisy.  
Playhead burns through the stretch of hidden animation, does a random dice 
throw, goes to and plays one of the three labels.  The variables 
this.isNoisy and this.isVisible are flagged true or false.


By and large, this code existed in the animal clips in the stick and ball 
file.


When the freeze happens, it doesn't seem to depend which animal is doing 
what or whether an animal is on a decision-making frame.  All animal clips 
freeze at the same time - roughly 1 second after *any* key on the keyboard 
is pressed and held.  When the mouse is moved around while the key is held, 
the animal clips haltingly play through normally, hitting those dice throws 
and flagging their variables without a problem.  Stop moving the mouse, and 
they all freeze.  Let go of the key, and they all play.  As i mentioned, 
there's no Key, Mouse, Add/RemoveListener, setInterval or EnterFrame code in 
the file.


- Ryan Creighton



From: Ian Thomas [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] File under BIZARRE: Keyboard Freezes 
Game,Wiggling Mouse Unfreezes

Date: Fri, 28 Oct 2005 16:41:11 +0100

My only immediate thought - did the artist deliver his art files to you in
Flash format? Are you sure he hasn't accidentally buried some code 
somewhere

in the frames of one of those movieclips?

HTH,
Ian

On 10/28/05, Buck Ruckman [EMAIL PROTECTED] wrote:

 Hi everyone!

 i really hope someone here can help out, because i think we have a 
doozie

 of
 a strange problem.
 snip


_
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] File under BIZARRE: Keyboard Freezes Game, Wiggling Mouse Unfreezes

2005-10-28 Thread Ian Thomas
That does sound weird. If you're sure it's not stray code (or a stray
component kicking around offstage somewhere or something), then all I can
really suggest is my standard 'something's weird' debugging approach; to
make a temporary copy of the app, and start peeling away bits of it until it
starts working properly. Cut it down to one animal - does it still fail? Cut
out the animals completely, put a different animation on the stage; does
that halt? Cut out all the user interaction code; does it still fail? I'm
sure you know the drill. Tedious, but tends to give you results.

Other thoughts:
- Is this running in the IDE or a browser? If a browser, which browser? Does
it fail in a different browser?
- Platform?
- Is it a corrupt Flash file in some way? Does 'save and compact' solve the
problem? What happens if you paste all the same assets into a brand new
Flash file?
- Are you using a loader? If so, are you sure that:
i) The loader has no key-handling code in it
ii) The loader doesn't load a class with the same package/Class name as
something in your movie and overwrite it with different behaviour?

Like Jester says, if you can maybe upload a file somewhere so that someone
else can verify..?

Sorry I can't be more definite,

I'm still deeply suspicious of those Flash assets. :-)

HTH,
Ian

On 10/28/05, Buck Ruckman [EMAIL PROTECTED] wrote:

 Good thought. They were delivered in Flash format with zero code.

 The animal clips do have code in them. Here's the extent of it:

 Each animal clip has 3 frame labels - visible, hidden and noisy.
 Playhead burns through the stretch of hidden animation, does a random
 dice
 throw, goes to and plays one of the three labels. The variables
 this.isNoisy and this.isVisible are flagged true or false.

 By and large, this code existed in the animal clips in the stick and ball
 file.

 snip
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] File under BIZARRE: Keyboard Freezes Game, Wiggling Mouse Unfreezes

2005-10-28 Thread Ian Thomas
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders