B4J Question Janimation - Finished event.

Gary Miyakawa

Active Member
Licensed User
I can't seem to find a "Finished" event for this library. Am I missing it somewhere ?

thanks,

Gary Miyakawa
 

Daestrum

Well-Known Member
Licensed User
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
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

Well-Known Member
Licensed User
I will look through the source of the library and see exactly what you need to do. ( May take a while ).
 
Top