mudittuli
27 Mar 2008, 11:04 PM
Hi, I am rendering a combo box in application sandbox and I am getting the following error, I get this error when i click on the drop-down in the combobox.
Adobe AIR runtime security violation for JavaScript code in the application security sandbox (Function constructor)
I tried this combobox example (http://extjs.com/deploy/dev/examples/form/combos.html)
Ext.onReady(function() {
var store = new Ext.data.SimpleStore({
fields: ['abbr', 'state', 'nick'],
data : App.staticdata.states
});
var combo = new Ext.form.ComboBox({
store: store,
displayField:'state',
typeAhead: true,
mode: 'local',
triggerAction: 'all',
emptyText:'Select a state...',
selectOnFocus:true,
applyTo: 'local-states'
});
});
Help Please !
Mudit
Adobe AIR runtime security violation for JavaScript code in the application security sandbox (Function constructor)
I tried this combobox example (http://extjs.com/deploy/dev/examples/form/combos.html)
Ext.onReady(function() {
var store = new Ext.data.SimpleStore({
fields: ['abbr', 'state', 'nick'],
data : App.staticdata.states
});
var combo = new Ext.form.ComboBox({
store: store,
displayField:'state',
typeAhead: true,
mode: 'local',
triggerAction: 'all',
emptyText:'Select a state...',
selectOnFocus:true,
applyTo: 'local-states'
});
});
Help Please !
Mudit