Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6222783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:22:28+00:00 2026-05-24T08:22:28+00:00

For example, if you have an active state and a passive state for something,

  • 0

For example, if you have an active state and a passive state for something, you can jump between the two with gotoAndStop(2), gotoAndStop(1); or you can manipulate whatever property is changing directly (e.g. if it’s alpha, then symb.alpha=0.5, symb.alpha = 1.0).

I’ve found myself jumping between the two, and I don’t like it (I like to have a standard, or at least a usual). What’s considered a good practice, and why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:22:31+00:00Added an answer on May 24, 2026 at 8:22 am

    If you’re using AS2 using frames and gotoandstop is fine, in AS3 you really need to assess whether that will work for you. For me, most often the cons outweigh the pros, and so I use frames sparingly.

    The big difference between as2 and as3 is that in as2 the resources are accessible right away. In AS3 the resources cannot be accessed right after.

    for example if you have a movieclip named _mc1 on frame 3, in as2 you could do

    mymc.gotoandstop(3);
    mymc._mc1.visible = false;
    

    in AS3 that would not work, you would get errors, and would need to add an onrender listener and add the code there. Doing this is a nightmare.

    That’s not to say I don’t use frames, for example, when I’m using movieclips as buttons, I don’t have any resources that I need to access and so I’m not worried about using frames.

    The other thing you should keep in mind is the memory that is being used. If you have objects that have listeners or have expensive creation and removal, having these objects on a timeline that you go back and forward on will use more memory and processing than if you did it using pure code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.