//CODE FOR PRINTING
stop();
print_left_btn.onPress = printLeftPage;
print_right_btn.onPress = printRightPage;
function printLeftPage() {
print_box.printIt(myBook.leftPageNumber, myBook);
}
function printRightPage() {
print_box.printIt(myBook.rightPageNumber, myBook);
}
//CODE FOR FULLSCREEN TOGGLE BUTTON
on (press) {
if (Stage["displayState"] == "normal") {
Stage["displayState"] = "fullScreen";
}else
Stage["displayState"] = "normal";
play();
}
|