On 3/5/07, strk <[EMAIL PROTECTED]> wrote:
On Sun, Mar 04, 2007 at 03:15:45PM -0600, ying lcs wrote:
> Regarding your response, i found this in flare output:
>
> movieClip 130 fullDisplay {
>
> #initclip
> Object.registerClass('fullDisplay', logic.Movie);
> #endinitclip
> }
>
> and then:
> logic.Movie = v1;
> logic.Movie extends MovieClip;
> var v2 = v1.prototype;
> v2.initController = function () {
> // ....
> };
>
> v2.setMovie = function (_video_id, image_url, movie_url, l,
> _track_id, eurl, append_vars) {
> // ...
> };
Ok, next step is checking in which order the logic.Movie definition
and the registerClass call are executed. Expected and obtained order
should be encoded in a testcase.
From the flare outout, it registers 'logic.Movie' in movieClip 130.
And then calling 'player.movie.setMovie' in frame 1.
movieClip 130 fullDisplay {
#initclip
Object.registerClass('fullDisplay', logic.Movie);
#endinitclip
}
frame 1 {
movie = player.movie;
movie.base_url = '/';
movie.tracker_cls = logic.PlayerTracker;
movie.setMovie(video_id, undefined, undefined, l, t);
movie.playMovie();
/....
}
But from the swfmill output 'the class logic.Movie' is export after
sprite ID 141 is defined.
<DefineSprite objectID="141" frames="0">
<tags>
<End/>
</tags>
</DefineSprite>
<Export>
<symbols>
<Symbol objectID="141" name="__Packages.logic.Movie"/>
</symbols>
</Export>
But I don't how to find out what is the expected right order of the
logic.Movie definition and the registerClass call are executed.
what is the relationship between the movieClip # (e.g. 131) and the
sprite object id?
--strk;
_______________________________________________
Gnash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash