Actionscript 2.0 :: Fullscreen Mode For FLVPlayback Component
Oct 17, 2010
I am using a FLVPlayBack component to play some videos back inside a flash site I am making. Obviously I am using a Flash CS3 - AS2 skin since I am making the site using AS2.
Does anyone have the code to create a fullscreen mode button so that the videos go into full screen mode that are playing the FLVPlayBack Component?
View 3 Replies
Similar Posts:
Nov 14, 2010
I have an FLVPlayback component on my timeline (frame 4 or so), and my Flash Projector is running in fullscreen mode. The problem is that I can't seem to make my FLVPlayback component NOT be in fullscreen mode and at the same time, have my stage in fullscreen mode.
View 1 Replies
Jun 8, 2011
I have an SWF file with a full-screen button working perfectly. I have added an FLVPlayback component, working correctly.
However, if the whole stage is in "Full Screen" mode, and I click on the button which loads the FLVPlayback component, the screen becomes black and the FLV doesn't even load.
I have tried addind the action movieHolder.fullScreenTakeOver = false; but it did not help.
I m working with Flash CS5 and AS 3
View 14 Replies
Sep 30, 2010
I have tried numerous things but when I insert the FLVplayback Component into flash that is linked to an external video source the fullscreen function will not work but the video plays as needed.
View 15 Replies
Sep 15, 2009
I am using the flvplaybackcaptioning component in Flash CS3 along with a flvplayback component.
The XML file is pointed and everything works fine till I go fullscreen mode. Once switched to fullscreen mode, the flvplaybackcaptioning component starts moving up by 1 or 2 lines. This is very distracting.
View 1 Replies
Sep 5, 2009
I've encountered a really frustrating problem recently when switching to StageDisplayState.FULL_SCREEN with a FLVPlayback component on the stage.
My movie:
bottom layer: a movie clip inside of which is a FLVPlayback component playing a flv movie
upper layer: movie clip (logo), second mc (fullscreen button)
Fullscreen button code:
function doFullscreen(event:MouseEvent):void {
if(stage.displayState == StageDisplayState.FULL_SCREEN){
stage.displayState = StageDisplayState.NORMAL;
} else {
stage.displayState = StageDisplayState.FULL_SCREEN;
}}bFullscreen.addEventListener(MouseEvent.CLICK, doFullscreen);
Effect (Before clicking the fullscreen button):
Everything is okay, the movie plays, logo and button are visible.
Effect (After clicking the fullscreen button):
The only thing that is visible is the playing movie, but logo and fullscreen button disappear.
What happens:
The mc with the FLVPlayback component gets the highest child index and covers the logo and button. It is not the problem with aligning logo and button on the stage, as without the FLVPlayback component they are perfectly aligned. I also tried to manually switch the depth of the mc with the FLVComponent, unfortunately without any result.
View 1 Replies
Aug 9, 2011
How to create the fullscreen functionality in FlvPlayback component.
View 3 Replies
Jan 20, 2010
I have an FLVPlayback component instance on my stage, into which I load videos based on button presses. When I create a .swf of my project though, if I use
fscommand("fullscreen", "true");
fscommand("allowscale", "false");
I get unexpected behavior. What should happen is the file loads, everything is centered, and the area around the project is whatever the background color is.This sort of works .. until the first FLV is played. The FLV gets scaled to 100% (fullscreen)and if I hit "esc" I go back to the "normal" sized player, but if I then maximize the window (almost the same as fullscreen), the entire flash player now decides to scale, not just the FLV playback component
I'd like to be able to have my windows projector file to take up the entire screen when it's loaded (without being scaled), but this doesn't seem possible. Any ideas what's going on? Regarding the FLVPlayback component, I've tried everything to make it fit and not scale ....set height, width, set scale to "noScale", set registrationHeight, registrationWidth, etc. Nothing works.
View 2 Replies
Nov 17, 2010
I wanted to make a video player that has normal mode and fullscreen mode. The part I am having trouble understanding is how to handle the video once it gets set to fullscreen. Do I just use the current video or do I get a high quality version of the video to show during fullscreen mode? What would be best practice for this situation?
View 1 Replies
Apr 13, 2009
I like to make a fullscreen desktop application, with an FLV, using the FLV Playback component. However, I�d like there to be a Fullscreen button on the playback component, which will allow the user to toggle the video fullscreen.I cant, for the life of me, figure out how to do this with various settings�it should be easy! This is what I have--is there a better way to do things (without a custom movie player)? My inital settings are as follows:
Code:
stage.displayState = StageDisplayState.FULL_SCREEN;
theMovie.fullScreenTakeOver = false;
Then I have a function which should work--but my button won't appear in fullscreen--Can I apply this function to the built-in fullscreen button?:
Code:
function handleClick(event:MouseEvent):void
{
if ( !theMovie.fullScreenTakeOver )[code]....
View 9 Replies
Jul 21, 2011
Is there any way to debug fullscreen mode? I Ctrl+enter and I see the swf but the fullscreen button never works, like when I forgot the allowFullScreen param in my HTML code.Do I have to add some parameter to the CS5 properties?
View 1 Replies
Apr 20, 2009
Fullscreen mode feature can be enabled/disabled with allowFullScreen attribute of the embed/object tag.
Is it possible to know inside action script code if the fullscreen mode is allowed .
I want to hide fullscreen button in my app if fullscreen mode is not available.
View 4 Replies
Nov 3, 2009
I am loading an image in a back mc stretched to 100% of the stage width and height. Everything works fine except in fullscreenmode - the image does not resize to fit the new stage width and height. Here is the code:
PHP Code:
function loadFunc(What, Where) {
var LoadingObject = new MovieClipLoader();
var NewObject = new Object();
NewObject.onLoadInit = function(mc:MovieClip) {
[Code].....
View 4 Replies
May 2, 2009
I need to play a flash website in full screen mode. That runs fine but then I have a link where we have an FLV video component. Whenever I browse to the link having the FLV video, the video goes fullscreen and fills the whole screen. I want the FLV so that it remains at the original video dimensions while I'm at Full Screen. Also I have another problem, if I let the video play in full screen, then when I press escape to get out of video it exits the full screen mode as well, how can I exit the video yet not exit full screen mode.
BTW, I've searched the internet and couldn't find any example of flash where we have flv video in full screen mode website.
View 7 Replies
Oct 23, 2009
I'm encountering a strange problem with using Fullscreen mode. Basically I want the whole piece to become fullscreen, but because there is an flv active within the page the flv is taking over the fullscreen instead of the whole piece. Is there any way to stop it from doing this?I'm applying it like this:switch(FS_STATUS){ case false: stage.displayState = StageDisplayState.FULL_SCREEN; FS_STATUS = true; break; case true: stage.displayState = StageDisplayState.NORMAL; FS_STATUS = false; break; default: break; }If the flv is there it causes the flv to go fullscreen instead of the whole thing, frustrating!
View 1 Replies
Nov 10, 2009
I built a flash player using the flvplayback component. I have a menu that slides up when the user brings the mouse down over the bottom 130 pixels of the flvplayback component. I did this by creating a symbol that is a clear box called "trig" and using "trig.addEventListener(MouseEvent.MOUSE_MOVE, slidebar);" with "slidebar" being a function that calls the tween to make the menu appear. To go into fullscreen mode i use the command "video.enterFullScreenDisplayState();" which is called by a button. Is there any way to set it so that my sliding menu will still work in fullscreen mode?
In a related question is there anyway to to have the player start in fullscreen mode? I tried using video.enterFullScreenDisplayState(); as the first line of the action script file after the import commands, but that didn't seem to work.
View 3 Replies
Apr 29, 2010
I'm running a standalone EXE file via the Projector (or whatever it's called when you run a standalone EXE file made with Flash). It's NOT a web-based application. Every time I go to fullscreen mode, I just get a blank screen. All of the images are gone. However, if I press Esc to exit the full screen mode, then the pictures appear again. Is this a bug with Flash CS3? This is what I put in the first frame of my movie in the 'actions' section:
import flash.system.fscommand;import flash.display.Stage;import flash.display.StageDisplayState;stage.scaleMode = StageScaleMode.SHOW_ALL;stage.displayState = StageDisplayState.FULL_SCREEN;stage.scaleMode = StageScaleMode.NO_SCALE;stage.align = StageAlign.TOP_LEFT;stage.displayState = "fullScreen";stage['displayState'] = "fullScreen";
When I run the Flash program (as an exe file), the program goes fullscreen, but all of the elements on the stage disappear, leaving the screen blank. However, when I exit out of fullscreen mode (by pressing ESC) then everything looks like it's supposed to, with the images showing up and everything.
View 3 Replies
Jul 30, 2010
I have a main FLA into which at certain points flvs and swfs are loaded and played, my current problem is that I have a loaded flv(display) which is set to loop using this code:ActionScript Code:import fl.video.*;
// Video component instance name
var flvControl:FLVPlayback = display;
var flvSource:String = "mainscreen.flv";
[code].....
View 18 Replies
Jan 11, 2011
I've started now working with the fullscreen mode (for a project in college), and I already made the code for a button to turn the stage on fullscreen.I'd like to know if anyone knows how to leave the fullscreen mode by button?I used this code for turning the fullscreen "on" on the opening button:[code]Then I tried turning the fscommand on the fullscreen "false" on the closing button, but it doesn't work.And btw, how can I make the "open" button appear if I use ESC?
View 3 Replies
Feb 2, 2011
coming from a print background i am trying to teach myself both as2 and as3 and am working on a couple of small projects for myself. I have run into the issue, where the user is in fullscreen mode cannot use keyboard commands to inout text. I would like to know how i could make an alert that appears when the user is in fullscreen mode only.
View 0 Replies
May 27, 2007
I'm not really getting this...in a flex HTML template I have this
HTML Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="${application}" width="${width}" height="${height}"
[code]....
View 4 Replies
Apr 29, 2010
I'm running a standalone EXE file via the Projector (or whatever it's called when you run a standalone EXE file made with Flash). It's NOT a web-based application. Every time I go to fullscreen mode, I just get a blank screen. All of the images are gone. However, if I press Esc to exit the full screen mode, then the pictures appear again. Is this a bug with Flash CS3? [code]...
View 1 Replies
Oct 13, 2009
I have an FLVPlayback component in an video.swf, and it has a fullscreen button. video.swf is being loaded by another main.swf. when the fullscreen button is clicked, it goes into full screen. But, the FLVPlayback scales too big and even the overlaying controls are out of the screen.
View 9 Replies
Mar 5, 2003
This probably is a stupid question but does anyone know how I can start a standalone swf file in fullscreen mode.I want it to cover the whole screen when it starts.
View 3 Replies
Nov 16, 2009
Been a while since i've posted on here but im running in to a snag. It seems that when i go in to fullscreen mode with ie it runs correctly. However when i run it with mozilla I get a security error. Hitting continue, and repeating the process gives me the error again and im denied fullscreen. When i hit "dismiss all" and repeat the toggle it goes in to fullscreen.
View 1 Replies
Feb 8, 2009
You will notice that if you click on the white textarea, youcan type in it and the keyCode is printed at the bottom. NOW, ifyou click on the black background it launches into fullscreen mode.In fullscreen mode, you CANNOT type in the text area. You canselect the text, but you can't type. If you jump out of full screenmode then it works.What is going on here? Has anyone seen this before? Is it aFlash bug? Here's the code, FLA linked below:
View 3 Replies
Sep 1, 2008
My flash presentation contains video which I imported using the flash video component. When I play the presentation 100% size they play fine - contained within there window on the screen - When I play the presentation in full-screen mode they take over the whole screen. They also play untill the video is finished whithout moving onto the next scene.
View 8 Replies
Aug 17, 2009
I'm making a presentation with as2 and when going to fullscreen my arrow keys don't work anymore? I have googlet this problem, but found nothing.
View 1 Replies
Aug 17, 2009
I have the following to open my file in full screen mode, but am getting the error message below.[code]...
View 2 Replies
Aug 16, 2010
I am using FLVPlayback component to display videos in fullscreen mode.
Try this:
1. Add 2 FLVPlayback components to stage (new file).
2. Make sure you are using two different *.flv files (video.source = "").
3. Change the video skin to one that has a fullscreen button and publish to Flash Player version 9.
4. Publish html with the fullscreen option set to true in the html page.
What you will find is that both the buttons display the same video!
I am unable to find any solution online. I have even tried this using AS3.0 with the same result.
View 5 Replies