gnash
[Top][All Lists]
Advanced

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

Re: [Gnash] Using gnash to play swf file


From: strk
Subject: Re: [Gnash] Using gnash to play swf file
Date: Mon, 26 Feb 2007 09:06:28 +0100

On Sun, Feb 25, 2007 at 01:34:34PM -0600, Meryl Silverburgh wrote:

> Using flare to decompile the player2.swf, I think the swf creates an
> object 'Movie' which inherits from the MovieClip (buildin in Flash),
> but overloading the 'setMovie' and 'playMovie' functions.
> 
> // the decompile code of player2.swf:
> logic.Movie extends MovieClip;
>        var v2 = v1.prototype;
> 
> 
>        v2.setMovie = function (_video_id, image_url, movie_url, l,
> _track_id, eurl, append_vars) {
>         //....
>         }
> 
>    v2.playMovie = function () {
>         //....
>         }
> 
> 
> Please let m know where in the gnash code which I should look to
> handling inheritance like the above code.

'extends' is handled in server/as_function.cpp (as_function::extends).
It's tested in actionscript.all/Inheritance.as

Can you confirm logic.Movie.setMovie and logic.Movie.playMovie exist
after the code above is played with Gnash ?

--strk;




reply via email to

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