Loading clips into a player

Richmond richmondmathewson at gmail.com
Sun Sep 14 14:50:03 EDT 2014


On 14/09/14 21:11, Beat Cornaz wrote:
> How can I load an already imported audio- or video clip into a player. The Clip is already in the stack.
> I want to have the audio- and video clips residing in my stack, but through a popUp menu being able to load them into a player.
>
> set the filename of player "Player 1" to myClipName - this does not work.
> It only works if myClipName is a file path to the wanted file on disc. Not if the file is inside my stack.
>
> There is no info on this anywhere in the LC user guide (5.1).
>
> Thanks, Beat
>
>

So, you have imported your audioClip / videoClip into your stacks.

play audioClip "myJazz.aiff"

play videoClip "myNonsense.mov"

Richmond.




More information about the use-livecode mailing list