[COLOR=#222222][FONT=Times]I am simply trying to have this if/else code the change the movie at the end of the timeline to another movie.[/FONT][/COLOR]
[COLOR=#222222][FONT=Times]It doesn’t work but I get no errors. What am I overlooking? I can’t seem to get it.[/FONT][/COLOR]
[COLOR=#222222][FONT=Times]Any help would be appreciated greatly! Here is what I have …
BTW… the smiley face is actually a : with a D …
var today_date:Date = new Date();
var date_str:String = (today_date.getDate()+"/"+(today_date.getMonth()+1)+"/"+today_date.getFullYear());
if (date_str ==“19/12/2012”) {
loadMovie(“test2.swf”,0);
trace(“one”);
} else if (date_str ==“25/12/2012”) {
unloadMovie(0);
loadMovie(“test3.swf”,0);
trace(“two”);
}
else if(date_str ==“23/12/2012”)
{
unloadMovie(0);
loadMovie(“test2.swf”,0);
trace(“three”);
}
else
trace(“four”);
{
}
[/FONT][/COLOR]