bigadjaye
09-01-2006, 11:00 AM
Hi all,
I want an alert to pop up on the screen when the condition of an if statement is satisfied as follows:
if(ID < newestID){
trace("New log received!");
newmail.attachSound("mailsound");
newmail.start(0,3);
Alert.show("New log received!","New log",Alert.OK, this, Alert.OK);
}
The Alert however, is not displaying. The sound clip plays no problem and the trace displays the text no problem. It's just the alert.
On the same frame I am using the Alert with no problem on two buttons. It is just this alert which wont display. Please tell me what I am doing wrong!
Thanks in advance:)
I want an alert to pop up on the screen when the condition of an if statement is satisfied as follows:
if(ID < newestID){
trace("New log received!");
newmail.attachSound("mailsound");
newmail.start(0,3);
Alert.show("New log received!","New log",Alert.OK, this, Alert.OK);
}
The Alert however, is not displaying. The sound clip plays no problem and the trace displays the text no problem. It's just the alert.
On the same frame I am using the Alert with no problem on two buttons. It is just this alert which wont display. Please tell me what I am doing wrong!
Thanks in advance:)