Script Only Stack Architecture

Sannyasin Brahmanathaswami brahma at hindu.org
Mon Mar 28 23:56:50 EDT 2016


 
On March 28, 2016 at 4:01:47 PM, Matt Maier (blueback09 at gmail.com(mailto:blueback09 at gmail.com)) wrote:
> Monte got annoyed that I did something like that instead of setting  
> behaviors. So it might be better to write behaviors in script-only stacks  
> and then set them onto the various controls, rather than managing the  
> controls all the way from the library stack(s).  


I'm clearly out of my depth.
.. and not even sure I "grok" the difference

GUI --> Button "Start"-->  

on mouse
initiateGameSequence 
#being a command in a script only stack/library
end mouse

What is the "behavior" way of doing it? and why is it better?

BR



More information about the Use-livecode mailing list