Flash builder vs Flashdevelop full screen size - actionscript-3

I have created movieclip 480x800 screen size and exsport swc file with flash cs6. Flash builder import swc file and test run my device (Lg l70, 480x800) not full screen, but flashdevelop import and test run it is full screen. How can I full screen for flash builder.
I tried these codes, but could not
stage.scaleMode = StageScaleMode.SHOW_ALL
stage.align = StageAlign.TOP;
Flash Builder not full screen (gray area)
Flashdevelop full size

Related

Fullscreen on phone with notch or detecting if the device has notch with Adobe AIR?

How to use fullscreen on android phone with notch or detecting if the device has notch and the size of notch or get the x,y coordinates of the native android application from Adobe AIR(I'm using AIR.32)?
I have created an Adobe AIR application that is not displayed correctly in fullscreen on Android phones that have screen with notch. On such phones my app is cropped as the entire app is shifted to the right because of the notch.
My question is can I detect the size of notch or the x/y coordinate of the AIR native application so I can make appropriate corrections.
My app is set to run in fullscreen and with no scaling:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;

Keep bitmaps in MovieClips when exporting a swc from Flash CS6

I am having troubles including bitmaps in swc files created in Flash CS6. I am working on an AIR project, and I am using Flash Builder 4.7 with AIR SDK 17.0 to compile it, and Flash CS6 for the artwork.
I keep the application screens as MovieClips in Flash (with buttons, backgrounds, some text fields, etc.) and link them to classes so I can instantiate them in Flash Builder. I am exporting the Flash file as a SWC, that I use later in the Flash Builder project.
It is working, but...the background images of the screens are wiped out. I can instantiate the screens, add listeners to their components, and so on, but when I compile the project they have no backgrounds. I am using 1024x768 bitmaps (png) as background on each screen.
I tried giving the bitmaps a class too, but it is still the same.
Just to test it, I converted the bitmaps to shapes and this way they are shown well. but what I need is a nice bitmap, not flat shapes.
Does anyone know how to get this done?

AS3 Mobile Splash Screen Sound

Creating a project using AS3, have my splash screen files set up. Curious to know if it's possible to play a sound while the splash screen is up?
Cheers.

Flash projector displays black screen when video played

I'm creating a desktop executable projector file for use in a presentation.
I have set the fscommand to display the projector in fullscreen on launch.
Everything works fine until we get to the video slide at which point whilst in full screen the video slide is totally blacked out, you can't view anything.
If full screen is exited the slide is view able again but the video does not show unless I go forward a slide and then back.
Does anyone know why this would be?
fscommand("fullscreen", "true");
import flash.media.SoundMixer;
import gs.TweenMax;
import gs.easing.*;
stage.addEventListener(KeyboardEvent.KEY_UP, keyHandler);
this.blendMode = BlendMode.LAYER;
stage.scaleMode = StageScaleMode.SHOW_ALL;

`FullScreenTakeOver` property not working: How can I keep an FLVPlayback out of fullscreen mode in a fullscreen projector?

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.
Why is this? How do I fix it?
EDIT:
I want the projector to be in fullscreen mode, and the FLVPlayback to not be in fullscreen.
EDIT2:
I'm making an interactive projector in Flash CS5. The projector opens, loads a video into an FLVPlayback component in the first frame. For some reason, that FLVPlayback component does not take over the screen. (I've called flv.fullScreenTakeOver = false; before the video loads. Maybe that's why?)
However, when I try to use an FLVPlayback component in a different frame (frame 4), the video player takes over the screen, showing only a black screen while playing the video. It ignores the fullScreenTakeOver = false.
What could be wrong here and how do I fix it?
it's rather easy to resize the Video instance to e.g. 25% of stage size on FullScreenEvent
UPD: working (but very simple) example on wonderfl.net i check on enter frame, but it's really too often:
video.addEventListener(Event.ENTER_FRAME, updSize);
private function updSize(e:Event = null):void{
video.width = stage.displayState == 'fullScreen' ? smallVidWidth : bigVidWidth;
video.height = stage.displayState == 'fullScreen' ? smallVidHeight : bigVidHeight;
}
imho it's always possible to know when the displayState is changed, but even using a timer would be better then enterframe