Hi all,
Can someone telle me how I can change the source of an videocastmember while
the video is playing?
I have a video playing in sprite a, and with a skip-button I'd like the the
sprite to stop, load another file into the memeber and start playing again.
I now use this:
property pCurrent -- video currently playing
property pItemList
property pVideoSprite
property pVideoCount -- total of video's available
on skipForward
sprite(pVideoSprite).movieRate = 0
pCurrent = pCurrent + 1
-- read the next filename from a list in a global
member("PFplaceHolder").filename = pItemList.folder & "\video" &
pItemList.video[pCurrent]
sprite(pVideoSprite).movieRate = 1
end
only the first video plays, script doesn't return errors.
I have the feeling that I have to "disable" the sprite in a way.
any suggestions??
cheers,
Martijn
-------------------------
Pas de Deux
Van Mierisstraat 25
2526 NM Den Haag
tel 070 4450855
fax 070 4450852
http://www.pdd.nl
[EMAIL PROTECTED]
-------------------------
[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!]