开发者

Adobe Air drops Events silently?

In my Adobe Air application I have a change event handler attached to a mx:DataGrid. When I'm debugging the application in FlashBuilder 4开发者_JAVA技巧 the handler is executed, everything works fine. But as soon as I install the application the handler stops being executed!

I've added plenty of logging to the application, no errors are thrown. It's just the change event handler that's somehow not working anymore… everything else works (buttons, switching states, fetching remote data,…)

When I start a fresh project to test if I can reproduce the error the change event handler is being executed correctly!! Any ideas on errors that don't are silently ignored that could cause those symptoms?

I'm working with FlexORM, SQLite, FlashBuilder 4 beta 2 and Flex 4 SDK b 10485.

Cheers!


Eventually the error lies within my usage of SQLite and FlexORM.

FlexORM somehow creates different databases when run from within FlashBuilder. Due to those differences some queries fail, which causes the app to freeze but the AIR runtime tries to keep it running…

Odd indeed! But at least I now know how to fix it :-)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜