Protecting video files

sims sims at ezpzapps.com
Sun Sep 25 00:24:52 EDT 2005


At 11:09 PM -0500 9/24/05, J. Landman Gay wrote:
>I'm working on something similar right now. What I did was place 
>each video file into a stack as a custom property. When it is time 
>to play the video, I write the custom property out to a temporary 
>file with a non-descript name in the "temporary items" folder, then 
>I set the filename of a player object to the temporary file. When 
>the movie is done, I delete the temporary file. Every time I change 
>videos, I use the same temporary file name. That way if something 
>happens and one of them is left on disk, the next video just 
>overwrites it.

Thank you Jacque, I just wrote something very similar to that and was 
surprised at how
fast it was. Most reassuring that you are doing the same sort of thing. Thanks!

ciao,
sims



More information about the use-livecode mailing list