Playing with our Video-EmbedSquareTest.swf file I figured how
a video instance knows which embedded video frame number to play:

  RATIO !!

Basically, PlaceObject2 tag, changing the ratio of the character
change the video frame to play next.
I found a comment in Ming wondering why it needs to set a ratio,
this is an answer to that, and finally fixes the confusing gnash
code handlign that.

For Ming, I guess the embedded video production can now be greatly
cleaned up, by basically making association of a DisplayItem
with a video frame more explicit, which is using SWFDisplayItem_setRatio()
rather then the heuristic showFrame loops.

Would be nice to have this before Ming new release is out.
Klaus: comments ?

--strk;

 ()   ASCII Ribbon Campaign
 /\   Keep it simple! 



_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to