[Top][All Lists]

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

Re: [Gnash-dev] [PATCH] find_target("..") error

From: strk
Subject: Re: [Gnash-dev] [PATCH] find_target("..") error
Date: Sat, 12 Aug 2006 23:16:14 +0200

On Sat, Aug 12, 2006 at 03:55:55PM -0300, Otávio Ribeiro wrote:
> Hi for all,
> when a use the current cvs version of gnash to play the attached movie
> file the first frame (loading frame) freeze, the play button on the
> right upper side doesn't appear and the following error message is
> printed:
> 15:44:51: ERROR: find_target("..") failed
> I've looking around and find out that  the parent movie clip will be
> aways NULL. There is even a comment on the code:
>                       // this is possibly NULL, it seems
>                       return get_parent();
> so.. to solve that... when the parent is null, i've returned the root
> movie clip back instead of null and a lot of movies started to play...
> buttons that doesn't appear start to work, etc..

What about returning 'this' instead ? Wouldn't a character with no
parent be always the root ? I haven't checked the movie myself but
I think it's worth checking AS specs and do the right thing (even
warning if the ActionScript is somehow bogus).


reply via email to

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