Gary Miyakawa Active Member Licensed User Longtime User May 25, 2015 #1 I can't seem to find a "Finished" event for this library. Am I missing it somewhere ? thanks, Gary Miyakawa
I can't seem to find a "Finished" event for this library. Am I missing it somewhere ? thanks, Gary Miyakawa
Daestrum Expert Licensed User Longtime User May 25, 2015 #2 I think the event is onFinished - you have to supply a handler for it. Upvote 0
Gary Miyakawa Active Member Licensed User Longtime User May 25, 2015 #3 Thank you for the reply but how would you implement it ? Thanks, Gary Miyakawa Upvote 0
Daestrum Expert Licensed User Longtime User May 25, 2015 #4 Looking through the library it looks like you use B4X: ani.setHandlerForPath(TransPath2,"checkpath") This will be called when the TransPath is completed. B4X: sub checkPath(o as object) .... do what you want here ... end sub The object 'o' will contain nothing, it just had to be there for some reason lol. Upvote 0
Looking through the library it looks like you use B4X: ani.setHandlerForPath(TransPath2,"checkpath") This will be called when the TransPath is completed. B4X: sub checkPath(o as object) .... do what you want here ... end sub The object 'o' will contain nothing, it just had to be there for some reason lol.
Gary Miyakawa Active Member Licensed User Longtime User May 26, 2015 #5 I've tried the code you suggested but get an error of "Unknown Member" for "setHandlerForPath". I'm using the 1.15 JAnimation library. I DID see an "OnFinished" in the drop down members of ani. It's asking for a "Java.event.handler". I don't know how to build it.. (and a search of the site didn't help me). Thanks for you help ! Gary Miyakawa Upvote 0
I've tried the code you suggested but get an error of "Unknown Member" for "setHandlerForPath". I'm using the 1.15 JAnimation library. I DID see an "OnFinished" in the drop down members of ani. It's asking for a "Java.event.handler". I don't know how to build it.. (and a search of the site didn't help me). Thanks for you help ! Gary Miyakawa
Daestrum Expert Licensed User Longtime User May 26, 2015 #6 I will look through the source of the library and see exactly what you need to do. ( May take a while ). Upvote 0
I will look through the source of the library and see exactly what you need to do. ( May take a while ).