So the way LC works, if a handler is triggered by a handler on a different stack, the second handler looks for objects on the stack of the original handler.
example:
Code: Select all
on mouseup --Card A of Stack A
send "myHandler" to stack "AnotherStack"
end mouseup
on myHandler --Card A of Stack B
put "hello" into fld "test"
end myHandler
How can I tell Card A of Stack B to look at its own objects instead of the objects of Stack A?
Obviously I can use
Code: Select all
put "hello" into fld "test" of card A of Stack B
Putting
Code: Select all
go card A of Stack B
Code: Select all
open card A of Stack B
Any ideas?