Solved

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

Posted on 2008-10-28
4
300 Views
Last Modified: 2013-11-11
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

0
Comment
Question by:designsbymlg
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:Savong
ID: 22825667
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.
0
 

Author Comment

by:designsbymlg
ID: 22826604
Ok. Do you have a recommendation for how to implement that?
0
 
LVL 10

Accepted Solution

by:
Savong earned 500 total points
ID: 22826735
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.
0
 

Author Closing Comment

by:designsbymlg
ID: 31510721
Thank you... I finally reposted after waiting 2 weeks for a response... I can't thank you enough!
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now