Well done. You should also add a condition that when the targets are met the onEnterFrame is removed.
Creating engaging and entertaining content for designers and developers since 1998.
:: Copyright KIRUPA 2024 //--