[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] Re: Gnash-dev Digest, Vol 11, Issue 25
From: |
zou lunkai |
Subject: |
[Gnash-dev] Re: Gnash-dev Digest, Vol 11, Issue 25 |
Date: |
Thu, 21 Dec 2006 09:48:59 +0800 |
I think I found the culprit.
gravity-embed.swf seems to be doing something like this:
container = createEmptyMovieClip("container", ...)
That's right, I also see this.
This creates a 'container' variable AND adds a 'container'
character in the display list. The clash is handled by
giving precedence to the variable, but it's not a big deal
as they both point to the same as_object, being a sprite_instance.
Maybe only Gnash creates two things: a variable 'container' and a
character 'container'. To my opinion, that's not quite correct.
Firstly,
a chareacter 'container' is created. And then, there is a DefineLocal(0x3c)
which trys to define an variable also named 'container'. But at last
the variable
will not be created, because DefineLocal will find the 'container' already
exist. "0x3C" will just set the container again. So, there is always
ONE 'container'
and maybe no culprit.
- [Gnash-dev] Re: Gnash-dev Digest, Vol 11, Issue 25,
zou lunkai <=