Add a TweenEvent.MOTION_FINISH event listener to the tween and have its event handler function call a setTimout function that is set for 10 seconds (or whatever you really intend). In the function called by the setTimeout function place your line of code for the loader to load.
Thanks for the reply. As I am a learner, it is hard to write all the code myself. If somebody helps me to give an example code, I can understand the code and modify for my later projects.
Thanks a lot.
1 person found this helpful
If you look into the few code elements I mentioned, either in the help documentation or using Google, you will find examples that you can use/modify for your current project. You'll learn more by doing some work yourself rather than having solutions handed to you. We are all learners... yes, it can be hard, but it gets easier when you work at it.