Link to home
Start Free TrialLog in
Avatar of designsbymlg
designsbymlgFlag for United States of America

asked on

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 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

Avatar of Savong
Savong
Flag of United States of America image

In order to bring up the print dialog the Flash movie must exit full screen mode.  You should be able to bring up a prompt asking the user if they want to return to full screen when the print job is finished.  That would seem to be the best solution in this case.
Avatar of designsbymlg

ASKER

Ok. Do you have a recommendation for how to implement that?
ASKER CERTIFIED SOLUTION
Avatar of Savong
Savong
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you... I finally reposted after waiting 2 weeks for a response... I can't thank you enough!