PlayStopped called when setting the filename of a player (???)
    Howard Bornstein 
    bornstein at designeq.com
       
    Thu Jan  9 10:11:01 EST 2003
    
    
  
Ok, here's a strange one. Apparently the playstopped message is sent 
whenever you set the filename of a player to a file. Is it just me or 
does this not make any sense?
Try this:
create a player "test"
create a button with this script:
on mouseup
  answer file "Select a file"
  set the filename of player "test" to it
end mouseup
In the card script put:
on playstopped
  put "I haven't even started"
end playstopped
When you set the player to a filename, the playstopped script executes.
Why??
Regards,
Howard Bornstein
____________________
D E S I G N  E Q
www.designeq.com
    
    
More information about the use-livecode
mailing list