Hello there,

Thanks for the advice. I tried the trace line, and it ends up the display has NOTHING in it...empty string..... but it appear on screen all right. I have look at my display variable, which is a single line dynamic text. I wonder if this is the problem, something like local variable which can't be use outside the function. I was looking at the ActionScript manual, whcih said you can use either setVariables action or (=) assignment to set a gobal variable, which I already did
code:
on (release) {
display = substring((Math.random()), 1, 3);
}



Am I doing something wrong?

Kelly