[flexcoders] Re: How to deprecate property which has getter/setter?

2010-04-13 Thread jimmartin10
html/help.html?content=metadata_3.html check > the documentation. I believe you are suppose to use it on setter only. > > Regards > Srinivas > > On Wed, Apr 7, 2010 at 1:24 PM, jimmartin10 wrote: > > > > > > > If I use the [Deprecated] tag on a g

[flexcoders] Re: How to deprecate property which has getter/setter?

2010-04-13 Thread jimmartin10
Noone knows how to deprecate a getter without getting erroneous compiler warnings from the setter? --- In flexcoders@yahoogroups.com, "jimmartin10" wrote: > > If I use the [Deprecated] tag on a getter only, e.g. > > [Deprecated] > public function get myOldProperty()

[flexcoders] How to deprecate property which has getter/setter?

2010-04-07 Thread jimmartin10
If I use the [Deprecated] tag on a getter only, e.g. [Deprecated] public function get myOldProperty():int { return 0; } public function set myOldProperty(value:int):void { } Then I get a warning at the line of the setter. "myOldProperty has been deprecated" If I use the