Adobe Air has quite a lot of security restrictions which it imposes on the Javascript trying to run in the sandbox. One of the side effects of this is that ExtJS throws up one of these security violations.
ExtJS 2.3 came with an extension so that it was able to be used within Adobe Air, which managed to bypass this problem, and using this extension, ExtJS works very well in Adobe Air.
However, the latest ExtJS 3.0 does not have this extension built in. According to the forums, they are still working on this. There is, fortunately, a workaround.
I have successfully managed to get ExtJS 3.0 to run in Adobe Air by copying the air extension from the ExtJS 2.3 codebase into the ExtJS 3.0 codebase, and then referencing it appropriately in the html page.
I do have to admit that doing this hack might potentially cause problems if you are trying to use any of the newest features in ExtJS 3.0, but so far have not had any issues.
When the air extension for ExtJS 3.0 does get release, that, of course, would be preferable, but until then, this works for me perfectly.
Related posts:
- Getting Adobe Air and paste events to play nicely In a previous post, I talked about how Adobe Air...
- Adobe Air 2.0 coming early next year I saw this morning on Inside RIA that Adobe Air...
- A curious adventure in capturing key presses in Adobe Air Web browsers are notorious in how they handle key presses....
- Book review: Adobe Air with Ajax by Larry Ullman Adobe Air can be very finicky when it comes...
- Adobe Air 2.0 and Flash Player 10.1 betas have been launched Ah, the sheer programming bliss. I have been eagerly awaiting...
Related posts brought to you by Yet Another Related Posts Plugin.
Serge Meunier is a software developer living in Cape Town, South Africa. He loves programming, fencing, philosophy, feeding his internet addiction, and, of course, dogs.
Comments