Dynamic Path?
Posted: Fri Jan 09, 2015 4:03 pm
I create a stack with two cards called "RedCard" and "GreenCard"
On the RedCard i make a button called "TestButton" and make its script look like this
I make the script of the GreenCards look like this
When I run this in HyperCard everything works and I get "doMyHandler trapped" written in the message box.
However it does not work in LC. It says that button "TestButton": execution error at line 3 (Handler: can't find handler) near "doMyHandler", char 1
So thus this mean that LC doesn't support dynamic paths, or have I done some simple error?
On the RedCard i make a button called "TestButton" and make its script look like this
Code: Select all
on mouseUp
go card "GreenCard"
doMyHandler
end mouseUp
Code: Select all
on doMyHandler
put "doMyHandler trapped"
end doMyHandler
However it does not work in LC. It says that button "TestButton": execution error at line 3 (Handler: can't find handler) near "doMyHandler", char 1
So thus this mean that LC doesn't support dynamic paths, or have I done some simple error?