How do I stop these warnings
warning: unable to bind to property 'profit' on class 'Object' (class is not an IEventDispatcher)
from good code like this in a renderer
If data is of type Object, then it won’t be able to detect any further changes to the profit field. That’s why you get the warning. Object does not dispatch events. If the data object uses then the compiler will convert the Object to an EventDispatcher.
Apache Flex Team
Cool. its a shame because I use that sort of thing in my renderers a lot with trace statements and it makes it hard to read the console