Personal tools

Views

Talk:Flash Player:9:Update:Full-Screen Mode HW

From Adobe Labs

Table of contents
[edit]

Compile time error using supplied AS3 .SWC

Update the .swc file (C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\ActionScript 3.0\Classes\playerglobal.swc). Create a new AS3 doc in CS3, drag a FLVPlayback component into the lib and publish. I get this error... 1046: Type was not found or was not a compile-time constant: FullScreenEvent.

mattmuller 02:47, 24 Jul 2007 (PST)

[edit]

Confirmed

The playerglobal.swc file included in this article introduces new compile time errors in ActionScript 3. Even after eliminating these errors by removing references to the FullScreenEvent and DisplayState objects, an error is still thrown when trying to set the "fullScreenSourceRect" property on the stage object.

Jason Brunken 06:50, 26 Jul 2007 (PST)

[edit]

More information

After installing this update to my Flex SDK 2.0.1, the flash.display.StageDisplayState is no longer found at compile time.

Paazio 04:28, 28 Jul 2007 (PST)

[edit]

Demo Files Updated (08/02/07)

The demo files have been updated with a new SWC that addresses the aforementioned issues. Please download the new instance.

senocular 11:11, 2 Aug 2007 (PST)

[edit]

Still problems with fullScreenSourceRect

I downloaded the new .swc updated it in flex and flash, but all the time when trying to get into fullscreenmode I get the: ReferenceError: Error #1056: Cannot create property fullScreenSourceRect on flash.display.Stage.

my code (in flex) looks like that:

stage.fullScreenSourceRect=new Rectangle(100,100,300,300);

stage.displayState="fullScreen";

I've got the 9.0.47.0 FP installed

What should I do to get it working? stf

[edit]

Your Player is probably too old

I had the exact same problems. I think the Player you use is too old. I was using the stand-alone Player from Flex 2, and that didn't work. I downloaded the Flex 3 beta and took the newer Player from there, and that solved the problem (at least the one reported above, I have other issues, see below).

Adding to the confusion is the fact that the featured snowboarding demo movie worked in full screen in the older player (it was version 9.0.28.0), and my project didn't. I think this is probably because the demo is ActionScript 2 and my project is ActionScript 3.

Hope this helps!

mhedelius 01:47, 5 Oct 2007 (PDT)

[edit]

GUI elements on top of full screen video not working properly

I was happy for almost a minute when I realised that upgrading the Player enabled the HW-accelerated full screen mode for my project. Until I started poking around in the MenuBar I have on top of my VideoDisplay, that is. Some, but not all, of the item labels are blank, some have a barcode-like random pattern where the label is supposed to be. The menu sort of works though, all the items are there (even if the text is blank) and selecting them works fine. Reverting back to normal windowed mode, everything is fine. Switch to full screen again, same problem as before. Anyone seen anything similar? Should I draw the conclusion that this is Beta quality and just not usable yet? Or is there a more satisfying explanation?

Any assistance appreciated!

mhedelius 01:58, 5 Oct 2007 (PDT)

[edit]

Where's the Flex?

I'd like to see a Flex example (with full MXML source, etc) that illustrates full screen HW accelaration.

[edit]

hardware scaling and stage.fullScreenSourceRect side effect

if you set stage.fullScreenSourceRect other than null. and as adobe says, if you want to get most of the new HW Scaling for fullscreen, you have to set videos original dimension and define that area as source rectangle...

my example video = 360x288 ( for example )

if you define it as the source rectangle, your flash's fullscreen container's resolution will become 360x288. That is like setting your 1280x1024 dekstop resolution to 640x480!! Do you remember the effect of it? Everything becomes huge! Yes, in here, this is the same thing, except changed resolution is only flash's container. So any graphical user interface you make, will seem huge! if you had drawn 1 pixel, it may become 10 pixels ( for ex.. ) if your source rectangle is small.. ( because the resolution is low! )

Am i missing something? Or i am right? So... Tell me the way to split the resolution, source rectangles (: I want multiple source rectangles! Adobe hear me (: I can not dynamically draw the interface, it'll result in the same thing.. I can not prepare previously created interfaces for many size, because size is not fixed.. Videos may be 360x288 or 1280x720 , etc...

What are we going to do......??

Retrieved from "http://labs.adobe.com/wiki/index.php/Talk:Flash_Player:9:Update:Full-Screen_Mode_HW"