Resolution of the stage

A simple question. I have my stage at 1280X1024 . Since my
resolution is much higher, it displays white sections around the
stage.. How can I make the stage to fill the entire swf depending
on the computer's resolution please ?

Oh sorry, that video must be older than I thought, but it
isn't that much different than AS3.
http://blog.fryewiles.com/design/07-14-2008/proportional-image-scaling-in-full-browser-fla sh
http://saravananrk.wordpress.com/2008/02/13/actionscript-3-full-browser-background-image/

Similar Messages

  • Windows 8.1 Pro - Flash Pro: Menu's and window selection panes do not fully render, or are misaligned. Same with the stage

    This bug makes the program virtually unusable for anyone using Windows 8.1.  I have a dual screen setup : 1920 x 1200 and 1920 x 1080 on the other, AMD Radeon HD 5700 Series drivers (Latest versions), running on a Windows 8.1 Pro OS.  When you attempt to view the various menu option panes, the windows themselves are not rendering fully, or you are hidden.  Also the stage is shifted as well to the lower right, making the program almost unusable. I have tested this on a Mac, as well as on a windows 7 machine and this does not occur there.  So it appears to be only within a Windows 8.1 Pro machine.   I have attached screen shots of what I am seeing.  Notice in the first image, we are looking at the new document pane. You cannot see the options fully and they are shifted to the right out of view.  The next image shows both the stage, shifted right, as well as the Document Pane.  The options are not fully visible, and clipped off.  The window itself is not re-sizable.  I have cleared the appdata, and re-installed the program. Same result.  I attempted to troubleshoot this via chat, however your network kept losing connection. Please let me know if anyone is suffering from this, and any resolution. Thanks!

    Thank you sir!  The scaling was the issue, and the solution.  By clicking on settings->Screen Resolution-> Text and Font link ->  It was defaulted to 125%. For anyone else who has this issue, set it to 100% and it will resolve these issues.
    Thanks again! Back to development

  • How to resize the stage of .fla project

    I would like to make a .fla project in high resolution (to
    meet hires demand) but would also re-size the stage to lower
    resolution to be able to publish at lower file size. Is there a way
    to do it?
    Changing the dimensions only changes the stage size but it
    does not resize it.
    Any help?

    the built in Stage class has two handy properties...
    Stage.width and Stage.height

  • Does live streaming video disable event of a button on the stage?

    When a video is streamed from flash Media Server then the
    event assigned to any button on the stage doesn't work at runtime,
    Code example:
    var myNC:NetConnection = new NetConnection();
    myNC.connect("rtmp://server.domain.com/application");
    var myNS:NetStream = new NetStream(myNC);
    myNS.play("myNStream");
    But when the video is streamed without connecting rtmp URL
    and just requesting normal URL, the event of button works.
    Code example:
    var myNC:NetConnection = new NetConnection();
    myNC.connect(null);
    var myNS:NetStream = new NetStream(myNC);
    myNS.play("stream.flv");
    The video streaming is done using NetConnection and NetStream
    class in ActionScript 3.0.
    Does anyone know What's the matter?

    There is no straightforward way in LabVIEW to do on-the-fly H.264 compression.  If you want to send images over TCP, you can do so by converting the image to an array, flattening the array to a string, sending it over a TCP or UDP connection, then on the receiving end you unflatten from string to array and convert the array back to an image.  You can reduce the resolution of the image using the IMAQ Resample VI before you convert the image to an array.  Look up the UDP and TCP examples in the NI Example Finder to see how to create the sender and receiever VIs.
    www.movimed.com - Custom Imaging Solutions

  • Keeping the stage centered (or not)?

    I know this is a common question, I’ve even answered it
    for a few people on this forum myself, but this project isn’t
    playing by the rules and I’m pulling my hair out.
    I’ve got a project that is a collection of 4 movies, a
    stub, a main menu, and two content movies, all with the same stage
    size. The projector for this project is full screen and should be
    centered. I’ve tried centering with the projector publish
    settings, with the movie display template settings, and using the
    following scripts:
    On prepareMovie
    _movie.stageCentered = TRUE
    End
    On stopMovie
    _movie.stage.rect = _movie.stage.rect
    End
    The projector starts centered but the various movies move
    around depending on how the stage was defined during authoring.
    I’ve seen fixes that involve fixing the stage.rect every time
    a movie is loaded, I could do that but I’m curious why
    Director has several ways to center the stage, none of which seem
    to work. It might help to know I’m on a two monitor setup
    with different resolutions on each, is this a bug with multiple
    monitors?
    I’ve also noticed it can be a challenge to get linked
    movies to open at the projector’s current location when
    running in windowed mode, however, the two scripts above usually
    work.

    Greg,
    You are right about the little man, but it doesn't "Scroll in Play" if you simply select the man (which is actually called "Catch") the playhead will go from left to right across the visible section of the arrange window and then the arrange window will redraw to show the following sections of the project.
    Both "Catch" (the little man) and "Scroll in Play" (selected via the "View" menu in the arrange window) have to be on for the playhead to stay centered in the arrange window and have the project scroll by as the project is played.

  • Displaying the value of an variable on the stage

    I have managed to display the values contained in string variables on stage, and I am happy with that, however when I wish to display the value of an int and convert it to a string as one is supposed to do the output to the stage just calls it [class int] and does not give its value. any suggestions?
    My rogram contains a stage at frame 1 which displays a word. The user must input a word. Frame 30 then displays the word which was displayed and the word input by the user. That all works fine. But the value of the variable NumberRight, which has been assigned to that variable will only display as [class int] without showing its value. (even though I have converet it to a string using the .to string function you see below).
    My code is as follows;
    trace( "The number correct was" + NumberRight); //This works fine in the output window and shows the value of the variable as NumberRight [class int]1 (showing the value to be 1)
    outputText.appendText("in/"+textAtIN); //this works fine displaying the word presented and word input by user as in/in
    outputText.appendText( NumberRight.toString(     )); //here lies the problem as it just displays [class int] and nothing else.
    Yes I have managed to overcome that problem it was some code on the first frame, please excuse, however, now, is there any way to remove the [class int] bit from the displays, I wish to have the results as a clear copy of the results so that they can be printed out, without [class int] all over the place?

    Hi Ned thanks for that. Yes I had accidently created blank spaces in the String() argument. (wanted to check if there was a subsequent difference in display and forgot to return them to normal ...Sorted )
    Your next suggestion has eliminated the [class int] but I get a value now of 0.
    My code on the first frame for a correct response for example is;
    function keyPressedIN(event:KeyboardEvent):void
              if (event.keyCode == 13)/*Normally,this will move straight on to the next frame-
              recording a correct response and all that that implies in terms of scores etc. But now I have re directed it to Frame 30 to check are the variables working properly*/
                        //insert code for correct responses vowels etc.
                        VowelI = VowelI+1;
                        NumberRight = NumberRight +1;
                        stage.focus = stage;
                        //There is no need to display the text box as this is a correct response.
                        pupilsResponseIN.visible = false;
                        mainText.visible = false;
                        gotoAndPlay(30);//at the moment this takes me to the display frame to check if all is ok
    On the first frame when the user say hits the Return key my code assigns the value of +1 to the variable; eg
    NumberRight=NumberRight+1;
    and the value of +1 to the value of VowelI
    VowelI=VowelI+1
    At Frame 30 the code is as follows;
    stop();
    trace( "The number correct was"+ NumberRight);
    outputText.appendText("in/"+textAtIN);
    outputText.appendText( "\n");
    outputText.appendText("Vowels Correct ="+(int(VowelI).toString()));
    outputText.appendText( "\n");
    outputText.appendText("TotalCorrect="+(int(NumberRight).toString()));
    //outputText.appendText( VowelI.toString());
    Now what I am getting  is
    in/in
    Vowels Correct = O
    Total Correct = O
    Yet the trace (output box) records the Number correct as [class int]1 
    many years ago I wrote this same program in Authorware using similar code. I am trying to re write it in FlashCS5 using ActionScript 3 and It take days to solve small problems. I notice also that If for example the user of the program makes an error and I record the error as NumberRight =NumberRight -1 the program records it as Total Correct = NaN .
    I gave up on this a few months back but I am trying again. I think there must be a better way to do this. Variables do not seem to add up or subtract for me at present. no doubt its me thats got it wrong.

  • How do you remove a symbol from the stage in Edge animate?

    Hello-
    I'm wondering how to remove a symbol from the stage in Edge Animate so you can jump to another place in the timeline.  In Flash, the symbol was only on the stage for the amount of frames you indicated.  Not sure how it works here.
    For example, I have 2 buttons on my first screen with some text that animates in.  I want the button click to take the user to another section in the timeline or (basically another scene, like in Flash)  that contains different content.  If I change the visibility the buttons are still there and will ( I assume) create problems when other elements are placed on top. 
    Or is the only way with code.  If that is the case what would that code be?
    I would appreciate any help.
    Thank you!

    What I usually do, is, once you have everything set up in the scene you are done with. highlight it all
    right click
    group elements in DIV
    Now all those items act as 1 group and then you give it a properties name, much like a symbol.
    THEN you can refer to that scene name and move it anywhere or hide it and slide in another scene that has the content for that next scene.
    basically you take all the elements that make up 1 scene, gruop it up, name it, and then in the code for the button say something like:
    on click:
    scenename.play(framenumber);
    that will then animate that scene according to any animation you gave it, such as moving to the left, off stage. while moving scene 2 that you create into the stage.
    or just have something like this hide it
    sym.$("scenename").hide();
    sym.$("scene2name").show();
    but if you do that, make sure in your CompositionReady code you hide all scenes EXCEPT the 1st one, so the user doesnt see them all instanatly anyway.

  • I just bought a Samsung S22B310B computer monitor and hooked up to my Mac Mini. I have my mac set to the 1920X1080 resolution but the entire screen (21.5") is not filled. It looks like non HD channels do on an HD TV. Used regular hook up not DVI.

    Just bought Samsung S22B310B computer monitor and hooked it up to my mac mini. I have my mac set to the 1920X1080 resolution but the entire screen (21.5") is not filled. How do fill the screen? it fills the screen on other resolution settings. I have it hooked up regularly and not to the DVI hook up. I'm not a computer savvy person please help!

    That monitor supports both (digital) DVI and (analog) VGA connections, so you should not need a converter or use a different adapter.
    You should use the Apple Supplied HDMI to DVI Adapter and a (digital) DVI cable to the monitor.

  • Inserting dynamic calculation in javascript to the stage

    I'm working with a partner on calculating the area of a rectangle, as a user changes its size. We're using javascript and so far have:
    function calculateArea() {
    var width = +document.getElementById("width").value;
    var height =+document.getElementById("height").value;
    var area = width * height;
    document.getElementById("area").value = area;
    Width <input type="Text" name="width" id="width" size="4"> 
    Height <input type="Text" id="height" name="height" size="4" onkeyup=""> <br><br>
    Area <input type="Text" name="area" id="area" size="4"> <br><br>
    <input type="button" name="calculate" id="area" size="4" onclick="calculateArea()" value="calculate">
    The main problem is that we're having difficulty getting the result of the calculation to show up in a textbox on the stage. 
    The subproblem is that because we can't see the result, we don't know whether the code is calculating correctly!
    Any help would be appreciated!

    You can use the command console.log() to post the info to the console, and see that in your browser's console.  If you want to have it show up in your textbox, you can refer to it like this:
    Assuming the name of the element is "myTextBox":
    sym.$("myTextBox").html(area.toString()); // use toString() because area is a numeric value
    Hope that helps!
    -Elaine

  • R12.1.1 staging complete! How to check whether the stage is Good

    Hi Gurusl,
    I have completed staging R12.1.1 for Hp unix B.11.31. I want to know how to check whether the stage is good for installation or whether it is corrupted. Is there any metalink note or script from where we can check it. Ur help will be highly appreciated. Thanks in advance
    regards,

    Hi,
    Please refer to (Note: 802195.1 - MD5 Checksums for R12.1.1 Rapid Install Media).
    Regards,
    Hussein

  • How do I set the stage quality in an AIR app?

    In this article you can set the stage quality to 16X16LINEAR. I'm not able to do this in my AIR app:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      width="600" height="625"
      preinitialize="preinitializeHandler(event)"
      >
      <fx:Script>
      <![CDATA[
      import mx.core.FlexGlobals;
      import mx.events.FlexEvent;
      import mx.managers.SystemManager;
      protected function preinitializeHandler(event:FlexEvent):void {
      systemManager.topLevelSystemManager.stage.quality = StageQuality.HIGH_16X16_LINEAR;
      trace("quality=" + systemManager.topLevelSystemManager.stage.quality); // HIGH
      ]]>
      </fx:Script>
    </s:WindowedApplication>
    Flash Player 11.2 graphical gem | kaourantin.net

    From Adobe docs:
    "In the desktop profile of Adobe AIR, quality can be set to StageQuality.BEST or StageQuality.HIGH (and the default value is StageQuality.HIGH). Attempting to set it to another value has no effect (and the property remains unchanged). In the moble profile of AIR, all four quality settings are available. The default value on mobile devices is StageQuality.MEDIUM."
    StageQuality - Adobe ActionScript® 3 (AS3 ) API Reference

  • Reference to the Stage

    Hi!
    I have this situation:
    Document class:
    private var controller:MyController = new MyController()
    addChild(controller)
    in MyController Class:
    later in the code...
    stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveListener);
    MyController class extend Controller that extends Sprite
    When mouse move e get this error
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    The problem is the stage reference.
    But why?
    thanks a lot!

    It is most likely because the code executes before the object is fully setlled into its home.  What you probably need to do is add an event listener for the event Event.ADDED_TO_STAGE in your MyController class and use that to trigger any code that involves targeting the stage.

  • Reference to the stage not working there?

    In my document class, I am instantiating a class like this:
    cues = new CuePoints();
    cues.addEventListener(CuePoints.CUE_POINTS_CLASS_ADDED, setCuePoints);
    addChild(cues);
    In the constructor method of cues, I am adding the following event listener:
    public function CuePoints():void
    addEventListener(Event.ADDED_TO_STAGE, classAdded);
    classAdded dispatches an event that gets listened to by the document class, which then calls a function in cues, like this:
    private function setCuePoints(e:Event):void
         cues.setCues(videoPlaylist.getCues(0));
    If I trace stage in setCues, I get the following:
    [object Stage]
    If I try to reference a MC that sits on the stage called videoPlayer_main like so:
    stage.videoPlayer_main
    I get the following error:
    1119: Access of possibly undefined property videoPlayer_main through a reference with static type flash.display:Stage.

    I'm still new to Flash but since no one has responded I'll take a stab at this:
    I didn't think a child of the stage could be referenced like that (stage.childname)... might you use something like getChildByName() to get the movieclip that is on the stage?

  • Is it possible to export of the stage of a Flex application in vector format?

    Is it possible to export of the stage of a Flex application in vector format?
    Right now our only option is to render our graphs to a (large, off-screen) bitmap and export that bitmap, which is a real shame because every
    component in Wondergraphs is 100% vector based.  Anyone at Adobe know more about this?

    Hi.
    Try start->search for pen and touch--> then uncheck "Use your finger as an input device" in the Touch tab.

  • Creating a boundry in the stage...

    I'm new here and I'm taking a class on Director.
    Unfortunately, my teacher does not know how to do much himself
    which is leaving me to come here and seek advice. Please forgive me
    in advance for any stupid questions and the like since I have not
    learned much.
    I am creating a video game similar to
    Arakanoid but
    with a small amount of moving objects instead of stationary
    objects. I am not trying to make an exact recreation but at least
    something that is playable and fun that can be made in Di.
    I am just taking it one step at a time so my question is, am
    I able to create a border around
    this
    portion of my picture. The black border is also part of the same
    PNG. Is it possible to create a border in the code so nothing
    passes that section or does my picture have to be separate from the
    black border?
    I hope this question makes enough sense. Thank you for any
    help. ^_^

    Yes, you can set a constraint for any sprite on the stage.
    You might benefit a great deal from reading "Advanced Lingo for
    Games" by Gary Rosenzweig. Don't be afraid of the Advanced part.
    It's a very good step by step book on building games with Director.
    It will explain a lot of the basics that you'll need to
    know.

Maybe you are looking for