gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Trying to make key-events work again.


From: strk
Subject: Re: [Gnash-dev] Trying to make key-events work again.
Date: Fri, 11 Aug 2006 00:14:59 +0200

On Thu, Aug 10, 2006 at 06:11:28PM +0200, annonygmouse wrote:
> strk wrote:
...
> >Play elvis.swf to see the problem.
> 
> It worked OK for me with my patch...
> I'll look it further next week.

It seems that ActionScript code in elvis.swf sets the movie
state to STOP (this is to wait for movie load, will be set
to PLAY again when a given condition holds true: bytes loaded=bytes
total).

The problem is that with your patch the code checking for the condition
will never be executed as the Gui class never calls advance_root
which is where both frame step and action execution happens.

The effect is that elvis.swf starts PAUSED, and you need to hit
^P to start it again. This can theoretically happen anytime a movie
script explicitly calls root.stop();

So, the Gui should *NOT* rely on the sprite play state to omit calls
to advance_root. I suggest we use a Gui data member keeping Gui
running state.

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]