[Top][All Lists]

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

Re: [Gnash-commit] /srv/bzr/gnash/trunk r12197: Don't use ActiveRelay fo

From: Rob Savoye
Subject: Re: [Gnash-commit] /srv/bzr/gnash/trunk r12197: Don't use ActiveRelay for ExternalInterface.
Date: Tue, 25 May 2010 14:28:01 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100430 Fedora/3.0.4-2.fc12 Lightning/1.0b1 Thunderbird/3.0.4

On 05/25/10 14:22, Benjamin Wolsey wrote:

> I believe ExternalInterface is not a proper class, but rather a simple
> object, like Mouse, Math or Keyboard. It would probably fix a few things
> to initialize it as an object. There is a convenience function
> registerBuiltinObject() in Global_as.h that will quite likely handle
> everything correctly.

  The only thing that I'd think would make it different would be it has
to handle all the callback methods added by ExternalInterface. Although
maybe those should just live in movie_root. Basically
ExternalInterface::addCallback() adds a method to the list, although the
browser may issue a GetVariable() request whether any methods are
installed or not. So movie_root needs to check for network input
whenever it does an advance.

  I'll be honest, it's a bit of a pain in the @#%$ to keep track of how
classes get bound into Gnash as it's changed heavily since I last added
a class.

        - rob -

reply via email to

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