I have a feeling I am doing something very simple and wrong here.
Pseudo-code follows....
In the code below I'm attempting to loop over an ArrayCollection and
pass each ArrayCollection item into a Flex Component as an object of
type "MyObject". Inside the ItemDisplay Component, I've setup a
Bindable public var to receive the Object and it's typed correctly.
The problem seems to be that inside the component, when I try to do
things like bind to {myObj.name}, the value returned is null. In
fact, debugging seems to indicate that the myObj object inside the
Component is untyped or null too....
<mx:Repeater id="myRepeat"
dataProvider="{myArrayCollection}" >
<views:ItemDisplay id="myItem"
myObj="{myRepeat.currentItem as MyObject}" />
</mx:Repeater>
I've tried everything I can think of, any guidance?
-Cameron