Flex application running under AIR takes a long, long time to start.

I have a flex application which runs on a desktop under AIR. The application has an assets folder with 3,500 mp3 soundclips totalling about 50MB. The problem is, the application takes around 90 seconds to load. I'm sure that AIR is scanning the application folder and doing something with the contents because if I delete the assets folder it loads in about 5 seconds. Does anyone know why AIR/Flex would do this, and why it doesn't exhibit the same problem if I run or debug in Flexbuilder on eclipse? It's making my killer app unusable!

Well, I've spent a bit longer looking at this now, and the problem appears to lie with my encrypted local store. The first thing that happens is for the app to read the product key from the ELS. But, it fails (for some unknown reason). So, the app seems to hang there for 90 seconds until it eventually renders the welcome screen. If I remove the assets folder it still fails to read from the ELS, but only takes a couple of seconds to start the welcome screen. This is where the scanning of the application folder seems to come into play, because if I remove the code which reads from the ELS the app starts within 2 seconds whether the asset folder is there or not.
I think the slow startup and the scanning of the assets folder are just symptoms of a different problem, i.e. a problem with the ELS. I don't have the same problem with my development environment though - it's only when I test deploy the application.
Thanks for your help on this problem EgorKDie. I think I should be able to resolve it once I can sort out why the ELS is being awkward.

Similar Messages

  • Application Runs Under Windows 8.1 But Not Under Windows XP (I Know XP Is Deprecated)

    The problem is with the obtuse error message put out by Windows's program loader. It reads, in part, "..is not a valid Win32 application." The application runs everywhere except on Windows XP. Looking for root cause of the problem. It's a very
    simple application. Only a few lines of code. 
    C:\Packaged-Software\32-BIT\Reboot.exe is not a valid Win32 application.
    Proposed nature of the problem:
    1. The file was downloaded from a website but the download was incomplete.
    2. The full file system filename path contains bad characters such blank space.
    3. Visual Studio constructed an application that won't run anywhere much less on XP.
    4. The supporting libraries are not properly installed (e.g. .NET Framework4, and VCREDIST).
    1. The file wasn't downloaded from a website and is intact.
    2. The filename path doesn't contain any spaces.
    3. The application runs under Windows 8.1.  Also on Windows 7.
    4. The supporting libraries are properly installed.
    So, what's the problem?  One surely will not discover the root cause from "not a valid application."
    Body must be 4 to 60000 characters long.  I had put the code here.  It isn't 60000 character long.  But it validated as if there are more than 60000 characters.  Sorry for the incomplete submission due to website construction error.

    Hi F7H2fw,
    How did you develop the application ?
    Here is a similar symptom and this may explain the issue somehow:
    Setup.exe is not a valid Win32 application
    I suspect there is a compatibility issue here .
    Considering this is more likely a developing issue .It is recommended to ask for help from our MSDN Forum .They are more familiar with the developing issue .If it is possible ,please attach the code in that thread .Thanks for your understanding and cooperation.
    MSDN Forum
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • SSO to partner application running under IIS

    We have a complete set-up for 9iAS Release2 where some applications are running. In parallell we have an application running under IIS, and would now like to enable the IIS application as a partner application to 9iAS letting the 9iAS SSO server handle the authentication.
    In the documentation of Oracle Proxy Plug-in I read that this proxy plug-in can be used to proxy requests from IIS to Oracle http server (OHS) and also in this way enable SSO.
    My question is if this can be done only for applications running under 9iAS but having IIS as web server, or if it is also possible like in our case to enable SSO via the proxy plug-in to applications runnind under IIS?
    If this is not supported is the only available solution to use the SSO SDK in my IIS application?
    Thanks and regards,

    Here's a DIY answer.
    See Metalink Note 269820.1 which shows you how to use Perl to overwrite the host name in the HTTP header and remove the port number.

  • My mac book pro takes a lot of time to start and also the screen slowly whitens off now and then. What should I do?

    My screen just whitens off. What can I do about it? Also it takes a lot of time to start.

    OS X 10.7 / 10.8
    Start up in Safe Mode.
    Repair Disk
    Steps 2 through 8
    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".

  • Modifying a Flex application to an AIR application

        I am currently developing a prototype application which runs locally and not all functionality need be working, especially the file uploading/downloading and file browsing capabilities, due to  time constraints. In working I setup a flex application, and now realize that same functionality could be handled in a  more gracious fashion by AIR.
         My question is how much more work is it modifying my prototype into a full AIR app when the time comes?  I have a feeling it is not as easy as just including some AIR classes into my current prototype, right? And would I be better off, creating a new flex 3 project altogether, and repurposing what code needs to be re-purposed? 
        For example, I might need the ability to import custom artwork to be displayed in the application, which comes from the local filesystem, but can be saved or sent to a remote server. Initially, I used the FileReference class, but now am pondering if using adobe AIR would cut my development time, now and in the future.
    Any enlightenment would be helpful, since from reading the documentation on Adobe AIR, I'm not quite sure of where the line in the sand is drawn between its framework and flex's framework is drawn.

    It could be as easy as changing the Application tag to WindowedApplication and creating an application descriptor file.
    I'm not sure if you can change a Flex web project into a desktop project, so you might have to create a new project in the F. Builder IDE. (If you are using the command line tools, that's not an issue.)
    As to the "line in the sand," AIR is at the same level as Flash Player (in the browser or standalone). The Flex framework runs in either. There are a handful of features in Flex that work in AIR , but not in Flash Player (because they use AIR-only APIs).

  • Regarding Flex application in Adobe Air

    I> I developed a flex application using FLEX BUILDER3. My
    main.mxml and background image file was under src directory in flex
    project. There was a folder named history under which
    index.template.html was present. I inserted the javascript code
    inside this html file. I want to convert the same flex application
    to a desktop application. So I created a new project as a desktop
    app and copied the mxml file and background image file under the
    src directoy of the project. I am not able to see a folder named
    history. I dont know where and how to insert the javascript and
    html code for creating desktop air application
    > Also the backgroundimage file is not getting display in
    the window. Not sure why is it so. I had inserted the JPEG

    The ability to package Composite Applications in AIR is currently available
    as a limited release, so if you are interested you will need to contact your
    sales channel for more information.
    The technology includes a library (mosaic-mxml.swc) that contains UI
    Components that allow developers to control the loading and placement of
    Tiles or entire AXML Applications within the AIR application. There are
    samples and documentation available.
    As for mobile, there is work underway to support Mobile AIR applications
    scheduled for an upcoming release.

  • RE: How to have multiple application running under one server

              I have one server
              I have many application
              Question: Is it possible for me to have a weblogic properties file under each
              of this application.

    If your question is whether you can run multiple instances of WebLogic
              (or multiple applications) on one server, the answer is yes. The only
              problem is, you must have a unique port for each of the servers to run
              on. I.e., they can not all run under port 80 which has obvious
              internet/network implications.
              This also means you have multiple weblogic.properties files etc. for
              each instance.
              We do this with WL5.1 on a Linux 2.4 kernel in developement to allow
              multiple developers run their own instance on one box.
              Mettu Kumar <[email protected]> wrote in message news:<[email protected]>...
              > No if you are running single instance of wls.
              > Kumar.
              > Sonny wrote:
              > > I have one server
              > > I have many application
              > > Question: Is it possible for me to have a weblogic properties file under each
              > > of this application.

  • Mac Air takes a very long time when manually putting to sleep

    I put my Mac Air in sleep mode from the apple icon after Im dont using it but sometimes takes a very long time to shut down. Then Im not sure if sometimes it goes into sleep mode by itself first. My mac notebook as soon as you hit sleep it shut down instantly. Anyone else have this problem?

    I put my Mac Air in sleep mode from the apple icon after Im dont using it but sometimes takes a very long time to shut down. Then Im not sure if sometimes it goes into sleep mode by itself first. My mac notebook as soon as you hit sleep it shut down instantly. Anyone else have this problem?

  • How to load a FLEX application in an AIR desktop application.

    I am creating an AIR desktop application (mx:WindowedApplication). I need to load another remote FLEX application (mx:Application) inside my AIR application.Is it possible ? If then ,please mention how to achieve this ..

    If it is bundled with the air app, then it's as easy as using the SWFLoader class.
    If it's loading from a remote host, you need to load it into your app as a ByteArray first.
    More info here: http://aaronhardy.com/flex/loading-a-remote-module-into-a-local-app/
    The example is for Modules, but the principal is the same I believe.

  • Unexpected behaviour for flex application running on Mac 10.8 with Flash player 12 on Safari

    I have scenario here : I am running my flex application in my Mac 10.8 machine with Flash player 12 on Safari browser . I have a registration form and it is validating various fields in it and when I hit Continue button it is not navigating to the next screen even if all the fields are validated. This registration form is a Popup. Can any body help me with this?

    No, the problem still occurs.
    It's weird there are no plug-in errors or something.
    With fp installed:
    with fp uninstalled:
    as a side note: a few weeks ago, I made a new clean Mac OS installation because of a harddrive replacement. So, the whole system is actually very tidy...  

  • Applications running under Managed Account not able to connect to servers

    My kids use a Managed Account on my MacBook (running Lion).  They have two games (Roblox and Minecraft) which can not connect to their particular game servers.  These games work fine when running under the Administrator account.  I believe that the ports that these games are trying to connect to may be blocked when running under a Managed Account.  The firewall is disabled.  Is there a way to open up specific network ports to programs running under Managed Accounts?

    Still don't have an anwer for you, but just a few thoughts... So it would seem that creating a Managed account automatically invokes some user account firewall settings, since the game works under your admin account. I was  able to access the System Prefs under a managed account to see about opening up the port in question, but if this is indeed the problem, the firewall isn't the GUI kind.
    It's possible that there would be a terminal command to do so, but I wouldn't have a clue about how to do that.

  • Loading pdf file in flex application (not in AIR)

    Could any one suggest opening pdf file within flex application with blazeds.
    we have used the following code to open pdf file in the same window
    navigateToURL( new URLRequest( "http://localhost:8080/PdfSample/jsp/PdfContent.jsp" ),"_self");
    But we want to load the pdf file in a vbox.Similary to the below image
    Is it is possible to load pdf file in flex application,if so how can we achieve it

    Hello Mariush,
    I have to display the content of the PDF in the flex application. If not PDF directly, is there other workaround for this. Or can I display the content of the MS word file, if not PDF.
    Thanks and Regards
       Khalid Chaudhary

  • Mac book pro early 2011 takes a lot of time to start up and shut down.

    I have a mac book pro its early 2011 15" i updated it from snow leapord to lion since then i have been having a problem with the shutdown it takes a really long time. And i am now concerned because my mac took a lot of time to start up today it kept showing me the apple symbol for 3 min then it showed the login screen can u guys help me weather there is some issue with my mac or most of u are getting this problem. Should i install snow leapord  again or should i bear with the issue untill an update is there pls help im really worried..... Thank you.

    You'll only be abe to repair permissions on the partition where your operating system is installed. For instance the disk on which I have Lion installed is name MacJoseph so that is the only disk I can repair permission on unless I boot from an install DVD. To do a clean install see these instructions. It's not difficult at all. This article may explain more about a clean install. To re-download the Lion installer open your App store application, at the top of the App store where it say's 'Purchased' hold down the option key while clicking on 'purchased.' This will open your purchases and allow you to download Lion. When the installer finishes downloading quit the installer and it will be in your applications folder. Hope this helps.

  • It takes a lot of time to start up the imac. Sometimes more than 5 minutes.

    Hi people, sometimes my imac 21" (late 2011), takes a lot of time to startup the whole operation system, sometimes it takes more than 5 minutes. I really don´t know if it´s linked to the fact that since I got this imac, I´ve never updated it.
    What can It be? Thanks.

    this won't answer the slowness of your mac but i would like to suggest something for you if i may. i was also frustrated at how slow my late 2012 21.5" imac was from the box, this is what i did.
    didnt want to tear my mac apart to swap the int. hdd so i purchased a lacie rugged ssd and connected via thunderbolt, the difference was amazing, from powering up to surfing the net.......8 seconds!
    from the "gong" to desktop 4 seconds!  there is no cog while it loads!
    my advice, get an external thunderbolt enclosure, it doesnt have to be lacie, there are loads out there, and bang a ssd in it.  

  • Do JSP applications run under Oracle 8i?

    How can I run my JSP application under Oracle 8i?
    Do Oracle 8.1.5 or 8.1.6 include JSP server?

    Oracle 8.1.7 (the next release of Oracle8i) will have the webserver to support JavaServlets and JavaServer Pages

Maybe you are looking for