SeaCrystal
Programmer
I created a dynamic text box linked to a movie clip’s keyframe in one layer and the actions code in another layer in order to insert text by code (Actionscript 3.0).
Oddly enough, the getFullYear(), in the below code, is not retrieving the current year, so, instead of getting the output "© 2008 Artemis Art", I get just "© Artemis Art".
Yet when I did a very simple Flash program ( just the main stage, one layer with with a link to a dynamic text box and the below code ) it WORKS !
What is the bug in this situation ?
Here is the code:
var ydateate = new Date();
var yy = ydate.getFullYear();
coright.text = "© "+ yy + " Artemis Art";
Oddly enough, the getFullYear(), in the below code, is not retrieving the current year, so, instead of getting the output "© 2008 Artemis Art", I get just "© Artemis Art".
Yet when I did a very simple Flash program ( just the main stage, one layer with with a link to a dynamic text box and the below code ) it WORKS !
What is the bug in this situation ?
Here is the code:
var ydateate = new Date();
var yy = ydate.getFullYear();
coright.text = "© "+ yy + " Artemis Art";