On 11/28/2010 05:38 PM, Klaus on-rev wrote:
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

Been blowing my mind with Uincode of late!

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
[email protected]


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

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

Reply via email to