Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-14-2012, 05:56 AM   #1
gmastey
Registered User
 
Join Date: Apr 2012
Posts: 2
Default FLVPlayback fullscreen state is black

Hi all,

I'm trying to use FLVPlayback's enterFullScreenDisplayState() function, but instead of the video expanding to fill the screen, I just get a completely black screen. I can still hear the video playing, and when I Esc, the video is just playing normally. I'm writing this as an Adobe AIR 3 desktop application.

I'm a seasoned flash dev, but haven't come across this problem before, and been looking for a solution for a few hours now. Any help would be appreciated. Code for my document class is below. It seems so basic, am I missing something?

Code:
package  {
	
	import flash.display.MovieClip;
	import fl.video.FLVPlayback;
	import flash.events.MouseEvent;
	import fl.controls.Button;

public class VidTest extends MovieClip {
		
		public var vidPlayer:FLVPlayback;
		public var fullscreenBtn:Button;
		
		public function VidTest() {
			
			vidPlayer = new FLVPlayback();
			vidPlayer.width = 502;
			vidPlayer.height = 284;
			vidPlayer.source = "airport.f4v";
			addChild(vidPlayer);
			fullscreenBtn.addEventListener(MouseEvent.CLICK, fullscreenHandler);

		}
		
		public function fullscreenHandler(e:MouseEvent):void
		{
			vidPlayer.enterFullScreenDisplayState();
		}

	}
	
}
gmastey is offline   Reply With Quote
Old 04-14-2012, 05:57 AM   #2
gmastey
Registered User
 
Join Date: Apr 2012
Posts: 2
Default [AS3] FLVPlayback fullscreen state is black

Hi all,

I'm trying to use FLVPlayback's enterFullScreenDisplayState() function, but instead of the video expanding to fill the screen, I just get a completely black screen. I can still hear the video playing, and when I Esc, the video is just playing normally. I'm writing this as an Adobe AIR 3 desktop application.

I'm a seasoned flash dev, but haven't come across this problem before, and been looking for a solution for a few hours now. Any help would be appreciated. Code for my document class is below. It seems so basic, am I missing something?

Code:
package  {
	
	import flash.display.MovieClip;
	import fl.video.FLVPlayback;
	import flash.events.MouseEvent;
	import fl.controls.Button;

public class VidTest extends MovieClip {
		
		public var vidPlayer:FLVPlayback;
		public var fullscreenBtn:Button;
		
		public function VidTest() {
			
			vidPlayer = new FLVPlayback();
			vidPlayer.width = 502;
			vidPlayer.height = 284;
			vidPlayer.source = "airport.f4v";
			addChild(vidPlayer);
			fullscreenBtn.addEventListener(MouseEvent.CLICK, fullscreenHandler);

		}
		
		public function fullscreenHandler(e:MouseEvent):void
		{
			vidPlayer.enterFullScreenDisplayState();
		}

	}
	
}
gmastey is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:35 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.