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, Nick Sent: 22 February 2006 15:58 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract' Yea, well, right now,
I’m 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 I’m using :-/ O well, just
wondering Thanks
J From:
Hi, There's no
abstract although 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:
I haven’t seen any
examples of it anywhere, but I could be looking in the wrong places? I’m
wondering if AS 2.0 has this? Thanks From:
I’m still trying to
figure out how to set a row height in actionscript J I haven’t even gotten
to the effect of resizing the rows yet. _________________________________________ Jonathan
Miranda Flexible
Master of the Web "In the game of
chess, it's important to never let your opponent see your
pieces." From:
What do you mean, move
effect so its not so instant?? If its moving too fast, there is a duration
field that you can increase to make the effect last
longer. From:
Alright, let’s say I have a datagrid
with variableRowHeight=true. Now I want, using actionscript, to switch the
height of row #2 to 200. I’ve got a semi-way of doing it right now using a label
cellrenderer but I was wondering if there was a basic method I was missing. I’ve
been attempting using getItemByIndex with little luck. _________________________________________ Jonathan
Miranda Flexible Master
of the Web "In the game of chess, it's important to
never let your opponent see your pieces." -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|