Ok just a total noob question.
im having trouble with If statments i assumed they would be stright forward here is what ive been playing with
What have i done wrong it just sits and dosent do anything
im having trouble with If statments i assumed they would be stright forward here is what ive been playing with
Code:
var HourofDay;
HourofDay = new date();
HourofDay = hourofday.getHours();
if (hourofday != "15") {
Output="yay"
gotoAndPLay(2);
}
if (hourofday != "16") {
Output="yay2"
gotoAndStop(2);
}
What have i done wrong it just sits and dosent do anything