Question : Flash Flipping Book: How do I prevent printing functions from also exiting fullscreen mode?

http://stage.cmc.com/PublicDocs/Web%20Catalog/Catalog-Web.html
---> click "View online interactive version"

When the user is in fullscreen mode and click on either of the print buttons, the movie will exit fullscreen mode. This is very undesirable and it is the very last problem I'm facing with my almost finished project.

Below is the code I believe to be relevant. Should you prefer to open the Flash file... it is available for download here:
https://www.yousendit.com/download/Y2o4YlJXSytrUmxFQlE9PQ
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
//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();
}
Open in New Window Select All

Answer : Flash Flipping Book: How do I prevent printing functions from also exiting fullscreen mode?

Basically show a prompt/MovieClip after the printjob.send() command is called.  In my experience the send command is synchronous, so whatever you do after it won't come up until after the print box has been closed (either ok or cancel).  So just show a prompt then asking them if they want to return to fullscreen, and set the fullscreen the way it was done initially.
Random Solutions  
 
programming4us programming4us