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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:31:14+00:00 2026-05-12T17:31:14+00:00

Facts: I have 2 classes: Entity and Ship. Entity extends MovieClip and Ship extends

  • 0

Facts:

  • I have 2 classes: Entity and Ship. Entity extends MovieClip and Ship extends Entity.
  • I have a MovieClip associated to the Ship.as class file.

The thing is that I’m able to show, rotate and move the Ship object. However, I cannot change the pointer to the place I want in its timeline; in short: I can NOT have a successful response from gotoAndStop(n). It just doesn’t work.

Thanks in advance.

I’ve already tried:

  • Casting the MovieClip inside and outside the class file.
  • Importing flash.utils.*
  • Changing the parameters from a number to a string (for the frame label).

The only way it’s worked for me is deriving Ship directly from MovieClip and not from Entity; but that would be undesirable and last resort.

You can download the source files here: http://cid-7b6cf3fa8e7f0691.skydrive.live.com/self.aspx/ActionScript%20Exercises/Asteroids.zip

  • 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-12T17:31:14+00:00Added an answer on May 12, 2026 at 5:31 pm

    “select’’ Isn’t Broken

    It is rare to find a bug in the OS or the compiler, or even a third-party product or library. The bug is most likely in the application.

    -The Pragmatic Programmer

    un-comment line 93-101 in Ship.as

    comment out line 121 in Ship.as

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

Sidebar

Related Questions

I have a Rails app that I need to deploy. Here are the facts:
I have a .NET v2.0 Dll that exposes a few classes to COM. The
I have a bunch of classes that have a set of dependencies. Dependency Injection
I have a few classes (about 15 or so) in VB.net (2005) that I
I have 3 classes: Error ShellError WebError where ShellError extends Error and WebError extends
I have the following classes : public interface Factory<T extends MyParentClass> { public T
I have 2 classes that reference each other. It's a weird situation that our
The facts: I have two predominant classes: Manager and Specialist. There are several different
Let's state a few facts upfront: Livedocs tells us that dynamic classes enable us
I have many classes inheriting the Page class. They share the same update_ended method

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.