PDA

View Full Version : Problem with jsfl in Flash9


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,

iliketheska
12-14-2007, 07:34 PM
I haven't messed around with it, but there is a good chance that it's not your fault. JSFL is messy, and what works in Flash 8 won't always work in CS3, even when its supposed to. If I get some time later I'll look at your problem more in depth, but the sad fact is that Adobe doesn't work too hard on JSFL and it has a number of bugs.

CheloXL
12-17-2007, 01:45 PM
Thanks!