ruffle icon indicating copy to clipboard operation
ruffle copied to clipboard

How to operate the player?

Open tidus2020 opened this issue 3 years ago • 7 comments

I want to show the progress of swf animate, need pause, play and gotoandplay.

tidus2020 avatar Nov 25 '20 08:11 tidus2020

here's something a search brought up. may be worth reading: https://github.com/ruffle-rs/ruffle/issues/503#issuecomment-615003225

Poopooracoocoo avatar Nov 25 '20 08:11 Poopooracoocoo

here's something a search brought up. may be worth reading: #503 (comment)

so...only play/pause is available, the currentframe/totalframe/gotoAndPlay still can't do now?

but the swf will auto loop , I don't know when to stop it, and the sound will disappear on the second time.

tidus2020 avatar Nov 25 '20 08:11 tidus2020

I have a similar need. I have two separate Flash animations (basket ball players) that call each other through Javascript using the ExternalInterface when they pass the ball along the second Flash object starts playing the catch animation, dribbles and passes along to the first player, and on, and on.

The Flash player functions and proprties used in this case are: FlashPlayer.Play( ) FlashPlayer.GotoFrame( ) FlashPlayer.PercentLoaded( )

Would be nice if there would be similar calls on the RufflePlayer object.

ztefn avatar Nov 25 '20 17:11 ztefn

I have the same question

wycret avatar Nov 27 '20 03:11 wycret

i have the same question..

secretFree avatar Nov 27 '20 03:11 secretFree

In the Adobe Flash plugin, the right-click context menu had (at the very least) Play/Pause options available when playing flash animations, it would be nice for Ruffle to provide those as well.

kepstin avatar Jan 26 '21 05:01 kepstin

Related: #7868

n0samu avatar Sep 13 '22 20:09 n0samu