While converting an existing project to the Cairngorm
architecture, we encountered a problem and wondered if it's a bug
or simply a limitation of the Flex 1.5 software.
We're trying to format some columns in our Datagrid using the
labelFunction. When we tried to move the actual functions outside
the main .mxml view it gave us errors to the effect "labelFunction
must not exist outside document."
Has anyone else encountered this issue? If so, how did you
You can put the function in a AS file and include it through
<mx:Script> which effectively includes the AS into the MXML
file. But if you are talking about using the ViewHelper of
Cairngorm as the scope for a labelFunction function you might have