mouse handlers in QT players cause RR to crash

rodney tamblyn rodney at infiny.co.nz
Mon Apr 26 03:32:13 EDT 2004


http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi? 
id=1539

In Windows, RR 2.2, Quicktime 6.5:
- create a new stack with an player object
- point player to a movie file
- enter script into player (or suitable variant into card script)

on mouseUp
   if the playRate of me = 1 then
     set the playRate of me to 0
  else
     set the playRate of me to 1
   end if
end mouseUp

- Click on the movie while it is playing (or click the pause icon in  
the controller which should be visible).  Digital static will come out  
of the speakers and the movie will jump to the end.  RR may crash,  
movie is unplayable from now on.

If you substitute "paused"  in the above script you'll get the same  
result, passing the message to the card and calling from there (e.g.  
set the paused of player 1 to false etc) also crashes.  It seems to be  
a problem with mouse events in players per se.

--
Rodney Tamblyn
44 Melville Street
Dunedin
New Zealand
+64 3 4778606
http://rodney.weblogs.com/
http://oceanbrowser.com



More information about the use-livecode mailing list