flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Chiverton ...@extravision.com>
Subject Re: BindProperty - use function for chain object
Date Mon, 23 Feb 2015 08:58:23 GMT
Can you post a super small self contained example ?

Tom

On 18/02/15 16:32, mark goldin wrote:
> I am getting an error in:
> private function getHostPropertyValue():Object
>      {
>         * return host == null ? null : getter != null ? getter(host) :
> host[name];*
>      }
>
> Error #1063: Argument count mismatch on myClass/IconVisible(). Expected 0,
> got 1
>
> I dont need any parameters on IconVisible().
>
> On Wed, Feb 18, 2015 at 10:12 AM, Tom Chiverton <tc@extravision.com> wrote:
>
>> On 18/02/15 16:07, mark goldin wrote:
>>
>>> BindingUtils.bindProperty(image, "visible", this, { name: "visible",
>>> getter: IconVisible()});
>>>
>> Should this be
>>      getter: IconVisible
>> ?
>>
>> Tom
>>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message