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
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
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 :-/
3 matches
Mail list logo