Well for starters I would trace out the variables to see if they are available:
Code:
on(release){
    trace("Before. suites = " + suites );
    if(suites == 1){
        ...
If it doesn't write anything out after "suites = " your variable either isn't defined yet or the path to it is wrong.

/Mirandir