On 8/9/17 8:24 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
 the behavior is attached to a stack that is not the same stack as the target (a download 
button) so "this me" won't work

I think it should...

Object with an assigned behavior:  "me"
Object that contains the behavior script:  "this me"

If the backscript stack holds the behavior script then the stack itself should be "this me". The target (the download button) which has the behavior assigned would be "me".

Logically, anyway.

So instead we start sending and dispatching commands

If the script is in the message hierarchy, I wouldn't think you'd need to send or dispatch anything, just issue the command normally. You can debug that pretty easily and there's one less level of abstraction.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to