newValiable.name and dynamic text

I have a variables in my game writen in this way:

[AS]
character={id:“Fred”,health:100,mana:50};
[/AS]

then I have dynamic fields on the stage to diplay this information, they have the variabiable names of character.id, character.health, character.mana.

But the information wont display, can some explain what I am doing wrong and how I can fix it.