gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] gnash/server button_character_instance.cpp


From: Sandro Santilli
Subject: Re: [Gnash-commit] gnash/server button_character_instance.cpp
Date: Tue, 17 Oct 2006 14:15:46 +0200

[reposted, previous post had wrong addres for gnash-commit]

On Tue, Oct 17, 2006 at 01:47:57PM +0200, Udo Giacomozzi wrote:
> Hello Sandro,
> 
> Tuesday, October 17, 2006, 12:55:10 PM, you wrote:
> SS> Log message:
> SS>         added note about why we execute button events immediately (a 
> reference to Colin Moock book)
> 
> What's the difference from the point of view of a ActionScript
> programmer? I'd like to test this.

Check the ButtonEventsTest.swf file, which gets build
running 'make ButtonEventsTest.swf' under testsuite/misc-ming.all.

If you move the mouse over the square, it *immediately* changes
it's color and the textfield is updated, altought the frame 
rate is set to 0.2 (1 frame every 5 seconds!).

The test can be made more clear by making that movie
a multi-frame (I did this locally, rotating the central
square by 45 degrees at every frame). The button changes
it's color (with MM player) before it's moved, so the
action is executed *and a redraw is triggered* by the events.

Gnash currently doesn't trigger the redraw, so you can't see
this happen in gnash.. we need to fix this as well.

I was thinking about providing two main loops, one for
advance and one for display. The display loop would be very
slow unless your updated region detection really works and
is optimized...

--strk;






reply via email to

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