Problem with swf file

Hi!
I’ve got a counter that won’t work when I use Test Movie, but when I open the swf it works fine. But, when I load the swf into my main piece of work it doesn’t work again - I’m completely at a loss to understand why this happens.

The code for the counter obviously works (cos it works in the swf). I’ve got a dynamic text box that shows the numbers and I’ve changed the character box to show numerals, but all it shows in test movie is ‘a’ (but it show numbers in the swf).

Can anybody help?