[flexcoders] Re: Training from the Source - Can't find my error

2007-02-11 Thread oim415
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?

[flexcoders] Re: Training from the Source - Can't find my error

2007-02-11 Thread tonecluster1964
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

[flexcoders] Re: Training from the Source - Can't find my error

2006-10-31 Thread Michael Labriola
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