Load time/background loading

I wish there was a way to customize the way a published catalyst site loads. For instance if you were building a website you could set it to load the home page first and then start loading other pages in a specified order in the background. This way a user doesn't have to wait for the entire site to load before they are able to view anything.

Hi Michael,
There is a lot of information available about optimizing the startup time of your application. Unfortunately, most of it is written for programmers, since traditionally they have been the ones responsible for deployment and performance.
Here is Adobe's documentation for Flex 3. Most of it should still be relevant:
http://livedocs.adobe.com/flex/3/html/help.html?content=layoutperformance_02.html
What I'm about to explain is a bit subtle, as we consider this one of the more advanced parts of FC:
Flex actually DOES defer loading the other pages until you need them, but this is sensitive to the way that you've set up your project. There are some steps you can take to optimize load time in FC.
Basically, you want to ensure that objects only exist in the pages (aka state) in which they are used. FC's UI doesn't draw a strong distinction between an object EXISTING in a state and an object BEING VISIBLE in a state, but they are two different things. If an object does not exist in the current state, it will be grayed out in the layers panel and its eyeball will be off. If it is merely hidden, it will be black and it's eyeball will be off or grayed out. Confusing, I know. Sorry =).
To remove an object from a state, select it and press the delete key on your keyboard. You should see it become gray in the layers panel.
You should do this for all the objects that don't exist in the first state. However, beware: this will effect your timelines. In particular, if you have an object hidden in Page1 at a certain position, and visible in Page2 at a different position, the timelines panel will create a Fade In AND a Move effect for the Page1 > Page2 transition. However, if the object does not exist in Page1, it also doesn't have a position in Page1, and therefore you will not see a move effect.
If you minimize the number of objects in Page1, you should see a noticeable improvement in startup performance. Good luck!
-Adam

Similar Messages

  • Dbms_job - prevent automatic re-run of a one-time background job.

    We have a job which dynamically spawns 5 background processes, each take roughly 2 hours to run (2 hours total, 10 hours if ran synchronous).
    sys.dbms_job.submit(job => vJob2,
    what => 'myProc;' );
    COMMIT;
    Sometimes in development there is such a huge load that some of the 5 background processes will receive a snapshot too old error. DBMS_JOB automatically re-starts the same job (vJob2) 16 times, but I don't want it to. I try to manually set the job to "broken" but the job number can no longer be seen (even though it is in the job queue) I get the error:
    ORA-23421 Job number X is not a job in the job queue
    First question, is there an init param that I can lower the value "16" to some lower number?
    Second question, once I'm caught in this situation where I know the current job running is going to fail, how do I prevent it from automatically restarting yet again?
    What I have tried:
    Alter the job queue to 0, kill the sessions (whew! Nothing is running now, good!).
    then try to set broken to "TRUE", but I get the annoying ORA-23421 because, well I don't know why. So when I put the job queue back to 4, off they start again.
    Tried dropping the jobs, get same ORA-23421 message even though I can select those job numbers in a query and I can see them in my IDE interface.
    Also, I am running as the user who submitted the jobs, so there is no permission issue here (e.g. submitted as user A, trying to set to broken or drop the job as person B).
    Our Oracle RDBMS is 9.2.0.6 AIX.
    Message was edited by:
    johnsok

    I found this on asktom, which will prevent a DBMS_JOB proc/func/package from automatically re-starting. The basic premise is that whatever you are executing in the "what" command must not be led to think an error occurred even if it did.
    Luckily in the following example, we already handled exceptions in the "myProc" code to capture errors in a log table, so this approach will work for us:
    sys.dbms_job.submit(job => vJob2,
    what => 'begin myProc; exception when others then null; end;' );
    COMMIT;
    I would still love to be able control the arbitrary number "16" though. Oh well.
    --Kate                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Long Delay Release Background Job

    Dear Expert
    We now use BI Netweaver 2004
    many times background jobs have release status in long time,
    so the jobs can not be active
    if I change priority to A, the jobs can be active
    Why I must change priority the job for active ?
    How to solve this problem ?
    really appreciate your help
    Regards
    Jeiming

    1) See it in SM50 whether how many BGD processes are available (Status: Waiting) at the time of 'Release' job is waiting.
    2) Suppose if you find more processes are in waiting status then check with your basis team to understand how many are available for priority A and remaining.
    3) If you don't find many BGD processes then your job is waiting for availability of BGD process.
    Thanks
    Viswa

  • Export and import audio at the same time

    im trying to export audio from my macbook pro to a mixer then import it back in to webstream it

    i also desperately need to record and play audio at the same time.. i have a term project, i am develeoping a karaoke player in j2me and it is supposed to capture the voice at the same time background song is played.. and it is also supposed to grade the singer according to the pitch of voice.. please help me about recording and playing audio at the same time...

  • Recording and playing Audio at the same time

    Hi,
    Having problem with a MMAPI imp.
    The simplest way of doing it is to start one thread playing a audio file of any kind.. As it is playing start a other thread that start a audio recording.
    As soon as the audio recording is allowed to record (Security promt) the audio playback stops. And the playerListstner sends a END_OF_MEDIA event.
    So my question is: Is there a way of doing playback and recording at the same time or is this a limit on the phone or the MMAPI?
    This has been tested on Nokia N90 and SE W550i with same reults
    Cheers
    Kenth

    i also desperately need to record and play audio at the same time.. i have a term project, i am develeoping a karaoke player in j2me and it is supposed to capture the voice at the same time background song is played.. and it is also supposed to grade the singer according to the pitch of voice.. please help me about recording and playing audio at the same time...

  • Various applications are crashing on my iPad, including Facebook, Safari, and TwoDots, along with others. I have tried all of the solutions I found except doing a factory reset and downloading the backed up iCloud version of the iPad. What do I do?

    When I try to open or access some features of these apps, I get the
    loading sign, then the screen turns black, and it takes me to my Home screen. Sometimes this also occurs when opening links in Facebook and Safari, and some of my Apps are completely useless as a result of this. I have rebooted thrice, re-downloaded the apps, and tried clearing them from the queue, nothing works. Also, I have noticed that the background of the home screen is oriented incorrectly at times, (background is portrait whilst the rest of the screen is landscape) and I'm really at a loss. I assume it's a glitch with iOS 7.1.1... The iPad is a 4th generation and has shown no problems until recently, around when I updated. I'm not jail broken or anything, but my Wal-Mart warranty has expired. What should I do?

    IMO, you answered your own question with your lead in about backing up, erasing the device and restoring from the backup. That's what I would try next.
    If that doesn't work, I would backup with iTunes, and restore the iOS again using iTunes. You can't restore the iOS by simply erasing the device. You have to use iTunes in order to reinstall the iOS.
    iCloud: Restore your iOS device from iCloud - Apple Support
    Use iTunes to restore your iOS device to factory settings

  • Scenario 3 - Different approaches to computing aggregates

    In this training you learn two approaches to computing aggregates. In one case, you change the filtering dimension on the Query and then add data of the filtering dimension. In another case, you keep the filtering dimension the same as the targeting dimension and then you add data linked to the filtering (targeting) dimension. Both of these approaches work when computing aggregates. How will your results differ based on the approach that you take?

    Currency conversion can be done at two stages.
    1. Data Modelling stage
    2. Reporting stage
    Data Modelling Stage:
    *Adv: *
    Time taken to have complete data available for reporting is only loading time (background job), so query reporting is very fast, as no calculations at reporting level for currency conversion
    Disadv:
    If you want to convert to one particular target currency, this approach is preferable but if you want to report at different currencies, you cant convert to all those currencies at modelling side as it leads to huge data in the cubes.
    And even this approach is not flexible also, if a new target currency comes to picture, you need to modify the code, load again
    Problem with exchange rates also comes into picture here, as at the time of loading you might be considering one exchange rate, at reporting side, if you want to look at data with different exchange rate, its not possible.
    Reporting Stage:
    Adv:
    Can report on any target currency and at any exchange rate by defining calculations at query designer level. This process is flexible enough.
    Disadv:
    Many calculations at query level might lead to performace issues at runtime.

  • Ios7 crashing on my ipad 2

    down loaded IOS 7 last night.  Big mistake.  My ipad 2 is now crashing and rebooting every 3 minutes.  Any fix or do I need to go back to IOS 6?

    For me, when I did a restore with iTunes, I choose not to take a backup or restore any previous backup. It just reinstalled iOS 7 (restore to factory). I had to try several times before it worked, but eventually it did.
    But after it was restored to factory defaults, it still had problems which were fixed by choosing "erase all content and settings" TWICE.
    After I had restored to factory default with iTunes, I made the mistake of doing the 1st time setup of the iPad by restoring a backup from iCloud. Big mistake.
    The iCloud restore worked but all kinds of bad stuff happened. I had about 12 apps that claimed to be "waiting" to download/update but that were already updated. Any attempt to delete them either failed (icon did not disappear) or the icon just came back second later (this is with auto-updates turned off in IOS).
    The iPad would sometimes appear to "lock up" for seconds at a time (background tasks maybe?).
    Eventually, I gave up and did an "erase all content and settings", and used the 1st time setup to choose "setup as a new iPad". Then things worked better. A few apps (large ones) will still not install. That may be more to do with Apple servers than with my iPad. I will wait and see.
    So... my advice.... erase it, erase it, restore to factory defaults, restore to factory defaults, erase it, erase it, set it up as new... and move on.
    Another option if you really needed to get data back would be to erase, erase, restore, downgrade to iOS 6, and then restore from backup. That might work.

  • PANIC! - Mac Pro 2008 RAID Card Vanished!

    Hi all
    Right I seem to have a major issue so hoping someone can help.
    This morning I was using my MP there was a click the screen went blank and then the MP tried to reboot. The white light came on but the screens did not. I turn off the unit and all connected devices at the mains, waited a few mins and tried to re boot. The screen when blue but nothing loaded. I then got my old SL disk and booted from that. It booted and looking at disk utility there are no drives. Even worse I booted RAID utility and it tells me there is no RAID card!
    Now in essence I have got no further due to having to leave for work but I thought I'd ask for advice / ideas before I got back to the machine tonight.
    I will obviously try reseating the unit (with and without drives) but does it sound like the card is knackered!
    If this turns out to be the case is there a way I will be able to (some how) access data off the three drives that were in a RAID 5 config. or is the data lost?
    I do have a spare new battery for the card so would it be worth trying this as well?
    Any pointers you could give would be appreciated.
    Actually while were on the subject. If the card is dead then what card if any would you recommend to replace it with. (Not that I can currently afford to do this!). A actual Apple 2008 RAID card will be like Rocking Horse S**t to get hold of. It would need to be bootable and preferably do internal and external (but just internal would be fine)
    Thanks
    Steve

    Ok this has got a bit strange
    Once the init task had ran everything went green. So I then ran the Verify RAID set. again after a few days to verifying everything when green again. At this point the machine has not been powered down since 02/05/2012 @ 16.35
    Sunday, 6 May 2012 02:06:34 British Summer Time
    Background task completed: Task=RedundancyScrub,Scope=DRVGRP,Group=RS1
    informational
    Thursday, 3 May 2012 18:57:43 British Summer Time
    Background task started: Task=RedundancyScrub,Scope=DRVGRP,Group=RS1
    informational
    Thursday, 3 May 2012 18:57:44 British Summer Time
    Redundancy verification started on RAID set “RS1”
    informational
    Thursday, 3 May 2012 05:13:54 British Summer Time
    Background task completed: Task=Init,Scope=DRVGRP,Group=RS1
    informational
    Wednesday, 2 May 2012 16:35:29 British Summer Time
    Background task started: Task=Init,Scope=DRVGRP,Group=RS1
    informational
    Wednesday, 2 May 2012 07:18:37 British Summer Time
    Controller detected disorderly shutdown without battery backup
    critical
    So I shut the machine down. All ok.
    Now I have booted the mac up and I get the following:
    Sunday, 6 May 2012 13:43:33 British Summer Time
    Background task started: Task=Init,Scope=DRVGRP,Group=RS1
    informational
    Thursday, 3 May 2012 16:15:12 British Summer Time
    Controller detected disorderly shutdown without battery backup
    critical
    Sunday, 6 May 2012 02:06:34 British Summer Time
    Background task completed: Task=RedundancyScrub,Scope=DRVGRP,Group=RS1
    informational
    Thursday, 3 May 2012 18:57:43 British Summer Time
    Background task started: Task=RedundancyScrub,Scope=DRVGRP,Group=RS1
    informational
    Thursday, 3 May 2012 18:57:44 British Summer Time
    Redundancy verification started on RAID set “RS1”
    informational
    Thursday, 3 May 2012 05:13:54 British Summer Time
    Background task completed: Task=Init,Scope=DRVGRP,Group=RS1
    informational
    Wednesday, 2 May 2012 16:35:29 British Summer Time
    Background task started: Task=Init,Scope=DRVGRP,Group=RS1
    informational
    Wednesday, 2 May 2012 07:18:37 British Summer Time
    Controller detected disorderly shutdown without battery backup
    critical
    As you can see it has added a 3 May - Critical after the 6th when everything was ok and it started a init run again!
    The battery states it's charge
    Any suggestions?
    Do you think it will make a difference if I get a new battery for the RAID card? as I suppose it is 4 years old!
    Cheers Steve

  • SAP System run slowly

    Dear all,
    Our DB Instance always run very slowly and update process
    responding time is very long during month end.
    I think this maybe due to it runs the database and application.
    So I want to delete the DB Instance from Logon Group, and then users
    will just access other else three Dialog Instances, is it Ok or what
    impact will have ?
    How to check PI system connected to SAP ECC Logon Group's IP , but not only
    connected to the DB Instance ?
    Users always need run many Background Jobs at the day,but I heard other
    company almost only allow users run Background Jobs at the night.
    Generally, how many background jobs running on one Instance is normal?
    Do we have any good ways to control or limit users' background job
    setting at the day ?
    The dialog and update process numbers of DB Instance are respectively 80 and 6(Update & Update2) , other Dialog Instance is 50:4(Batch:Update)
    How is the general ratio between dialog and update process numbers ?
    what's the difference between update and update2 process ?
    Thanks,
    Michael

    Hi Michael,
    Your company basis team searching why SAP system run slowly.
    But don't have your company basis team check your system transactions.
    ST01 - Operating system monitor
    ST02 - Tune Summary
    ST04 - SQL Server performance analysis
    SM21 - System Log
    SM50 - Process Overview
    SM13 - Update Requests.
    SM12 - Lock Entries
    Maybe long time background working process see u overview tcode SM50 and SM12 kill procees after system speed normaly.
    Regards.
    Cem ATES

  • 2009 Macbook Pro 13" Yosemite Display Port Freeze

    I have a
    2009 Macbook Pro 13"
    2.26 Core Duo
    8gb Ram
    Nvidia Geforce 9400M 256mb
    Yosemite 10.10.1
    Dell 24" Monitor run through apple display port to DVI Adapter
    Sony 32" HD TV run through aftermarket display port to HDMI cable
    I've been running Yosemite since it was released without any issues.  I was calibrating my monitor using spyder3 pro.  When the calibration finished I was asked to save the ICC profile when I got an error.  The file wasn't able to save properly. I did not write down the error code and at this point i'm not able to recreate it. 
    I restarted the computer and connected the Dell monitor.  The colors that showed were all cartoon yellow and blue with slight outlines of windows but not legible in all areas.  More troubling is the fact that the computer itself would start the spinning beach ball as soon as the external monitor was connected.  Mouse still moves but nothing is clickable. 
    I did a hard reset of the computer without the monitor connected.  Everything worked fine.  I updated the Spyder3 software and calibrated the internal monitor with no issues.  I physically deleted the ICC profiles for the Dell monitor.  Still the same issue after restart.
    I've experimented with the issue a bit more.  If I connect the external dell monitor through the DVI Converter I get the same issues stated above.  When I disconnect it, the computer hangs for a minute but resets the internal display.  I still have the beach ball at this point.  If I hover over open programs and right click I can force close them.  Once all programs open have been force closed and the finder has been relaunched everything works ok again but the bar at the top of the screen is all grayed out unless I restart the computer.  Not the menus just the time, background programs, battery life, sound.  search does work. 
    I've Attached and calibrated my HD TV through the same display port.  It seems to hang for a minute but then converts sizes.  It did show the the yellow and blue screen for a few seconds once but then corrected itself to display properly. 
    I've heard similar but not exactly the same symptoms related to Yosemite upgrade.
    I'm having trouble eliminating variables here. 
    Is anyone else experiencing issues like this?
    Can anyone shed some light on what is going on here?
    Cheers,
    Chris

    What appears to be happening is the conputer is trying to sync with the display... over and over. Eventually it MAY succeed, more often than not a power off / on of the display and a reboot of the system resolves the issue. There are no drivers from Samsung to support OS-X. Apparently the change from Snow Leopard to Lion  caused the problem, and it persists with Mountain Lion.

  • How can I export artboard color in SVG?

    Hi Expert,
    My question is if I apply any background color in artboard then I'm not able to convert this in SVG format even If I close and reopen same file then background color makes white.
    So Is there any way I can convert illustrator file in SVG ( with applying background color by artboard) ?
    I have to apply every time background color in artboard in same file.
    Thanks,
    Rakesh

    Oh, BTW, it technically is not a white background either. It is a transparent background. But the grid is hidden to make it easier to design. For new users this can be deceiving since almost any other app is a white background unless you see the grid like in photoshop. In Illustrator, to fill you are required to have an object.

  • Ipod Nano USB driver fails continuosly

    Initial problem: Device not found; located error in USB driver, uninstalled driver, rebooted sytem, found new driver - installed properly able to sync. (No hidden drivers listed in que) unconnect/reconnect ipod and USB driver error returns.(Each time)
    Background services running are: Yahoo ISM, winamp, InCD, HP monitor, ATT self support, Logitech quick cam, McAfee, Index search.
    Any known reasons why USB driver would continue to fail from dormant state? (unconnected and plugging in)

    Make sure you have no other USB drives connected to your computer when connecting your iPod. I have a 4th gen Nano which fails to connect up when I connect it to my other Vista-based PC only if my USB hard disk is connected up.
    I need to disconnect my external USB hard drive in Vista to get it to "see" the iPod. Also, might be handy to disconnect other USB devices like printers and your Logitech camera (which I have also connected, but that doesn't have any problem).

  • Why is the Text message BLACK in iOS5? Who's idea was that?

    How do change the text message back to what it was before, the nice, bright, green color, instead of this dark, black color?  Who's idea was it to make so dark?

    It's just the design choice they made.  It matches the other parts of the OS - like the time background on the lock page, the pop-up style notifications, the folder interface, etc.
    I only mentioned that you could turn it off if the color bothered you that much.

  • Two movies on page & frames per second?

    I have two flash movies.  One has an embedded video.  I sped up that movie to 36 fps to make it run quicker.  It plays fine.
    I downloaded a FLA that is a flame effect.  It has a 30 fps rate.
    When I incorporated the flame effect into the movie with the embedded video, it made that movie play at 12 fps.  Must be something in the AS?
    So I decided to make two separate movies and include both on the page.
    But when I do that, the same thing happens.  The 36 fps movie plays at 12 fps.
    What am I missing?

    here's the AS for the flame effect
    see anything that would slow playback or default it to 12 fps?
    var timer = 0;
    backGround.onEnterFrame = function() {
        timer = 0;
        while (timer<3) {
            this.fire[timer].x = this.fire[timer].x+this.fire2[timer].x;
            this.fire[timer].y = this.fire[timer].y+this.fire2[timer].y;
            timer++;
        flames.perlinNoise(30,50,3,randomFactor,false,false,1,true,this.fire);
        var perlinFilter = new flash.filters.DisplacementMapFilter(flames, new flash.geom.Point(0, 0), 2, 1, 10, 200, "clamp");
        this.filters = [perlinFilter];
    backGround.fire = [];
    backGround.fire2 = [];
    // current flame width = 500, curent height = 290.
    var flames = new flash.display.BitmapData(960, 290, false, 12320884);
    while (timer<3) {
        backGround.fire2[timer] = {x:Math.random()*2-1, y:Math.random()*4+2};
        backGround.fire[timer] = {x:0, y:0};
        timer++;
    backGround.fire2[0].x = backGround.fire2[0].x/12;
    backGround.fire2[0].y = Math.random()*2+5;
    backGround.randomFactor = Math.floor(Math.random()*10);

Maybe you are looking for

  • How can I make a tabbed pane transparent ?

    I have a tabbed pane placed on a JPanel with an image background. I added a tabbed pane with tabbedPane.setOpaque (false), however I still can't see the image behind the components that were added as tabs in the tabbedpane. Any help will be greatly a

  • PO without Receipts

    Help u2013 The workflow item keeps returning to my Client workflow. It is a purchase order that does not require a goods receipt. The PO quantity is 150 pieces and the Purchase Order History tab indicate that IR quantity is for 92 Pieces. This is the

  • Help with uploading large video to ipad2

    Hi guys, I'm using the ipad 2 with camera connection kit to import videos from a Mobius camera which is working fine for videos less than a minute long but when I try to import anything larger (2 minute) it won't work? There is approx 6gig space on t

  • Start as Service - process name confilcts

    Lookuout v5.1 running on Windows XP SP2 We have Lookout set to run as a service. When we log onto Windows then attempt to open the Lookout procees file we get a "Cannot open file: process name confilcts with that of currently running process." error.

  • Windows 7 status 0xc000000e : A lot of machines can´t start

    Scenario: Since 3-March-2015 a lot of computers in my company failed to start. The message error appeared is: "Windows failed to start. A recent hardware or software change might be the cause. To fix the problem: 1. Insert your windows installation d