Fullscreen mode not working with SWFObject in flash

Posted on 2009-02-24
Medium Priority
Last Modified: 2013-11-11
My problem is this; in my AS3 movie, fullscreen toggle mode is working only on some browsers, and not in Firefox on PC.  I am implementing the flash embed using  SWFObject  2, and I have all the things like allowFullScreen = true.  On pressing the toggle fullscreen button, when it doesn't work, there is a kind of a browser "shudder" as if it is trying to go fullscreen but failing for some reason.  Also, other events happen after the button is pressed that tell me the code that should make fullscreen happen is being run.  Below is the script in the html to embed the flash.  Any idea appreciated.
<script type="text/javascript">
				var width = 500;
				var height = 300;
				var flashvars = {width:"320", height:"265", videoname:"testtitle", colour1:"", colour2:"", colour3:"", video1:"myflv.flv", autoplay:"false"}
				var params = {
  					allowfullscreen : "true",
					scale :"exactFit",
					wmode: "window"
				//swfobject.embedSWF("/myswf.swf",  "9.0.0", "files/expressInstall.swf", flashvars);
				swfobject.embedSWF("files/player.swf", "myAlternativeContent", width, height, "9.0.0", "files/expressInstall.swf",flashvars,params);

Open in new window

Question by:deluxas
1 Comment

Accepted Solution

mandrew182 earned 2000 total points
ID: 23726929
I think that you should copy params to flashvars

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to how to record live broadcast.
Suggested Courses

862 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