Hi fruitbeard,

Thanks loads for the explanation. Much obliged.

The variables that I sent from php into flash and pass them thru a loop was just to check the working of the if-then loop.

Thanks loads.