Why doesn't this work, please?

Roger Guay rogerguay at centurytel.net
Fri Nov 22 23:15:01 EST 2002


Hi folks,

I'm using the following script to clone an invisible button "Video" and 
renaming the clones.  And, despite my attempts to "choose browse tool" 
the selector tool comes up every time this script is executed:

On mouseDown
   global Vn
   add 1 to Vn
   clone button "video"
   set the name of last card button to "V"&Vn
   set the visible of last card button to true
   choose Browse Tool
end mouseDown

on mouseleave
   choose Browse Tool
end mouseleave


Can anyone help?

Thanks, Roger




More information about the Use-livecode mailing list