Skip to main content
Participating Frequently
May 16, 2013
Answered

Looping inside the video

  • May 16, 2013
  • 1 reply
  • 577 views

Hello,

I wonder if it is possible.

Lets say i have a clip that is 50 seconds long.

Can i play the video for 20 seconds, loop the 20 to 40 seconds (lets say 3 times which will make 60 seconds), then play the last 10 seconds ?

Thank you.

This topic has been closed for replies.
Correct answer kglad

if you're using an flvplayback component you can use the playheadupdate event to repeatedly check the component's totalTime property and use the seek() method to make the video jump to whereever you like.

1 reply

kglad
Community Expert
Community Expert
May 16, 2013

you have a movieclip or a video (flv/mp4 etc)?

_magestikAuthor
Participating Frequently
May 16, 2013

thats a video, *.mp4

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
May 16, 2013

if you're using an flvplayback component you can use the playheadupdate event to repeatedly check the component's totalTime property and use the seek() method to make the video jump to whereever you like.