?
Solved

i can't make the fullscreen to work, help me

Posted on 2010-08-23
4
Medium Priority
?
328 Views
Last Modified: 2012-05-10
i have this file here, but the fullscreen button i can't make it work. help me

http://www.globalnucleo.com/temp/flexplarer.rar

0
Comment
Question by:rafaelrgl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 4

Expert Comment

by:andreMariano
ID: 33522361
404 - File or directory not found.
0
 
LVL 4

Accepted Solution

by:
andreMariano earned 2000 total points
ID: 33530356
Ok... go in your project to your html-template
and then edit your index.template.html
then add the line
"allowFullScreen", "true"
in the 2 AC_FL_RunContent properties
then it will be like this:

AC_FL_RunContent(
                  "src", "${swf}",
                  "width", "${width}",
                  "height", "${height}",
                  "align", "middle",
                  "id", "${application}",
                  "quality", "high",
                  "bgcolor", "${bgcolor}",
                  "name", "${application}",
                  "allowScriptAccess","sameDomain",
                  "type", "application/x-shockwave-flash",
                  "pluginspage", "http://www.adobe.com/go/getflashplayer",
                  "allowFullScreen", "true"
      );

here is an example app:

<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2007/08/07/creating-full-screen-flex-applications/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" >
	
	<mx:Script>
		<![CDATA[
			
			private function fullScreen():void {
				try {
					switch (systemManager.stage.displayState) {
						case StageDisplayState.FULL_SCREEN:
							systemManager.stage.displayState = StageDisplayState.NORMAL;
							break;
						default:
							systemManager.stage.displayState = StageDisplayState.FULL_SCREEN;
							break;
					}
				} catch (err:Error) {
					// ignore
				}
			}
		]]>
	</mx:Script>
	
	<mx:Button label="fullscreen" click="fullScreen()" />
	
</mx:Application>

Open in new window

0
 
LVL 1

Author Comment

by:rafaelrgl
ID: 33536555
0
 
LVL 1

Author Closing Comment

by:rafaelrgl
ID: 33963699
thks
0

Featured Post

2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

719 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