I didn't get any response to this post the first time. Before I report this
as a bug I was hoping to find out if I missing something. One experienced
programmer I spoke with said that he thought playing a selection was
supposed to work unless the controller was showing. But it makes no
difference in this case whether or not the controller is showing.
My project, If Monks had Macs, has a 4-sided revolving bookcase created in
Quicktime. It needs to turn 90 degrees at a time in both directions so
that the user can see all 4 sides. Putting a button with this script works
just great when the movie runs forward:
On mouseUp
set the playSelection of player "bookcase" to true
set the playRate of player "bookcase" to 1
get the currentTime of player "bookcase"
if it is 0
then
set the startTime of player "bookcase" to 0
set the endTime of player "bookcase" to 234
start player "bookcase"
exit mouseUp
else
if it is 1092
then
[etc.]
BUT the script does not work in reverse.
on mouseUp
set the playSelection of player "bookcase" to true
set the playRate of player "bookcase" to -1
get the currentTime of player "bookcase"
if it is 1092
then
set the startTime of player "bookcase" to 1092
set the endTime of player "bookcase" to 789
start player "bookcase"
exit mouseUp
else
if it is 234
then
set the startTime of player "bookcase" to 234
set the endTime of player "bookcase" to 0
start player "bookcase"
exit mouseUp
else
[etc.]
end if
end if
end mouseUp
--
Actually, the second condition above does work because in that case, the
movie runs to its beginning [0] and stops. Otherwise it just keeps going to
the beginning. As if MetaCard cannot playSelections [sections of a film] in
reverse. This all worked years ago in HyperCard/Quicktime.
Am I missing something, or is this a bug? I'm working on a Mac, OS 8.6
--MetaCard 2.3.2B3
The line
"set the playSelection of player "bookcase" to true"
I actually just added to these mouseUp scripts so you could see it was
there. Before it was just in a background script.
Thanks,
Brian
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.