[prev in list] [next in list] [prev in thread] [next in thread]
List: gnash
Subject: Re: [Gnash] Using gnash to play swf file
From: "Meryl Silverburgh" <silverburgh.meryl () gmail ! com>
Date: 2007-02-28 6:44:20
Message-ID: 701fce30702272244ledf090cre95ca69ba8607c27 () mail ! gmail ! com
[Download RAW message or body]
On 2/26/07, strk <strk@keybit.net> wrote:
> On Mon, Feb 26, 2007 at 10:35:11AM -0600, Meryl Silverburgh wrote:
> > On 2/26/07, Meryl Silverburgh <silverburgh.meryl@gmail.com> wrote:
> > >On 2/26/07, strk <strk@keybit.net> wrote:
> > >> On Mon, Feb 26, 2007 at 09:06:28AM +0100, strk wrote:
> > >> > 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;
> > >>
> > >> BTW, where is 'v1' defined ?
> > >>
> >
> > I think v1 is an anonymous function.
> > var v1 = function () {
> > };
> > and then 'logic.MovieController' is assigned to it and extends it from
> > MovieClip
> > logic.MovieController = v1;
> > logic.MovieController extends MovieClip;
> >
>
> Ok, seen. Our aim now is to *reduce* the testcase.
> Is flare able to produce an SWF from that source code ?
> Are you able to produce a *reduced* testcase showing
> that Gnash doesn't behave as the proprietary player ?
>
> --strk;
>
May be the problem in how the method 'setMovie', 'playMoive' are being called:
from the flare output:
My question is I don't see 'player.movie' is being set anywhere.
so how can the method 'setMovie', 'playMovie' can be called correctly?
frame 1 {
movie = player.movie;
movie.base_url = '/';
movie.tracker_cls = logic.PlayerTracker;
movie.setMovie(video_id, undefined, undefined, l, t);
movie.playMovie();
Stage.scaleMode = 'noScale';
Stage.addListener(this);
onResize = function () {
player.resize(Stage.width, Stage.height);
};
> _______________________________________________
> Gnash mailing list
> Gnash@gnu.org
> http://lists.gnu.org/mailman/listinfo/gnash
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic