flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject Re: BindProperty - use function for chain object
Date Wed, 18 Feb 2015 16:32:14 GMT
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
>

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