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

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -