Solved

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

Posted on 2010-08-23
4
326 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 500 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AS3 Image Edit Package 3 574
Flex automation silktest 3 935
Vertical ScrollBar on RichTextArea 2 1,101
Adobe Experience Manager 4 228
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…
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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