William Ziegler wrote:
Thanks Jacqueline and Richard

Any sources for tutorials with sample scripts on setting custom disk property to binary data?

It's so easy, I don't think there are any tutorials. It's a one-liner. Assume you are going store the movie data in a custom stack property called "cMovie":

set the cMovie of this stack to url ("binfile:folder/folder/mymovie.mov")

That's it. You can of course create any number of custom properties (cMovie1, cMovie2, etc) if you need to store more than one movie. When you want to use it:

put tempname() into tFilePath
put the cMovie of this stack into url ("binfile:"&tFilePath)
set the filename of player 1 to tFilePath

The "binfile" part is important, it uses binary data. If you use just "file" instead you'll get a text file which won't work.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to