You may have to import MyModel in an fx:Script if it is in a separate fx:Component. Fx;Component is sort of like a sub-document.
On 12/12/14, 10:16 AM, "DavidM" <[email protected]> wrote: >Alex, thanks for that awesome explanation, I really appreciate it. > >I tried casting to my model as you suggest {MyModel(data).field} but for >some reason FlashBuilder won't resolve the MyModel class, even though it >uses the same class elsewhere in the mxml file just fine. > >For now I'm going with set data. > >Dave > > > > > > > >-- >View this message in context: >http://apache-flex-users.2333346.n4.nabble.com/DG-class-is-not-an-IEventDi >spatcher-tp9124p9146.html >Sent from the Apache Flex Users mailing list archive at Nabble.com.
