FullScreen and noScale

Hi,
How can you set noScale to false or something similar when
using the new fullScreen mode?
I'm setting the displaystate to fullscreen:
Stage["displayState"] = "fullScreen";
But this line doesn't have any effect, the graphics are still
scaled up:
Stage["scaleMode"] = "noScale";
How to do this?
Jakob

Hi Jakob,
It works OK for me. Bizarre. The only thing I can think of :
Have you tried putting both Stage settings in the function?
fullScreen.onRelease = function()
Stage["displayState"] = "fullScreen";
Stage["scaleMode"] = "noScale";
Morten

Similar Messages

  • Fullscreen and noscale using AS3.0

    I'm attempting to create a projector that will go fullscreen
    and without scaling using AS 3.0
    In AS 2.0 I simply did this:
    fscommand("allowscale", false);
    fscommand('fullscreen",true);
    Worked every time...
    I've tried a few things, like the following:
    import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.events.Event;
    stage.scaleMode = StageScaleMode.NO_BORDER;
    stage.align = StageAlign.EXACT_FIT;
    But it ignors the code.
    I have had success with the following:
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    Suggestions???

    fscommand still exists in AS3. try this for your AS3
    projector
    import flash.system.fscommand;
    fscommand("allowscale", false);
    fscommand('fullscreen",true);
    Edit: Thought I might post a link to the LiveDocs for
    fscommand since people on the forums keep getting confused about
    this pretty much undocumented function in AS3. I'm sure it is
    simply because the Flash team is intending to deprecate it
    completely but either way, it is still there and it's use is no
    different that it was in AS2. The only difference is that now you
    MUST import the flash.system package to use it.
    AS3
    Help - fscommand on LiveDocs

  • AIR Fullscreen AND Show_All

    Hi, everybody
    I'm trying to resolve this problem.
    I am developing a AIR application with the following attributes: FULLSCREEN and then stage to EXACT_FIT (without trying to preserve the original aspect ratio).
    The full screen is ok but the content of the stage appears cut out in approximately 1/4 of its area.
    Can anybody help me?
    Thank´s for any help.
    Carlos Lopes.
    My code is:
    <mx:WindowedApplication
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="fFullscreen()"
    horizontalAlign="center" verticalAlign="middle" clipContent="false" backgroundColor="#E1C787">
    <mx:Canvas width="620" height="480" backgroundColor="#FFFFFF" x="209" y="73">
    </mx:Canvas>
    <mx:Script>
    <![CDATA[
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    public function fFullscreen():void {
    stage.displayState = StageDisplayState.FULL_SCREEN;
    stage.scaleMode = StageScaleMode.SHOW_ALL;
    ]]>
    </mx:Script>
    </mx:WindowedApplication>

    Hi, everybody
    I'm trying to resolve this problem.
    I am developing a AIR application with the following attributes: FULLSCREEN and then stage to EXACT_FIT (without trying to preserve the original aspect ratio).
    The full screen is ok but the content of the stage appears cut out in approximately 1/4 of its area.
    Can anybody help me?
    Thank´s for any help.
    Carlos Lopes.
    My code is:
    <mx:WindowedApplication
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="fFullscreen()"
    horizontalAlign="center" verticalAlign="middle" clipContent="false" backgroundColor="#E1C787">
    <mx:Canvas width="620" height="480" backgroundColor="#FFFFFF" x="209" y="73">
    </mx:Canvas>
    <mx:Script>
    <![CDATA[
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    public function fFullscreen():void {
    stage.displayState = StageDisplayState.FULL_SCREEN;
    stage.scaleMode = StageScaleMode.SHOW_ALL;
    ]]>
    </mx:Script>
    </mx:WindowedApplication>

  • ITunes 8 fullscreen and Windows 7

    Run into an odd bug. I can't seem to full screen any of the movie purchases I've got on Windows 7. When I try, it flickers like it is attempting to go fullscreen, and then it kicks me back to the play list, yet the audio for the movie is still running. Is there a way I can get this reported as a bug to Apple?

    Hello, Welcome to discussions.
    Since Windows 7 is currently in Beta it is not yet officially support with iTunes 8.0.2. You may wish to also post on the Windows 7 Beta Support forums as they might be able to provide you with more information about current updates to your OS.
    http://www.apple.com/itunes/download/
    Windows Hardware
    A PC with a 1GHz Intel or AMD processor
    Screen resolution of 1024x768 or greater
    Playing videos purchased on the iTunes Store requires an Intel Pentium D or faster processor
    Playing HD-quality videos purchased on the iTunes Store requires a 2.0GHz Intel Core 2 Duo or faster processor
    512MB of RAM; 1GB is required to play HD-quality videos
    A DirectX 9.0-compatible video card with 32MB of video RAM; 64MB recommended
    A QuickTime-compatible audio card
    A broadband Internet connection to use the iTunes Store
    An iTunes-compatible CD or DVD recorder to create audio CDs, MP3 CDs, or back-up CDs or DVDs
    Windows Software
    Windows XP Service Pack 2 or later, or 32-bit editions of Windows Vista
    64-bit editions of Windows Vista or later require the iTunes 8 64-bit installer
    QuickTime 7.5.5 or later is required (included)
    200MB of available disk space
    Screen reader support requires Window-Eyes 7.0 or later; for information about accessibility in iTunes, visit www.apple.com/accessibility

  • Fullscreen and setClip

    Hi!
    I have a question if it's reasonable to use g.SetClip() (to determine clipping region) along with the fullscreen mode and BufferStrategy class.
    My question is how the graphics on the screen are handled while using BufferStrategy --> e.g. if I have something on the screen that doesn't need repainting will BufferStategy know that or I have to determine clipping region.
    TIA for your remarks

    I've noticed two things about fullscreen and setClip.
    First of all, fullscreen mode is very good about maintaining its own clipping region. I've done time trials and found the overhead for drawing offscreen objects is minimal. A "user clip" set by setClip is actually concatenated with the display clip, so setClip can be used to narrow down your drawing region as well. I've made some nifty effects that way.
    Second is a warning: If you're changing display modes, set fullscreen FIRST, then query and set display mode, then get your buffer strategy. If you get your buffer strategy before you start changing modes, then all the built-in clipping in the graphics object it returns will be invalid once you change modes.

  • When using Flash plugin in Fullscreen the video starts pausing occasionally for a second. OK when not in Fullscreen and works fine in Fullscreen with other Browsers.

    I have recently upgraded to 10.0 and whenn using Flash Player in Fullscreen it behaves badly. Starts pausing frequently for aroun a second. It's annoying. When I escape fullscreen and run it within the Browser panel it's fine.. Other Browsers work fine in Full Screen Mode. Tried it with IE and Google Chrome. Firefox is my default Browser so my preferred option.

    goneja2 wrote:
    I have narrowed it down to my Motherboard, GPU, CPU or Power Supply that is emitting the noise.
    I have never heard of such a thing, but the first thing I would try is to disabled Hardware Acceleration (Flash Player Settings).

  • FLVPlayback screws up fullscreen and resizes my swf on "Esc"

    OK, so I have been modifying the Adobe AS3 videogallery for my site. It got just about everything working but fullscreen.
    1) The HTML is set to enable fullscreen
    2) The playback component is the newest version
    3) The Flashplayer is version 10+
    So when you click on any of the videos in the menu it loads into the side panel and plays as it should. But when you click on the fullscreen button it goes into fullscreen mode, but only displays the first frame of my last video in the menu. That's all it does, really weird!
    When you press, "Esc" it exits out of fullscreen and the swf that was at 100% centered is now aligned top left at it's original size of 723px
    I have NO idea where to start here. The link to my site is below. Let me know what you think!
    http://www.xsxtreme.com/index2.html

    I mean sir, when I click on one of the imported videos the video itself covers the entire screen. What i need is when i click the button for video 1, for sample, it will load with the size i manually transform on the stage.. and when the time comes i press the FULLSCREEN button on the "SkinOverAll.swf" that when the fullscreen happens..
    Again, my settings stageDisplayState is FULL_SCREEN and scaleMode is NO_SCALE on the first frame. So, when i go and click the tab for video page it started fullscreen. The problem happens when i started clicking on one of the buttons on the video page, the screen all turns to black.. And when i hit ESC the screen turn to normal and no video is playing.. Tried playing the video, it work fine and press the FULLSCREEN BUTTON work fine too {that's because the stageDisplayState is NORMAL..
    I hope that you could really help with this one.. I have a deadline tomorrow..
    Thanks again,
    YSONG

  • Adobe Reader 10 - 3D fullscreen and floating window issue

    hey everyone,
    since the new pdf viewer (adobe acrobat 10) released i've got an issue with the 3d fullscreen and the floating window.
    the  first photo below shows the default view in a 3d scene. if i'm  selecting the floating window (or the fullscreen) there is a problem  with the camera (position, targetPosition and the behavior).so the view  is wrong and the position of all nodes in it, and up to now i am unable  to fix it
    Furthermore, as you see in picure three, the fullscreen mode of a 3d scene shows the whole page and many errors in the scene itself...
    Does anyone has this problem as well and can help me?
    cheers frank

    hi good morning,
    i was on holiday for 5 days now so sorry my late answer. I tried to set the default view in the u3d model but it doesn't work as well
    i loaded up a file that does not work in fullscreen as well as in the floating window (http://www.fileuploadx.de/76685).
    The javascript errors at startup were evoked, because i deleted some models that aren't needed but the javascript tries to load it. But they don't have any effect to the scene so far.
    In the floating window (or fullscreen) something with the camera must be wrong. I deleted the buttons (you can see as billboards in the scene) and then it works. So i tried to figure out the problem and let me displayed the position of the camera after each rendering event simple by (console.println(scene.cameras.getByIndex(0).position). Even if I displayed all cameras, that were about 50 surprisingly, it was the same overall. If the scene is embedded in the pdf document the camera position changed as it has to be. In the floating window and in the fullscreen i did not record any changes of the camera ...
    does anybody has an idea ?!
    cheers frank
    ps: please use adobe reader 10 to see that issue. with version 9 everythings should work fine.

  • AS3.0 Fullscreen, with noscale

    I’m having a problem with ActionScript 3.0 on
    performing a specific function. I’ve done this dozens of
    times in AS2.0, but it seems to elude me in 3.0.
    Let me set up the problem for you… I’m creating
    training interfaces using Flash as the front end. This is not an
    swf file embedded into an HTML page; it stands on its own, and will
    be loaded directly from a CD.
    When the student activates the swf file, I want the monitor
    to display the flash document, without scaling, in the center of
    the monitor. I don’t want the flash document in a
    window… just centered on the monitor, and the rest of the
    monitor to display a black background.
    As I’ve said, I’ve accomplished this many times
    in AS2.0… a little noscale, a bit of fullscreen, etc.
    However, I cannot for the life of me, figure out how to do this
    simple task in AS 3.0. Nothing I’ve tried, or been advised to
    try seems to work. I can prevent it from scaling; however, it still
    displays in its own movable window.
    All I need is a code piece that I can add to my loader
    document, that instructs the file to display to center of screen,
    without scaling, and blacks out the rest of the monitor.

    if you talking about centering a display object on the center of the stage then it you can load the flvPlayback into a Sprite that has it registration point on center then centering that sprite then it's like
    mySprite x = stage.stageWidth/2;
    mySprite.y = stage.stageHeight/2;
    The way you wrote the question it sounde like the video is full screen.  If it's fullScreen wouldn't it have to be centered by definition?

  • Is it possible to use fullscreen and exclusive mode with a jfilechooser?

    is there a way to use them together? while in fullscreen exclusive mode the jfilechooser doesn't attach to fullscreen window and it halts the program.. I've tried setting the parent frame as the fullscreen frame but it's all glitched.. am I missing something?
    thank you,
    best regards,
    Jacopo

    For reference, the cross-post can be found here:
    Is it possible to use network devices (cDAQ-9188) with a PXI Real Time system?
    Jayme W.
    Applications Engineer
    National Instruments

  • FullScreenTakeOver, fullscreen, and fscommand exec

    I am not a programmer. I switched to CS3 for flv ease of
    skins, but I'm finding AS3 to be extremely difficult to learn.
    I have an .fla that I am publishing as a Mac projector and a
    Windows projector. It took me 2 days just to learn the new way to
    handle simple buttons and now the Mac projector is already acting
    up on other simple commands. I haven't even had a chance to test
    the Windows .exe because I can't get the Mac version to work. I'm
    hoping the problems are the same so I only have to deal with this
    once.
    I'm at the point where I'm trying to get this to work:
    //in first frame
    fscommand("fullscreen", "true");
    myvideo.fullScreenTakeOver = false;
    //in different scene
    myButton.addEventListener(MouseEvent.CLICK, openSyllabus);
    function openSyllabus(event:MouseEvent) {
    fscommand("exec", "syllabus.app");
    seems simple enough right?
    Here are the problems:
    1. fullscreen is not actually fullscreen. It has a menu bar
    the top of the window.
    2. "myvideo" is an FLVPlayback component. It is contained in
    an swf called "video.swf". video.swf is loaded into an mc in my
    projectors main timeline called "videoSpot_mc" like this:
    teleButton.addEventListener(MouseEvent.CLICK, newvid);
    function newvid(event:MouseEvent) {
    var loadit = new Loader();
    addChild(loadit);
    loadit.load(new URLRequest("video.swf"));
    videoSpot_mc.addEventListener(MouseEvent.MOUSE_DOWN, newvid);
    But when video.swf loads into videoSpot_mc it goes to a black
    screen despite having "myvideo.fullScreenTakeOver = false;" in
    frame one of the main timeline. I tried it in frame 1 of
    "video.swf" timeline, too and it just made the movie freeze. What's
    wrong here?
    3. fscommand is not opening "syllabus.app" which is a simple
    application that in turn opens "syllabus.pdf".
    I am working on a Mac OS 10.4.10 publishing from Flash CS3
    v.9.0.3 in AS3.
    What am I doing wrong??? I really need these answers fast or
    I will probably lose this client. Thanks in advance.

    Thanks, but it needs to be a hybrid cd. If only the windows
    version works then its useless.
    I got the fullScreenTakeOver = false; to work. I also found
    out that if you put
    fscommand("fullscreen", "true") in the first frame and then
    fscommand("fullscreen", "false") in the second frame and then
    fscommand("fullscreen", "true") in the third frame, then the menu
    bar will go away like it used to by just putting it in the first
    frame.
    The fscommand("exec", "myapp.app") never worked. I searched
    every forum on the web and found only more people with the same
    problem. I ended up switching back to AS2 Flash Player 8 and
    created fullscreen video and other effects myself through AS2.
    fscommands all worked swell. No issues.
    I find Flash 9 and AS3 to be bad product "advancements" and
    am happy I used the trial version before paying out the money for a
    product with so many flaws and setbacks.

  • Need 2 options; one for fullscreen and other for window

    I have an application that needs to run fullscreen if the
    monitor's resolution is set to 1024x768, and in a standard window
    if the resolution is any larger. For the fullscreen mode, it needs
    to take up the entire 1024x768 space - so the taskbar needs to go.
    The problem I'm having is that when I enter fullscreen mode, the
    movie won't take over the entire screen, it leaves a space at the
    bottom eventhough I've hidden the taskbar.
    What I need is for it to function just as it would if I
    selected "fullscreen" from the publisher settings. Any idea? Here's
    the code I'm using now:
    if baScreenInfo("width") = 1024 then
    displayType = "fullscreen"
    _movie.displayTemplate.titlebarOptions.visible = false
    _movie.displayTemplate.resizable = false
    _movie.stage.drawRect = rect(0, 0, 1024, 768)
    _movie.stage.rect = rect(0, 0, 1024, 768)
    baHideTaskBar(true)
    else
    displayType = "window"
    _movie.displayTemplate.titlebarOptions.visible = true
    _movie.displayTemplate.resizable = true
    end if

    I was actually able to solve this problem with a free xtra
    called fullscreen.x32. Now what I do is through the publisher
    settings I set the movie as a standard window, and then only if the
    screen is set to 1024x768, I reset it to fullscreen. So the code is
    simply this (using buddyAPI to get the display indo):
    if baScreenInfo("width") = 1024 then
    fs = new(xtra "fullscreen")
    setScreenMode(fs, 1024, 768,16,0, 0)
    end if
    It displays over the taskbar just like the fullscreen setting
    does in the publish settings. Works great.

  • Im trying to use firefox in fullscreen, but when i watch a video in fullscreen, and exit the video fullscreen, firefox also exits fullscreen.

    I made a website which runs locally in a public museum. So I need to use firefox in fullscreen always, so that the customers would not have acces anywhere else but the site I created. I used HTML5, and JWPlayer for watching the videos.
    There was no problem like this in the computer I made the site, but in the exhibition computer this problem appeared. I tried to run it in Kiosk mode using R-Kiosk, but it did no good.

    Kyseessä on sen verran erikoisosaamista vaativa ongelma, että tämä on käytännössä väärä foorumi ongelmanratkaisun kysymiseen. Voi toki olla, että joku tietää, mutta en veikkaisi sitä. Sori seuraavalle luukulle ohjaamisesta, mutta tässä tapauksessa on se on paikallaan.
    Yleinen kehittäjäresurssi (joka on varmaan hyvin tuttu on) MDN https://developer.mozilla.org/ ja sen mukaisesti keskusteluryhmät (newssit) ja postituslista on oikeita osoitteita. Suosittelen siis sinne kirjoittamista.

  • LXDE (Openbox) Fullscreen and Layer Problems

    Hi,
    I run the console "Terminator" as a wallpaper and I sometimes use in fullscreen mode on occasion.    I've noticed that once Terminator is in fullscreen, it's "always on top" despite being in the bottom layer.  From fullscreen back to normal mode, it's in the bottom again.  It's not just with Terminator but all applications are behaving the same way (fullscreen ==> always on top).
    I've then binded the "F6 key" to toggle the Raise/Lower window functionality in my ~/.config/openbox/lxde-rc.xml file.  That did not do the trick either.  Is there a way to make an application to keep their layers even in fullscreen?
    Thanks in advance~

    Do you use a composition manager? Any application specific settings in rc.xml?
    Last edited by emeres (2014-05-30 17:54:40)

  • Mavericks fullscreen and vsync

    Hi,
    I recently installed Mavericks on my rMBP and my iMac and saw a bad drop of fps in many games (including Diablo 3 and TESO beta). After playing around a bit with the settings I discovered, that in fullscreen mode with enabled vsync the framerate is capped at 30fps. When I switch to windowed mode OR disable vsync, the fps are back to normal. Is this a known bug in Mavericks? Are there any known fixes for this?
    Regards,
    Dario

    fscommand still exists in AS3. try this for your AS3
    projector
    import flash.system.fscommand;
    fscommand("allowscale", false);
    fscommand('fullscreen",true);
    Edit: Thought I might post a link to the LiveDocs for
    fscommand since people on the forums keep getting confused about
    this pretty much undocumented function in AS3. I'm sure it is
    simply because the Flash team is intending to deprecate it
    completely but either way, it is still there and it's use is no
    different that it was in AS2. The only difference is that now you
    MUST import the flash.system package to use it.
    AS3
    Help - fscommand on LiveDocs

Maybe you are looking for

  • Preview and highlighting

    Just recently whenever I use Preview and annotate my documents I get this weird triangular shade on the word I highlighted instead of the usual blocked look. How do I change this back?? Here is how it looks: http://i248.photobucket.com/albums/gg175/m

  • Commit in Mapping with multiple targets

    I have a mapping that updates 4 target tables. I just noticed that within the generated mapping each update has it's own commit. Rather than having 4 commits in my mapping I want just one. This is so if I have a failure during the mapping the (i.e. t

  • Wrong heatsink for my Pavilion P6180T?

    Hello, I have a HP Pavilion P6180T that was purchased in 2009.  Recently, the fan was running very loudly, so I opened the case to clean it.  At a brief glance, I could tell that the plastic casing surrounding the heatsink and fan was broken.  I hope

  • Accessing managed-beans property from simple java class

    I have managed bean that is registered in faces-config.xml: <managed-bean> <managed-bean-name>documentReportsBean</managed-bean-name> <managed-bean-class>[myApp].beans.DocumentReportsBean</managed-bean-class> <managed-bean-scope>session</managed-bean

  • Colour correction help please!!!!!

    Hi any help please would really appreciate it, i am doing these videos where some of the camera colors dont match ,i have been trying colour correctiing and going around in circles trying to get these images to match, any suggestions(even rude ones)