PDA

View Full Version : Nothing works in AIR?



schrink
8 Sep 2008, 11:25 AM
I just tried to make air application using complex.html layout example from examples folder as it is. It renders, but lot of the things don't work - I can't switch tabs, can't sort properties example... etc. Everything works fine in browser. Am I doing something wrong? Do I need to include something extra?

Thanks,
Vladimir

devnull
8 Sep 2008, 12:35 PM
Air has a very different security model than a web browser, which unfortunately means alot of ajax frameworks require alot of special workarounds. Reading up on the security model and looking through threads in this forum should give you an idea on why this is and what has to be done to get around it.

schrink
8 Sep 2008, 12:55 PM
Actually, I honestly did a lot of reading on this forum. I actually read all the posts in this section. And I think I do have at least vague understanding of the security model of AIR, but I still don't understand why something simple as this example don't work. There is no eny outside calls I can find. Furthermore, reading this forum I have an impression that others don't have problems to run for example TabPanel. That's why I decided to post and ask if I am doing something wrong. Thank you for taking time to answer, and please don't get me wrong, but your answer doesn't help at all. It is like you asked me "how to get to xy street?" and I answered "well, there are meny different ways" :)

devnull
8 Sep 2008, 1:32 PM
To break it down simply, anything that has a call to "eval()" internally will not work without modification.

schrink
8 Sep 2008, 1:49 PM
Ok, I got it now. Thank you!