VideoPlayer and 'source'?

Klaus on-rev klaus at major.on-rev.com
Sun Nov 28 10:38:05 EST 2010


Hi Richmond,

> On 11/28/2010 05:24 PM, Klaus on-rev wrote:
>> Am 28.11.2010 um 16:15 schrieb Richmond:
>> 
>>> Mucking around with the VideoPlayer (something I haven't done for
>>> about 7 years) I wondered how one sets the SOURCE. When I typed
>>> 
>>> on mouseUp
>>>  set the source of player "MyPlayer" to "abc/def/ghi.mov"
>>> end mouseUp
>>> 
>>> while the script editor stated that that was fine, I still ended up with
>>> the jolly blue of "Sample.mov"
>>> any ideas?
>> filename! :-)
> ??? . . .  :(

Come on, Richmond, bad case of amnesia? :-D

on mouseUp
 set the filename of player "MyPlayer" to "abc/def/ghi.mov"
end mouseUp

But now your player has a nice custom property named "source" ;-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com





More information about the use-livecode mailing list