> on mouseDown
>   answer file "Is there any beer left?"
>   if the result is not "cancel" then
>         set the defaultstack to "B"
>         import paint from file it
>         set the name of last image to "XX"
>       end if
> end mouseDown
> 
> goes WONKY if I cancel....obviously not much space for
> non-beer drinkers

Honestly, I've never used the "result" when looking at what comes back from
"answer file". I've always done this:

  answer file "Is there any beer left?"
  if it <> "" then
    set the defaultStack to "B"
    import paint from file it
    set the name of last image to "XX"
  end if

HTH,

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to