Re: [Flashcoders] AS3 - why no properties in interfaces?

2006-07-05 Thread Hans Wichman
: Mon 7/3/2006 7:04 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 - why no properties in interfaces? Although there is -nothing- bad about using interfaces as a container of constants. On 7/3/06, Marijan Milicevic [EMAIL PROTECTED] wrote: Hi Sascha, But it's still beyond me

RE: [Flashcoders] AS3 - why no properties in interfaces?

2006-07-05 Thread Marijan Miličević
] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: Wednesday, July 05, 2006 8:14 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 - why no properties in interfaces? Hi Marijan, it might depend on what your constants are. For example imagine you had an interface Shape

Re: [Flashcoders] AS3 - why no properties in interfaces?

2006-07-05 Thread Hans Wichman
regards, -m -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: Wednesday, July 05, 2006 8:14 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 - why no properties in interfaces? Hi Marijan, it might depend

RE: [Flashcoders] AS3 - why no properties in interfaces?

2006-07-03 Thread Marijan Miličević
Hi Sascha, But it's still beyond me why property support wasn't added. It can be such a complex thing but would make OO life a good amount easier. You are refering to Java but defined fields in java are implicitly static finals and need to be initilized within interface, so, you are not

Re: [Flashcoders] AS3 - why no properties in interfaces?

2006-07-03 Thread Hans Wichman
Although there is -nothing- bad about using interfaces as a container of constants. On 7/3/06, Marijan Miličević [EMAIL PROTECTED] wrote: Hi Sascha, But it's still beyond me why property support wasn't added. It can be such a complex thing but would make OO life a good amount easier. You

RE: [Flashcoders] AS3 - why no properties in interfaces?

2006-07-03 Thread Marijan Milicevic
-Original Message- From: [EMAIL PROTECTED] on behalf of Hans Wichman Sent: Mon 7/3/2006 7:04 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 - why no properties in interfaces? Although there is -nothing- bad about using interfaces as a container of constants. On 7/3/06, Marijan

Re: [Flashcoders] AS3 - why no properties in interfaces?

2006-07-02 Thread Steve Webster
I've been writing interfaces several times now where I had wished ActionScript would support not only methods but also properties for them. So I'm wondering what's the reason that Adobe still hasn't added interface support for properties. After all Java has them and even haXe supports them too. I