Erasing a videoclip after it has played.

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
gillilandd
Posts: 18
Joined: Wed Apr 04, 2007 7:48 pm
Contact:

Erasing a videoclip after it has played.

Post by gillilandd » Thu Feb 21, 2008 12:33 am

I'm playing a 68 second videoclip then automatically moving to the next card. My problem is that the videoclip remains on screen and blocks out the text on the next screen. I thought that using this script would solve the problem but the image of the last frame carries over to the next card.
Here is my script:
on mouseUp
play videoclip "jonesmovie.mov" at 606,155
wait 70 seconds
set the dontRefresh of videoclip "jonesmovie.mov" to false
wait 2 seconds
go to next card
end mouseUp
I thought the dontRefresh script would solve the problem but it doesn't.
Any ideas on what I need to do?
Thanks,
Doug Gilliland

Klaus
Posts: 14191
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Thu Feb 21, 2008 10:17 am

Hi gillilandd,

try to set the "dontrefresh" BEFORE you play the video.


Best

Klaus

gillilandd
Posts: 18
Joined: Wed Apr 04, 2007 7:48 pm
Contact:

Post by gillilandd » Fri Feb 22, 2008 3:57 am

Klaus,
Thanks! That did it.
Doug

Post Reply