[Top][All Lists]

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

Re: [Gnash-dev] Showing a message when Gnash is asked to render AVM2?

From: strk
Subject: Re: [Gnash-dev] Showing a message when Gnash is asked to render AVM2?
Date: Fri, 26 Nov 2010 17:26:57 +0100

On Fri, Nov 26, 2010 at 02:19:12PM +0100, Petter Reinholdtsen wrote:

> @@ -948,6 +948,15 @@ movie_root::display()
> +    const movie_definition* def = _rootMovie->definition();
> +    if (def->isAS3()) {
> +        printf("this flash contain AVM2 content, and might not work well 
> with Gnash\n");
> +// Movie *movie = MovieFactory::makeMovie()
> +// movie_root::setRootMovie(Movie* movie)
> +    }

> It this a sensible place to do it?  Can the _rootMovie object be
> replaced at this point with a different flash movie?

Note: I just saw a movie working perfectly fine which would
      respond tre to isAS3(). It's on top of

That said, I belive you don't want to use isAS3 but actual execution
of an ABC block, if any. This wouldn't prevent you from overlaying
a movie over something that would otherwise work, but might reduce
such occurrences. Also, you wouldn't be only checking the root movie
but every movie being loaded.

Finally, rather than handling this all in ::display you might want
to put your overlay in a level or add an ad-hoc additional item
to be rendered at the end of all levels, specifically made
to allow messaging to user.


  ()   Free GIS & Flash consultant/developer

reply via email to

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