On Sun, Mar 04, 2007 at 02:04:10PM -0600, Meryl Silverburgh wrote:
> On 3/4/07, strk <address@hidden> wrote:
> >On Sat, Mar 03, 2007 at 11:29:22PM -0600, Meryl Silverburgh wrote:
> >> strk,
> >>
> >> Thanks for your help.
> >>
> >> I try the following actionscript. But it works fine in gnash, so I
> >> can't narrow down further when gnash can't play the you tube swf file.
> >>
> >>
> >> I now think it is caused by the fact that the variable 'movie' is set
> >> to 'player.movie' before calling the setMovie()'. And yet, I don't
> >> see what is 'player.movie' is referring to in the flare output (see
> >> the attached file).
> >
> >It's necessary to find out where player.movie is defined.
> >
>
> Someone on other flash mailing list suggest the 'player.movie' is an
> object in the swf file.
>
> So I use swfmill to convert the player2.swf into xml format:
>
> Here is what I found;
>
> <PlaceObject2 replace="0" depth="1" objectID="131" name="player">
> <transform>
> <Transform transX="4500" transY="3700"/>
> </transform>
> </PlaceObject2>
>
> So it has an object 'player'.
>
> and when I look up id 131
> <DefineSprite objectID="131" frames="1">
> // ......
> <PlaceObject2 replace="0" depth="1" objectID="130" name="movie">
> <transform>
> <Transform scaleX="1.000000000000000"
> scaleY="1.000305175781250" transX="0" transY="-317"/>
> </transform>
> </PlaceObject2>
> <PlaceObject2 replace="0" depth="10" objectID="79"
> name="controller">
> <transform>
> <Transform transX="0" transY="3060"/>
> </transform>
> </PlaceObject2>
> //......
>
> </DefineSprite>
>
> so I think 'player.movie' is referring to the object 130 inside 131.
>
> Does this make sense?
Yes, it makes sense.
> But I now don't understand why gnash can't find the method
> 'setMovie'/'playMoive'.
setMovie/playeMovie are likely attached to the player.movie
character by using Object.registerClass, which is in testing
stage within Gnash.