Solved

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

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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

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…
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

624 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