Off-stage objects affecting performance

Hello,
I have a list of 50 rows (with images and buttons and stuff)
that the user has to be able to scroll through, and it has to wrap
around, top to bottom. So imagine a 1x50 spreadsheet, but you
really only see 4 rows at a time. Common sense says that you would
only build a little of it above, and a little below the stage so
that you can scroll smoothly and shuffle things as needed. For
reasons I won't go into (ok, it was easier) I built the entire 50
row "spreadsheet", and then do my scrolling, and then shuffle
things to the top and bottom of my list as needed. My question is,
do all those things that are off the stage eat up performance? They
have buttons with listeners, graphics, and references to other
objects in them. At some point if it gets too big, I know that the
mere task of moving things becomes noticeable, but this list will
never get over 100. thanks.

yes. just because you can't see them, they still must be
tracked and maintained by flash.

Similar Messages

  • How do I hide off stage objects ?

    Hello,
    I have just started an internet course on Flash. The second assignment is creating a 720 x 90 animated banner ad. When I test the movie in Flash Professional the objects that I have outside the stage are still showing.
    I want to start an object outside the stage on one side and have it go across and out the other side.
    How can I just show just what's in the stage ?
    I am using version CS5.
    Thanks

    Ok cool thanks guys.
    I think I understand whats going on. If I view the .swf file it will show everything, but if I view the same movie in .html the objects will be confined to the stage parameters I set. In this case 720 x 90.
    Is that correct ?
    I guess my next question is where is that darn html file ? Or how can I save my movie to a .html file ?

  • Off stage object's

    Hello Adobe community,
    I need a little help with a project i' m working. I' m trying to create a web site and i'm using flash catalyst because i want some specific actions on it. On flash catalyst stage, i have an image with specific dimensions, let's say 1600x1200, and a button in front of the image. Also i have an object, let's assume an image, dimensions 1600x400, outside the stage, on the right side. When i'm clicking the button, this object is moving, from right to left, and is entering in the stage replacing the first image. This is my project, and here is where my problem begins. I'm having the "classic" problem with scale, so after a litllte research i found something here.  I'm importing the fxp file to flash builder. On the <Application> tag, in the Main.mxml file, i'm removing the width and height attributes and replece them with this attribute: preinitialize="systemManager.stage.scaleMode='showAll'" . From flash builder menu, i'm choosing Project > Export Release Build to publish a version of my swf. I create an index.html page and i embeding the swf there. So,
    The file is only scaling horizontally, which means that i only see a part of my page, something like 3200x300 on the top of the screen. The rest height is cropped and the page is blank
    I can see the object that was outside the flash catalyst stage and shouldn't be visible.
    Any idea how can i fix those two things? 

    When i'm using this code:
    <title>Untitled Document</title>
    <style type="text/css">
    body {
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
    </style>
    </head>
    <body>
       <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%">
    <param name="movie" value="file:///C|/Users/user/Desktop/project scale/Main.swf" />
    <param name="quality" value="high" />
    <param name="LOOP" value="false">
    <param name="SCALE" value="exactfit">
    <embed src="file:///C|/Users/user/Desktop/project scale/Main.swf" width="100%" type="application/x-shockwave-flash" height="100%" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" loop="false" scale="exactfit" />
    </object>
    </body>
    the result is this:
    the blue arrow shows the area, that shouldn't shown, and the black arrow shows the area that should be my index page. The stage i used i flash catalyst and flash builder is the size of the image shown with the black arrow, 1600x1200. The rest are (blank area) is cropped..
    If i set dimensions on the above html code:
    body {
        width:1600px;
        height:1200px;
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
    and the result is this:

  • How far off stage can I move a tweened object

    Flash Pro CC 2014, all updates.
    I have a movie clip that is about 5500 pixels wide. I need to have it enter and exit across a 1920 x 1080 stage. As I try to move it to the left, it won't let me motion tween it far enough to get it off stage. It reaches the point where the left side of the object is at -3780 and that's the limit. I can drag it farther but when I release it the movie clip snaps right back to this distance.
    Also, I need to activate roving frames so the motion is smooth, but for some reason I don't get the option, it's grayed out in the menu. Don't know if this relates to problem #1 or if I am just doing something wrong.
    This one is a hot potato, as usual, I have someone hyperventilating to get this back to them.
    Thanks for any help!

    Except that it still won't work. That's one of the first things I tried.
    If I position the mc at x = 1980 so it's left edge is just off stage, then motion tween the span, then go to the last frame of the span, I enter -5478 into the x value in the properties panel and it turns it back to -3779 when I change focus just like when I drag it. It's like there's a limit on how far it will let me go.
    If the mc is not in a tween I can slide it left forever (thank you unlimited pasteboard), but in a tween it refuses to go past x = -3789. Is there a tween limit somewhere? It won't go more than 7740 to the right either, just snaps right back when you release it or change focus in the properties panel.

  • Does frequent garbage collection affect performance

    Hi,
    I have written code in a filter for all the servlets in the application.
    Depending on the servlet requested I set the objects to null after
    it has finished its work.
    My question is that since the filter will be executed each time a
    servlet is requested,could it result in affecting performance ?

    Styna wrote:
    I'm writing off my own experience so take my advice with a grain of salt.
    The battery is known to 'degrade' when reaching excessive temperatures. Apple recommends keeping the temperature between to 32 degrees Fahrenheit and 95 degrees Fahrenheit.
    I used to game heavily on my phone which would get hot. After a year, I noticed that I had to fully charge my phone 3 times a day in order to make it through a day with light usage. Also, I noticed that the phone would die when the battery percentage display would be at all sorts of numbers, 37%, 43%, 7%, and sometimes stay on 1% for 5 minutes while running a processor-intensive game.
    After taking my phone to the Apple store for a diagnostic, Apple confirmed issues with the battery. There's no way to know if having my phone stay hot for long periods of time damaged the battery or if I just had a defective battery.
    My recommendation is if you know you will be gaming heavily to take the case (if you have one) off your phone and to be in a cool environment to try to keep the phone from getting too hot.
    Your battery failed not because of temperature, but you used it up. The battery is spec'd for 400 full charge/discharge cycles. If you fully drain the battery every day that's about 14 months. If you drain it more than once a day that's less time. The phone has a thermal protection circuit that will shut it down if it gets hot enough to damage anything. And actually Lithium batteries do not degrade at higher temperatures. Electric cars and plugin hybrids use the same battery technology (like the Tesla, Chevy Volt, Prius Plugin, Nissan Leaf) and they run much hotter than iPhones. And last 10 years.

  • Does daisy-chaining a Belkin Mac-compatible hub affect performance?

    I've had a 7-port Belkin hub plugged into my 13" Macbook and before that a 15" Powerbook for several years and have been pretty satisfied with it. I'd like to get a new one and connect it to the original (or vice-versa). Does anyone know if doing that would affect performance of any kind? (Upload times, wireless mouse interference, etc.?) Belkin doesn't seem to have anyone who knows much--the rep I talked to didn't even know Belkin made a hub that works with Mac.
    Thanks for any information anyone has.

    That makes sense. My old hub is 2.0, so it should work with the new one I want, which is also 2.0.
    I don't know how much power I might ever be using at one time. have a wired keyboard and wireless or USB mice, and at times I probably download something into my printer buffer while at the same time backing up to an external hard drive or flash stick. But I don't think I'd ever be doing more than that, and the present 7-port hub seems to have no problem handling jobs requiring 4 ports at once.
    I really just wanted the second hub because the present one is at the back of the desk behind the dictionary (cord is too short to reach the front!), and I'm tired of trying to insert devices into the USB ports without knocking the dictionary off its stand. I figured that plugging a second 7-port hub into the first one would allow me to have a hub at the front of the desk and give me a few extra ports as a bonus. If you have a better idea, I'd be happy to hear it! Meanwhile, thanks so much for the information, and the fast response.

  • Animating A Stage Object

    I want to cause objects to move off stage after a button is
    pressed. I've looked at different as3 code examples but can't get
    them to work. My goal is to have several objects move smoothly off
    stage in the up, left, right, and down directions after button is
    pressed. Thanks

    I recommend using the Tweener classes for small motion
    tweens, it is very easy to implement and use...
    http://code.google.com/p/tweener/
    Once you know how that works, you have to put this in your AS
    code
    button_btn.addEventListener(MouseEvent.CLICK, moveItems);
    function moveItems(event:MouseEvent) :void {
    //insert code here to move objects
    }

  • Placing something off stage in flex

    Hi there, I am looking to make a state where an object or
    component starts "off stage" and advances to a state in which it
    will be "on stage". This was pretty easy to do in flash, however I
    tried putting something off stage with AS, and my flex app just
    added a scroll bar. I know i could just over ride the scroll bar to
    not show, however I am not sure if I might actually need it later.
    I am sure it must be a pretty simple thing to do - but I am just
    not sure in flex!

    Thanks for the reply! I figured thatr one out last night, but
    also had to kill the horizontal scollbar to get it to work.

  • Cool'n'Quiet affecting performance?

    Hello,
    I noted something in my K9A2 Platinum and AMD Phenom 9950.
    First of all I had it oced to 2.7 (x13.5) and Cool'n'Quiet enabled.
    Well, due to a bug in Everest 5.02 sensor driver, I can't read correctly the CPU clock because this program show even speed like 700 MHz when I'm doing heavy task. As I thought it was impossible, I ran CPU-Z and this showed the correct values (1300 MHz when idle and 2700 when doing heavy tasks).
    The issue is the following: Today I was converting an .avi video to DVD using a program that is optimized to use only two cores. The strange thing I noted is that processor was at 1300 MHz and only few times it changed to 2700 MHz. However voltage was at 1.3 all the time until conversion finished. Of course that if I disable CnQ or I choose another energy plan, speed is 2700 even when idle.
    This program (ConvertxtoDVD) used about 50% of my processor.
    Does CnQ affect performance? I thought that a conversion like that is a heavy task and it can benefit from 2700 MHz instead 1300 MHz, or CnQ is smart enough to know when an app. benefit or not from a higher speed?
    Thanks!
    I want to say than one of the better thing of MSI is its forum 

    Thanks for the suggestion.
    Based on the results I can confirm that CnQ affect performance, quite disappointing. I don't know the difference between the CnQ of Athlon 64 X2 vs. Phenom, but in Athlon the processor change speed to its maximum  immediately when I started doing heavy tasks instead of Phenom changing its speed to max only when 4 cores are being used and only some times when using less than 4 cores.
    Here're results:
    With CnQ ENABLED:
    CPU Score   3347
    CPU1 - Red Valley   1,160 FPS      CPU Tests
    CPU2 - Red Valley   1,545 FPS      CPU Tests
    With CnQ DISABLED:
    CPU Score   3622
    CPU1 - Red Valley   1,209 FPS      CPU Tests
    CPU2 - Red Valley   1,737 FPS      CPU Tests
    What do you think? Is a mobo, CPU problem or a performance hit like this is normal?
    Quote from: Aramus8 on 14-July-09, 05:55:06
    On some programs you will get a performance hit with Cool & Quiet enabled.  Run 3DMark06 with it on and then with it off and you will see the performance hit.  Most programs you will never notice.

  • Accessing stage objects from other objects

    I have drawn colored rods which I have placed in the library and have put one of each on the stage with instance names like
    blueRod_mc, etc.
    I place them around with time-line code like
    blueRod_mc.x = 300.0;
    I have now created an Actionscript class called Problem.
    I build a new object from Problem which I have called Riddle.
    But when I put blueRod_mc.x = 300.0 in a method (of Problem),
    I get the message that blueRod is not accessible.
    So I tried
    stage.blueRod_mc.x = 300.0;
    That did not work either.
    What does work? How can I modify properties of stage objects like blueRod from
    within an AC3 object like Riddle?

    public class Problem {
      private var number1:String ="";
      private var number2:String ="";
      private var rigor:Number = 1;
         // rigor: -1 is 3 steps, -2 is 4-5 steps, -3 is 6-7 steps
      private var step:Number = 1;
      private var numSteps:Number = 3;
      private var solving:Number = 0;
      private var true1Length:Number;
      private var true2Length:Number;
      private var tuple = new Array(6);
      public function Problem():void  {
       // constructor code
       var i:Number;
       var j:Number;
       for (i = 0; i < 6; i++) {
                     tuple[i] = new Array(3+5);
                     for (j=0; j < 3; j++) {
                       tuple[i][j] = new Array(8+7);
       buildIt();
       planIt();
    Just insert bolded code where you need to.

  • Convergence - AlphaImageLoader affects performance

    According to the YSlow FireFox extension, Convergence's extensive use of AlphaImageLoader is a detriment to performance.
    Grade F on Avoid AlphaImageLoader filterThere are a total of 73 filters
    * https://.../iwc_static/layout/css/main.css?...
    * https://.../iwc_static/layout/themes/default/default.css?...
    The IE-proprietary AlphaImageLoader filter attempts to fix a problem with semi-transparent true color PNG files in IE versions less than Version 7. However, this filter blocks rendering and freezes the browser while the image is being downloaded. Additionally, it increases memory consumption. The problem is further multiplied because it is applied per element, not per image.>
    Do they really affect performance? If so, what would happen if I stripped them out of the css files?
    Edited by: jessethompson on Oct 5, 2009 8:54 PM

    jessethompson wrote:
    According to the YSlow FireFox extension, Convergence's extensive use of AlphaImageLoader is a detriment to performance. The AlphaImageLoader filter is only applied when the client is using IE6 i.e. all of the AlphaImageLoader CSS rules have a class name of ".dj_ie6".
    So removing these rules is not going to improve the speed of non-IE6 browsers and will cause IE6 images to have non-transparent backgrounds.
    Regards,
    Shane.

  • Simple "next" buttons & off stage question

    Hi, just getting myself reaquainted with Flash after not using it since ActionScript 1.0 was around.
    I'm having trouble creating a simple "storybook" for my son. I'm wanting to add a "next" button in the corner of each page to jump to (and play) the next scene. I've tried with frame labels and numbers, been searching online for 2 days but nothing I've found seems to work.
    Can anyone help?
    here is the fla file: http://db.tt/IbZeiv6
    Also, the things I make are for my Android phone and tablet, is there a way I can stop the things off stage from showing?
    for example, I am making it mainly for my tablet, but if I play it on my phone, it has a slightly different aspect ratio so there's white borders at the top & bottom (project has a white background) and if something is slightly off stage it shows over the white background at the top/bottom, is there a way to stop this?
    thanks in advance

    Should be like this:
    stop();
    cover_next.addEventListener(MouseEvent.CLICK, buttonClick);
    function buttonClick(event:MouseEvent):void{
        gotoAndStop(1,"Page1");
    For off stage please use mask on the stage. Better change your framerate(FPS) to 24.

  • Off stage printing

    I have a director movie from which I wish to print. I have
    created the image I wish to print, which is made up of several
    sprites, and put a border sprite around this. What I wish to be
    able to do is to print this group of sprites from off stage. The
    user should never see them appear on screen. I have previously used
    code along the lines of:
    stageImage = (the stage).image
    spriteImage = stageImage.crop(sprite(83).rect)
    member("printimage").image = spriteImage
    to take a section of the stage and store it as a cast member
    which I can then print. However because I want my section to be
    taken from offstage I am unsure how to do it. I have tried taking
    using the sprite(83).rect to define the image but this doesn't
    work.
    Any help will be most appreciated.

    I don't think you should be any different than the rest of us
    and escape the
    hassle of assembling printable pages using Print-O-matic;)
    But Print-O-matic is the way to go hands down.
    Craig Wollman
    Lingo Specialist
    Word of Mouth Productions
    212-928-9581
    www.wordofmouthpros.com
    "thismonkey" <[email protected]> wrote in
    message
    news:er49ct$h7q$[email protected]..
    > Another issue is that the combined size of the table of
    sprites I which to
    > print is bigger than my stage so I cant simply place it
    on stage and print
    > the
    > stage either.
    >
    > The on screen feedback is displayed over 3 screens where
    as the printed
    > feedback puts all 3 pieces into one big table (hence
    being bigger than
    > stage
    > size) and this is what I want to print.
    >
    > I have used printomatic before, but I cant simply amend
    cast members to
    > the
    > document as they need to print out in the correct
    location or else the
    > feedback
    > (and ticks/crosses) will not line up/be relevant. Also a
    problem with
    > printing
    > off individual sprites, hence I need to grab a
    'screenshot' of the table
    > from
    > off stage, store it as a cast member which I can then
    print.
    >
    > Im trying to give as much info as possible as I am
    running out of ideas.
    >

  • Off-Stage Buttons

    Hey guys.
    I'm trying to write code for flash to scroll through a series
    of vertical buttons on the stage. There are off stage buttons that
    the movie needs to go to when you scroll down. Known problem of
    Flash Lite is that you can't scroll or detect any buttons that are
    off-stage. Has anyone encountered a problem like this before? I've
    searched around and got no real good results.
    My first theory to do this is more of tracking on-stage
    buttons and using it to move the movie and bring off-stage buttons,
    on stage. But it starts to make the code complacated. I was hoping
    to just to write code that track if its off-stage and then go, hey
    bring it on stage.
    Any help would be super appriciated. Thanks alot!!!

    A common approach to creating a scrolling menu is to put your
    buttons in a movie clip, acting as a container, then set the movie
    clip _y property to reposition the movie clip so that the offscreen
    buttons appear on screen and the previously on screen buttons move
    off screen.

  • What's the variable gpuAccelerate in stage object for?

    Hi!
    What's the variable gpuAccelerate in stage object for?
    It's per default false.
    I've tried to find an answer to this but I couldn't get one from tech docs.
    It also doesn't seem to change paints (looking at one of my animations in Canary's Inspector) if true.
    Thanks,
    Volker

    Hi Darrel, hi Elaine!
    @Darrel: I'm aware of the hardware (GPU) acceleration options in different browsers/systems. I'm just wondering _what_ the boolean in the script output of Edge actually does.
    @Elaine: But _when_ would it switch on GPU in the animations and _where_ (which browsers/platforms)? There's no documentation I've found so far about it and the var is included in every animation with default 'false'.
    And what are the possible pitfalls?
    After beautifying edge-1.5.0.min.js it seems that it just enables the translateZ trick for (some) Webkit based browsers.
    if (this.gpuAccelerate && f[0].style && (typeof n === "undefined" || n === "" || n === "none")) f[0].style.webkitTransform = "translateZ(0)";
    But Edge does anyways already use 3D transitions in its animations?
    Thanks,
    Volker
    Message was edited by: Volker_E

Maybe you are looking for

  • How can I move my iMovie library (incl. events etc.) between users on my iMac?

    I just transferred my iMovie material from my old iMac to my new one using the Migration Assistant.  But now I want to move the transferred material from one user on my new iMac to another user (on the same iMac).  How can I do that?  What I tried so

  • ICal Notification Change in Mountain Lion

    Since upgrading to Mountain Lion, the only option I have once a notification pops up is to "Snooze" where previously there were many choices, i.e. remind in 1 hr., 1 day, 1 week, etc. I would like to have the old style back. Is there a way to change

  • How do I delete the duplicate items in my library on the new iTunes?

    I just backed up my library on a new external hard drive and noticed that all my media is doubled up. Aside from going through each item is there a way to do this on the latest version of itunes. There use to be a way via the file and clicking on dup

  • Best option for website plus SQL Server?

    Best option for website plus SQL Server? OPTION 1: Azure website + SQL VM OPTION 2: Azure website + SQL VM within Virtual Network OPTION 3: Website VM + SQL VM both within Virtual Network Pros/cons of each?  I'm looking there SIMPLEST solution so lon

  • Got error in ALE configuration

    hello experts               I configured a ALE.when i tried for connection test its giving the below error.i checked all the information given in the ALE configuration is correct.but got the below error every time. connection to host timed out / CPI-