RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract'

2006-03-03 Thread Richard Leggett
Yeah I don't think interfaces fit the bill here, but I've found that as long as you throw an error (especially in AS3) it works pretty well as a rough approximation of what abstract might do. :) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sauro, NickSent: 22

RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract'

2006-02-22 Thread Richard Leggett
Hi, There's no abstractalthough you can get some of the behaviour by 'throw'-ing errors in all of the methods that would normally be abstract so that the sub-class is forced to implement those methods. Richard From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract'

2006-02-22 Thread Sauro, Nick
Yea, well, right now, Im just having the parent class hold blank implementations, which is just kinda quirky for me, but it works for now, I was just wondering if there was a cleaner way to do it. Interface came to mind, but I need the base functionality of a Base class that Im using :-/