on the main time line I have a global variable called “count”, in the last key frame the main time line, I set the count to
count = count+1
In my movie clip, I have an array of cities, and as the count increments, I want to push a city from the array into a dynamic text field.
// set local time
if (est == true) {
hours = hours+0;
var eastern_cities:Array = new Array("Cleveland", "New York", "Boston")
if(count == 0){
eastern_cities.push ("Cleveland")
}else if(count == 1) {
eastern_cities.push ("New York")
}
//_root.zone.time_zone.text ="EST"
_root.zone.time_zone.text = +eastern_cities
}
I can’t get this to work, what am I doing wrong?