Two Predicaments

1/. Changing colour of text in dynamic text field. I tried this, no avail:

captionbox.text.setRGB(0x000000);

2/. I have a live visitor count, but I also want number of people currently viewing my site. Possible?

Thanks.