Login Register

adobe air

using dojox.cometd with Adobe AIR

Hello

I am trying to create an Adobe AIR widget using dojox.cometd for push. I get stuck with the dojox.cometd.init function. I try to call it after onLoad in an application sandbox content. This type of sandbox doesn't allow dynamic code generation after the onLoad event. So I get a "AIR runtime security violation for Javascript in application security sandbox (function constructor)".
Indeed, the init function calls this piece of code :

function(){
var _13c = function(arr, obj, cb){
return [dojo.isString(arr) ? arr.split("") : arr,

Dojo with Adobe AIR

Introduction to Adobe AIR and Dojo

Adobe AIR is a new runtime by Adobe. Adobe AIR allows web applications permission to the local file system that traditional browser-based web applications do not normally receive due to security policies.

As of Dojo Toolkit 1.1.0 Beta 1, Dojo-based applications will now run successfully in Adobe AIR's secure application sandbox.

Syndicate content