VAriable sand quick time??

Sarah sarahr at genesearch.com.au
Mon Apr 22 21:38:01 EDT 2002


2 separate problems come to mind:
Why does the file have an extension .txt if it is a movie file?
You are getting the contents of the file with the "get URL" line and 
then setting a filename to the contents rather than the name.

Use "answer file" to get the exact format of the file name. Then use 
that info in your menupick handler to generate the same format as 
returned by  the answer file. Instead of get URL, try:
	put "data/" & which_one & "_info.mov" into theFile -- fix this so 
it is a correct file path
	set the filename of player "qtplay" to theFile

Cheers,
Sarah

On Tuesday, April 23, 2002, at 12:09  pm, Derek wrote:

>
> Hello
>
> This simple thing does not work any suggestions??
>
> on menupick which_one
>
>
> get  url ("file:data/" & which_one & "_info.txt")
> set the filename of player "qtplay" to it
>
> end menupick
>
> the file it opens contains the path to a movie
>
> thanks
>
> derek
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>





More information about the use-livecode mailing list