flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "christofer.dutz@c-ware.de" <christofer.d...@c-ware.de>
Subject AW: [FLEXJS] inheritance/interfaces
Date Thu, 14 Nov 2013 17:01:09 GMT
It's acutally pretty important that B also implements IA ... so an "instanceof" or "is" check
should work as well as it should be possible to cast instaces A and B to IA.


Von: Erik de Bruin [erik@ixsoftware.nl]
Gesendet: Donnerstag, 14. November 2013 17:58
An: dev@flex.apache.org
Betreff: [FLEXJS] inheritance/interfaces


Quick question (too lazy to build an AS project to check):

If class B extends class A and class A implements interface IA, does
class B also implement IA? In other words, in this scenario, does (B
is IA) return true?

I'm asking, because org.apache.flex.utils.Language.is() currently
doesn't. If it should, that'll be my first thing... and I was sooo
close to solving the CSS thing ;-)



Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl
View raw message