RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract'
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 February 2006 15:58To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract' 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 :-/ O well, just wondering Thanks J From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Richard LeggettSent: Wednesday, February 22, 2006 10:51 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract' 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:flexcoders@yahoogroups.com] On Behalf Of Sauro, NickSent: 22 February 2006 15:34To: flexcoders@yahoogroups.comSubject: [flexcoders] Does AS have an equivalant of Java's 'Abstract' I havent seen any examples of it anywhere, but I could be looking in the wrong places? Im wondering if AS 2.0 has this? Thanks From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan MirandaSent: Tuesday, February 21, 2006 3:31 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FW: Datagrid Row Heights Im still trying to figure out how to set a row height in actionscript J I havent 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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro, NickSent: Tuesday, February 21, 2006 1:10 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FW: Datagrid Row Heights 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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan MirandaSent: Tuesday, February 21, 2006 2:38 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] FW: Datagrid Row Heights Alright, lets say I have a datagrid with variableRowHeight=true. Now I want, using actionscript, to switch the height of row #2 to 200. Ive 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. Ive been attempting using getItemByIndex with little luck.And anyway to add a move effect so its not instant? _ 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract'
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 Sauro, NickSent: 22 February 2006 15:34To: flexcoders@yahoogroups.comSubject: [flexcoders] Does AS have an equivalant of Java's 'Abstract' I havent seen any examples of it anywhere, but I could be looking in the wrong places? Im wondering if AS 2.0 has this? Thanks From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan MirandaSent: Tuesday, February 21, 2006 3:31 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FW: Datagrid Row Heights Im still trying to figure out how to set a row height in actionscript J I havent 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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro, NickSent: Tuesday, February 21, 2006 1:10 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FW: Datagrid Row Heights 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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan MirandaSent: Tuesday, February 21, 2006 2:38 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] FW: Datagrid Row Heights Alright, lets say I have a datagrid with variableRowHeight=true. Now I want, using actionscript, to switch the height of row #2 to 200. Ive 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. Ive been attempting using getItemByIndex with little luck.And anyway to add a move effect so its not instant? _ 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract'
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 :-/ O well, just wondering Thanks J From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Richard Leggett Sent: Wednesday, February 22, 2006 10:51 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract' 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:flexcoders@yahoogroups.com] On Behalf Of Sauro, Nick Sent: 22 February 2006 15:34 To: flexcoders@yahoogroups.com Subject: [flexcoders] Does AS have an equivalant of Java's 'Abstract' I havent seen any examples of it anywhere, but I could be looking in the wrong places? Im wondering if AS 2.0 has this? Thanks From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda Sent: Tuesday, February 21, 2006 3:31 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FW: Datagrid Row Heights Im still trying to figure out how to set a row height in actionscript J I havent 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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro, Nick Sent: Tuesday, February 21, 2006 1:10 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FW: Datagrid Row Heights 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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda Sent: Tuesday, February 21, 2006 2:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] FW: Datagrid Row Heights Alright, lets say I have a datagrid with variableRowHeight=true. Now I want, using actionscript, to switch the height of row #2 to 200. Ive 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. Ive been attempting using getItemByIndex with little luck. And anyway to add a move effect so its not instant? _ 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.