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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:57:03+00:00 2026-05-26T22:57:03+00:00

I am working in AS3. We have an abstract class, call it MyAbstractClass (I

  • 0

I am working in AS3. We have an abstract class, call it MyAbstractClass (I don’t think it is truly abstract, but we are ONLY extending it). The classes that extend this class also implement an interface, call it IMyInterface. IMyInterface has a function called updateView.

I want one of my functions in MyAbstractClass to call updateView, but of course MyAbstractClass doesn’t have a function called updateView so it won’t compile. Am I attempting a bad-practice type of thing? Is there an easy way to do what I want?

Should I move updateView to MyAbstractClass, and just override it everywhere I need to? 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-26T22:57:04+00:00Added an answer on May 26, 2026 at 10:57 pm

    Yes, it absolutely sounds like this should be an abstract method within MyAbstractClass. If all the implementations also implement IMyInterface, it sounds like you should possibly declare that MyAbstractClass declares it too. Of course, these will both require that you make MyAbstractClass properly abstract.

    Basically, you need to ask yourself: logically, should you be able to treat every instace of MyAbstractClass as an IMyInterface? Should they all have updateView? Does that make sense for MyAbstractClass, or are they logically separate?

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

Sidebar

Related Questions

For example i have function declared in AS3.0 class: private function log():void{ // working
I've been working on a framework in AS3 that I want to release, but
I am working in Flash CS4 with AS3. I have a TextPage.fla file that
I am Working on a cs5 as3 project and in that project i have
I'm new to AS3 and have been working on an XML driven navigation system
I've done most of my code in as3, working from either document class or
I have a working AS3 project and it compiles fine to a SWF. I
Since the advent of AS3 I have been working like this: private var loggy:String;
I have a working mic recording script in AS3 which I have been able
Im working with FlashDevelop and have two main projects, all pure AS3 projects. When

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.