CheloXL
12-07-2007, 10:09 PM
Hi,
I've made a jsfl that worked fine until I upgraded to flash 9. For some reason,
it seems that flash 9 doesn't have a "global pool" of variables.
Some code:
function init() {
myArray = new Array();
}
funtion exec(){
fl.outputPanel.trace(myArray);
}
From flash (using two buttons) I first execute the init function, and then the exec function. In flash 8, the output panel shows "array", but in flash 9 it shows "undefined".
How can I fix this?
Regards,
I've made a jsfl that worked fine until I upgraded to flash 9. For some reason,
it seems that flash 9 doesn't have a "global pool" of variables.
Some code:
function init() {
myArray = new Array();
}
funtion exec(){
fl.outputPanel.trace(myArray);
}
From flash (using two buttons) I first execute the init function, and then the exec function. In flash 8, the output panel shows "array", but in flash 9 it shows "undefined".
How can I fix this?
Regards,