[flexcoders] Re: ViewNavigatorApplication not passing strongly-type firstViewData property.

2011-09-19 Thread nagaofthesea
Hi- Thanks, but the AS operator results in a NULL because the conversion fails(!!). Bottom line: AS operator does not work for this problem ... Naga --- In flexcoders@yahoogroups.com, Chuck Preston itsmechuckjr@... wrote: I don't know the reason why objects lose their type sometimes, but I

[flexcoders] Re: ViewNavigatorApplication not passing strongly-type firstViewData property.

2011-09-19 Thread nagaofthesea
Howdy- Follow up for all. Solution: Delete the view component and rebuild it from scratch. Explanation: I do not know why object deep copy fails sometimes in Flex, but after rooting around searches for two days I remembered something from the days of Flex 2 -- when all else false, delete and

[flexcoders] Re: ViewNavigatorApplication not passing strongly-type firstViewData property.

2011-09-19 Thread nagaofthesea
... one more thing I discovered (accidentally): Right-click your mobile application file, select Run/Debug Settings, select your application file name, click Edit and make sure the Clear application data on each launch box is checked... I don't no how it got un-checked, but apparently when the

[flexcoders] Re: ViewNavigatorApplication not passing strongly-type firstViewData property.

2011-09-18 Thread Chuck Preston
I don't know the reason why objects lose their type sometimes, but I know that when it does happen, the solution is to retype them. In your case, you'd have to do something in your first view like: var modelLocator:ModelLocator = data as ModelLocator; --- In flexcoders@yahoogroups.com,