Skip navigation
FlexiciousAV
Currently Being Moderated

1084: Syntax error: expecting rightparen before colon help?

Mar 11, 2013 8:30 AM

Hello everyone,

 

I keep getting an error 1084 when i use this line of code

 

[Bindable()]

            public var gaugeValue:uint=UIUtils.sum(collector_Array, fld:String="rate");

 

Thanks

 
Replies
  • Currently Being Moderated
    Mar 11, 2013 11:23 AM   in reply to FlexiciousAV

    Well, start with this:

     

     

      
    [Bindable]
    public var gaugeValue:uint = UIUtils.sum(collector_Array, fld:String="rate");
    

     

    But, I have no idea what UIUtils.sum does, but you are probably shouldn't be passing in fld:String="rate", it it asks for a String, just pass in rate or the variable fld.

     

    i.e.

    [Bindable]
    public var gaugeValue:uint = UIUtils.sum(collector_Array, fld);
    
    
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points