How can I acomplish this? (animation on a class)

Cableguy

Expert
Licensed User
Longtime User
I am using 2 animations in a class, each is called from an activity module...
I need to call the second one after the first on has finished..Doing it from within the Class is not difficult, but how can I "know" that the animation has ended in the calling module??

I have tried to set a flag and then do a do until flag is true loop...but it seems that the animation ended event is never fired that way...

Oh, almost forgot... I'm calling both animations in sequence in the same sub from the activity module...
 

Cableguy

Expert
Licensed User
Longtime User
I think CallBack doesnt suites me...

Here's what I'm trying to acomplish:

In The Activity_Create Sub of the Main Activity I want to:
Start an animation (Splash.FadIn), when that animation ends, do a series of data reading and label refreshes within a diferent Class.
When that class has finished, start another animation in the Splash class...

I have tried a do until but that aproach makes the animationende NEVER to be fired...
Is it possible to callback to sub.Label?

[EDIT] Actually a Callback will do it... Thanks TDS!
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…