actionscript 3 - Determining the NumericStepper that called the valueFormatFunction -


I need to get the component that calls the function from within the function. I generally have the properties of the properties of the components In the data column of the label, the grid's property is the argument, but here I have the value of the stepper, is there any way to get the component? Thank you.

not

Since arguments.caller is now available No, maybe you can not magically search the calling component.

String {return ns.id + "" + value.toString ()}}

Use it as:

   & Lt; S: NumericStepper id = "ns2" valueFormatFunction = "{getValueFormatFunction (ns2)}" />    

Comments

Popular posts from this blog

ruby on rails - How to avoid ActionController::InvalidCrossOriginRequest exception? -

Selenium IDE Conditional Statements -

How to edit the second line in text file using batch? -