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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:29:51+00:00 2026-05-22T18:29:51+00:00

eg, if i have an Object that extends Sprite and Implements Mungable i would

  • 0

eg, if i have an Object that extends Sprite and Implements Mungable i would like to do something like:-

var foo:Sprite <mungable>

so that i can do something like:

addChild(foo);
foo.munge();

Is this possible in Actionscript 3?

  • 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-22T18:29:51+00:00Added an answer on May 22, 2026 at 6:29 pm

    Not directly. As others suggested, you can create a type, say MungableSprite, that extends Sprite and implements Mungable and then refer to that type. However you will only be able to use this for objects, who’s type is a subtype of MungableSprite.

    But you cannot simply convey the type relationship “an object, which is Mungeable and a Sprite”.

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

Sidebar

Related Questions

How can I have a type reference that refers to any object that implements
i have a class that extends another. when i iterate the current object i
I have an object that implements IDisposable that is registered with the Windsor Container
I have an object that implements ArrayAccess , Iterator and Countable . That produces
I have an object that can build itself from an XML string, and write
I have an object that has a list of abstract 'aninamls'. i.e. var animals
Just wondering whether an object can self-destruct. Consider this situation. An object that extends
I have a JUnit4 test which extends AbstractTransactionalJUnit4SpringContextTests. I have a business object that
I have a class (ImageLoader) that extends Sprite container and loads an external image
I have a singleton class that inherits from sprite so that it can access

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.