Frame 1
status = FSCommand2("FullScreen", "1");
setProperty("gloss", _x , "5");
setProperty("gloss", _y , "5");
setProperty("gloss", _width , _width - "10");
setProperty("gloss", _height , (getProperty("gloss", _width) / "233") * getProperty("gloss", _height));
Frame 2
hours = FSCommand2("GetTimeHours");
minutes = FSCommand2("GetTimeMinutes");
seconds = FSCommand2("GetTimeSeconds");
hours = hours + (minutes / "60");
seconds = seconds * "6";
minutes = minutes * "6";
hours = hours * "30";
setProperty("sec", _rotation , seconds);
setProperty("min", _rotation , minutes);
setProperty("hour", _rotation , hours);
if (datum <> (FSCommand2("GetDateDay"))) {
datum = FSCommand2("GetDateDay");
setProperty("dat", _rotation , "182" - ((datum - "1") * "4.23"));
}
if (battLevel <> (FSCommand2("GetBatteryLevel"))) {
battLevel = FSCommand2("GetBatteryLevel");
maxBatt = FSCommand2("GetMaxBatteryLevel");
bat = (battLevel / maxBatt) * "100";
setProperty("batl", _rotation , "165" + (bat * "1.5"));
}
Frame 4
gotoAndPlay (2);
Symbol 2 Button
on (keyPress "<Left>") {
FSCommand2("quit");
}
on (keyPress "<Right>") {
FSCommand2("quit");
}
on (keyPress "<Home>") {
FSCommand2("quit");
}
on (keyPress "<End>") {
FSCommand2("quit");
}
on (keyPress "<Delete>") {
FSCommand2("quit");
}
on (keyPress "<Backspace>") {
FSCommand2("quit");
}
on (keyPress "<Enter>") {
FSCommand2("quit");
}
on (keyPress "<Up>") {
FSCommand2("quit");
}
on (keyPress "<Down>") {
FSCommand2("quit");
}
on (keyPress "<PgUp>") {
FSCommand2("quit");
}
on (keyPress "<PgDn>") {
FSCommand2("quit");
}
on (keyPress "<Tab>") {
FSCommand2("quit");
}
on (keyPress "<Escape>") {
FSCommand2("quit");
}
on (keyPress "<Space>") {
FSCommand2("quit");
}
on (keyPress "1") {
FSCommand2("quit");
}
on (keyPress "2") {
FSCommand2("quit");
}
on (keyPress "3") {
FSCommand2("quit");
}
on (keyPress "4") {
FSCommand2("quit");
}
on (keyPress "5") {
FSCommand2("quit");
}
on (keyPress "6") {
FSCommand2("quit");
}
on (keyPress "7") {
FSCommand2("quit");
}
on (keyPress "8") {
FSCommand2("quit");
}
on (keyPress "9") {
FSCommand2("quit");
}
on (keyPress "0") {
FSCommand2("quit");
}
on (keyPress "#") {
FSCommand2("quit");
}
on (keyPress "*") {
FSCommand2("quit");
}