Re: [Flashcoders] AS3 - Missing

2006-07-07 Thread Jens Halm
Class names need to be unique. We will support the concept of a base class for library symbols in the Flash 9 timeframe. These base classes can be non-unique. Glad to hear that this will be supported. I am really surprised that so far Marcos seems to be the only one here who thinks it's

Re: [Flashcoders] AS3 - Missing

2006-07-07 Thread Marcos Neves
Very thanks to Jens and Nivesh :) On 7/7/06, Jens Halm [EMAIL PROTECTED] wrote: Class names need to be unique. We will support the concept of a base class for library symbols in the Flash 9 timeframe. These base classes can be non-unique. Glad to hear that this will be supported. I am

Re: [Flashcoders] AS3 - Missing

2006-07-06 Thread Marcos Neves
On 7/5/06, Chris Velevitch [EMAIL PROTECTED] wrote: On 7/5/06, Marcos Neves [EMAIL PROTECTED] wrote: I have a A world map where each country is a movieclip. And every one will have the same behavior. Before flash 9, what I did is assign a class called Country to each movie clip. This way, I

RE: [Flashcoders] AS3 - Missing

2006-07-06 Thread Nivesh Rajbhandari
Hi Marcos, Class names need to be unique. We will support the concept of a base class for library symbols in the Flash 9 timeframe. These base classes can be non-unique. I replied to a similar post in the Flash 9 ActionScript 3.0 Preview forum on Adobe Labs.

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Meinte van't Kruis
I'm not sure if it's entirely impossible to assign one class to multiple movieclips, but if that's true than the easiest way to overcome that problem is make a baseclass 'Country' and have Brazil extends Country. You still have the silly task of assigning all your countries to a different class,

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Marcos Neves
You got the point. But this silly task wasn´t needed on flash 8. That´s the point. Should it be on flash 9? I don´t think so. Isn´t this the time to ask Adobe to include this feature? But I need help from others developers to show that this feature is essential. On 7/5/06, Meinte van't Kruis

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread jcarlos
) { .. .. } } - Original Message - From: Meinte van't Kruis [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, July 05, 2006 8:17 AM Subject: Re: [Flashcoders] AS3 - Missing I'm

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Adrian Park
I'm not sure this is really a 'feature' that is missing since the problem really boils down to OOP theory. For example, it could be argued that it is incorrect for the country class to extend MovieClip since a country *is not* a MovieClip but, rather, *uses* a MovieClip for display. By this

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Marcos Neves
) { .. .. } } - Original Message - From: Meinte van't Kruis [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, July 05, 2006 8:17 AM Subject: Re: [Flashcoders] AS3 - Missing I'm

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Marcos Neves
AS3 is really mature now, what is excellent! But there´s no reason to didn´t support it. Let´s think from other point of view. Each sprite on the flash screen, is an instance of some class. Flash ide is locking together View+Behavior, so I can´t have two differents Views with the same behavior.

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Meinte van't Kruis
I draw my Countrys as movieclips without classes. Then create a MovieClip with a Country class and put inside each movieClip (Composition). Inside Country class, I have access to the parent display object using the parent property and do something like an Adapter pattern. Ever heard of KISS ?

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Johannes Nel
KISS is not inheritance over composition. KISS is the reverse. rule of thumb always compose rather than extend so that it will be simple later on to change things. On 7/5/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: I draw my Countrys as movieclips without classes. Then create a MovieClip

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Meinte van't Kruis
no I meant kiss=keep it simple stupid On 7/5/06, Johannes Nel [EMAIL PROTECTED] wrote: KISS is not inheritance over composition. KISS is the reverse. rule of thumb always compose rather than extend so that it will be simple later on to change things. On 7/5/06, Meinte van't Kruis [EMAIL

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Johannes Nel
i know exactly what the acronym means, i disagree with your idea of what is simple. On 7/5/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: no I meant kiss=keep it simple stupid On 7/5/06, Johannes Nel [EMAIL PROTECTED] wrote: KISS is not inheritance over composition. KISS is the reverse.

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Adrian Park
This article explains in some detail what we're trying to say. http://www.javaworld.com/javaworld/jw-11-1998/jw-11-techniques-p2.html In the spirit of KISS, you could skim through most of it (but ensure you get the difference between Inheritance and Composition) then read the stuff at the end

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Chris Velevitch
On 7/5/06, Marcos Neves [EMAIL PROTECTED] wrote: I have a A world map where each country is a movieclip. And every one will have the same behavior. Before flash 9, what I did is assign a class called Country to each movie clip. This way, I can easy update the behavior of all at the same time.