Just wondering why I can't declare a property getter as public, and
the property setter as protected or private?
When I do so, I get "1000 Ambiguous reference to loadState"
Any work-arounds? I want to have the setter so that I can raise the
property change event when I set the state, but I'd rather not make it
public.
thanks.
Thunder
see code:
private var _loadedState:int = ConfigModelLocator.LOAD_STATE_UNLOADED;
[Bindable(event="loadStateChanged")]
public function get loadState():int
{
return _loadedState;
}
private function set loadState(state:int):void
{
_loadedState = state;
this.dispatchEvent(new Event("loadStateChanged"));
}
------------------------ Yahoo! Groups Sponsor --------------------~-->
Great things are happening at Yahoo! Groups. See the new email design.
http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/