If we set up a "lib_MobileControls" and start using on init, effectlvely adding
this lib to the backscript.
how does this:
on playerPropertyAvailable theProperty
if theProperty is "duration" then
answer "You can now query the length of the movie"
end if
end playerPropertyAvailable
know what player we are talking about?
e.g. I don’t think, in a script I have:
on playerPropertyAvailable theProperty -- msg sent when enough has content is
loaded
if theProperty is "duration" then
showBusyIndicator false -- Remove the "Loading..." indicator and start playing
mobileControlDo pPlayerName, "play"
end if
end playerPropertyAvailable
that pPlayerName is passed from anywhere it is not a local in this lib, but it
could be.
BR
_______________________________________________
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