Skip to main content
Participating Frequently
July 19, 2025
Question

How do i go to a frame when a frame has been loaded in ActionScript 3.0?

  • July 19, 2025
  • 1 reply
  • 189 views

I'm using Adobe Animate 2023 and i only know a bit of ActionScript 2.0 and nothing of ActionScript 3.0! I'm making a platformer game, and i need a code where i go to a frame after a frame has been sucessfully loaded. I know the ActionScript 20 Version:

ifFrameLoaded(28)
{
   gotoAndPlay(29);
}

 What should i do?

    1 reply

    kglad
    Community Expert
    Community Expert
    July 19, 2025

    if(this.currentFrame==28){
    gotoAndPlay(29);  // or just play(), in this situation 

    }

    Participating Frequently
    July 20, 2025

    Thanks! 🙂 But i meant like in a loading screen, like, it waits for the game to finish loading and goes to that frame.