Micahel,
I had the same problem but trying your suggestion with the space
before the keyword valueObjects does not work for me. I have moved on
by deleting the click event but am curious as to what is causing the
compiler anomoly. Is there current defect list for Flex that I can
reference?
Try this:
...
mx:Component
mx:VBox
mx:Script
![CDATA[
import valueObjects.ShoppingCartItem
]]
/mx:Script
mx:Button
label=Remove
click=outerDocument.removeItem(valueObjects.ShoppingCartItem(data)); /
/mx:VBox
Glad you are enjoying it.
We have occasionally seen the same thing. The flex compiler seems to
get confused with the inline renderer and the valueObject.
This line is the cause:
outerDocument.removeItem(valueObjects.ShoppingCartItem(data));
You can literally go an modify this line by adding a
3 matches
Mail list logo