Hi List,

I am using MPEG Extra to create custom control panel
buttons like Play, Rewind, Pause. I also require that
on mouse click the MPEG video skips to the next
segment using cuepoints that i have set. My problem is
the video is paused when i use the code below. I need
that it should start playing as soon as it goes to the
next segment. Even if i use videoseek (sprite x, time)
it still pauses.

Property pIndex, cueList
on beginSprite me
   cueList=sprite(1).cuePointTimes
   pIndex = 1
end

on mouseUp me
  videoplayfrom(sprite 1, cueList[pIndex]) 
  pIndex = pIndex + 1

  videopause(sprite 1)  --(If i dont use this line it
does not skip to the next segment)

  if pIndex > cueList.count then
    pIndex = 1
  end if
end


Any help would be appreciated.

ravi

=====
Ravi Garimella
Multimedia Developer
Performtech

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to