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 6180143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:47:45+00:00 2026-05-24T00:47:45+00:00

I was trying to build an application where a designer has created content on

  • 0

I was trying to build an application where a designer has created content on the timeline as a sequence of key frames. Each key frame is completely different. When the application is started I choose one of the frames, move the play head to that frame and stop (using gotoAndStop). Next, by referring to symbols in the key frame by name, I use AS3 to allow drag and drop, and I also do some programmatic movement.

The problem is that when I move to a different key frame on the timeline using gotoAndStop, the symbols that were touched by AS3 in the previous frame, even if they are not referenced by the designer’s key frame, show up on the stage. It is as though any DisplayObject that I touch with AS3 becomes divorced from the timeline.

Does anyone have any suggestions about how to programatically work with timeline (MovieClip) content that was manually created by a designer. This just seems like it should be a really common use case. It seems that about the only thing I can do safely with the timeline is to move the play head and respond to events (if I don’t change the state of DisplayObjects in the timeline). Also, is there any good documentation on how objects get allocated and destroyed when the timeline plays?

Thanks!

  • 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-24T00:47:46+00:00Added an answer on May 24, 2026 at 12:47 am

    The problem is that when I move to a different key frame on the timeline using gotoAndStop, the symbols that were touched by AS3 in the previous frame, even if they are not referenced by the designer’s key frame, show up on the stage. It is as though any DisplayObject that I touch with AS3 becomes divorced from the timeline.

    If you are not adding and removing things from the display object list, or toggling object depth, that should not be the case at all.

    Are you sure they are not being referenced by the designers keyframe at all? Otherwise you might want to try a different approach than just coding in the timeline.

    One way to merge FLAs with custom code is to have the movie clip symbols created by the designer, have them exported extending a custom AS class. This way the designer can fiddle with the look and your .as class can control functionality.

    To do this, set your movieclip to “Export for ActionScript” and then choose a class file that you wrote in the “Class” field. Make sure your class extends MovieClip.

    This is also awesome because you can code in your AS file as the designer is working in Flash and you dont have to share the same file.

    This doesn’t necessarily solve all your problems, rather it is a workflow recommendation that might work for you

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

Sidebar

Related Questions

I'm trying to build a application that has different kinds of users, I'm using
I am trying to build an application that has a container as the workspace.
I'm trying to build an application that is launched has a transparent background, in
I am trying to build an application to simulate some basic spheres moving around.
I'm trying to build an application starting from an Appfuse Archetype, but I get
I'm trying to build an application from source in windows that requires some Unix
I'm trying to build an application that builds a resource file into a jar,
I'm trying to build my application for GoogleAppEngine using maven. I've added the following
I'm currently trying to build an application that inherently needs good time synchronization across
Trying to build a GUI application in Java/Swing. I'm mainly used to painting GUIs

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.