Can I have a text field in my movie and have an external javascript for the current date display in that text field..

Means that can I write an external javascript file which gives me the current system date and this date is to be displayed in my text field in my Flash movie...I think its possible but can someone help me how....I think this can be done by calling an external .js file or sumthing...not sure though

This is because I have to do this thing using Flash 4.0 only

Thanks in advance
Pranster