On Tue, Nov 3, 2009 at 6:32 AM, Richard Miller <[email protected]> wrote:
> Not sure how to solve this.
>
>   put specialfolderpath("apps") & "/videos" into mainfolder
>
> The above line does create the correct pathway to this folder in
> Applications. However, I then need to set the filename of a player to a
> video inside that folder.
>
>   put mainfolder & "/test1.mov" into fname
>   set the filename of player 1 to ("file:///" & fname)
>
> I need to use the "file:///" syntax because this is being done through
> revweb in a browser (which seems to require this syntax... unlike a regular
> player in a standalone). Using the above, the filename in the player will
> NOT be correct, however, because the player requires the users HD name to be
> right after "file:///".
>
> In other words:
>
> This doesn't work for the filename of the player:
>
>   file:///Applications/videos/test1.mov
>
> This works:
>
>   file:///Macintosh HD/Applications/videos/test1.mov
>
> I'm not sure how to correct this. None of the OSX specialfolderpath returned
> values contain the HD portion of the pathway.


I found with images, that setting the filename did not work. I had to use:
put URL ("binfile:" & tFileName) into image "Pic"

Maybe something similar would work for your videos.

Cheers,
Sarah
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to