Saving the State of the application to resume later

I have an application that runs a few pumps and saves about 40 items (from two typedeffed different clusters) every few minutes. The rate of pump are determined by about 10 of these elements. I want to add features to get the application and empty the State of these poles into something like a spreadsheet and later all these values that have been set up. Theres also a graphic wave form which I like to keep the data, as well as some front panel States of objects (buttons are disabled etc.)

How did you guys would handle this? I tried to use somehting like a variant of flatten it to a string, but it is riddled with errors.

ijustlovemath wrote:

I was just looking for other reviews, I usually find a lot of them on this forum! I will certainly find in config files and weigh the benefits. Thank you!

It's mostly a question of readable how you want the files are located.  If you want to read clearly the information contained in a text editor, go with the configuration file.  If you want something a bit dark, but still a little readable, go with XML.  If you don't want users to be able to read this thing at all, just save a binary file which will be faster and probably smaller.

Tags: NI Software

Similar Questions

  • Where is saved the application installs for CC?

    I want to install each CC app on multiple computers without redownloading. Where are the. DMG to install the files on Mac for CC?

    Direct download links for Adobe software

    Mylenium

  • How to maintain the same State of the application after closure and reopen the app?

    Hello

    My problem is while accessing the request, if I close and reopen the application then the previous state of the application is at a loss.  Please help me to maintian the same State of the application after close and reopen the app means reopen after application, enforcement should be focused on the last viewed item and I used the browser component if I reopen the app, then content browser also be there under the previous state.

    Advanced thanks for any help.

    One proposed by Simon is 'Close' and that you save enough information to rebuild your Application in the State was restoring it when it is reopened.

    Alternately, instead of really close your application, you could just put it on the bottom using

    UiApplication.getUiApplication () .requestbackground ();

    Once in the background, when the user selects again your application it will start immediately and will be exactly as it was left.

    This does not, of course, runs through judgment or commissioning of treatment you could want, so, for example, will not store all resources you want to put away when you know that the user is going to use your app for a while.  To help with this, look at the Application.activate () and Application.deactivate () methods.

    I hope this helps.

  • Windows 8 apps is not up-to-day, continue to show "Pending" when I look at the State of windows applications update 8

    Dear team,

    I use the laptop dell inspiron with windows operating system 8. Apps Windows 8 does not get updates, continue to show "Pending" when I look at the State of windows applications update 8, I haven't downloaded or installed all the other apps, but I'm trying to update the applications integrated Windows 8 came with the computer dell laptop. I have high speed internet. I installed McAfee total protection subscribed when the purchase of the laptop.
    Please help free for applications update of Windows 8.

    Finally, I found a solution. Go to troubleshooting (press win + w > then type troubleshooting). a window now opens in the office. Click on "solve problems with windows updates. Now click Next. Windows will search for solutions, but he can't find anything. Then, windows will ask if you want to try in administrator mode. Click Yes. Windows will find and fix the problem. That's all.

  • Since the last refresh of my payment for Adobe enjoy cloud data, I was not able to use the software, not Eve open one of the applications, even the payment has been made and saved to my banck account. I have been a month without service and I

    Since the last refresh of my payment for Adobe enjoy cloud data, I was not able to use the software, not Eve open one of the applications, even the payment has been made and saved to my banck account. I have been a month without service and I've not found a way to communicate directly with any responsible for Adpbe, nor received any satisfactory support of any kind. How can solve this problem? Is it possible to have a personal contact to have a personal support, instead of a jungle of pages on the web that will lead you to more of the same pages?

    The CC is waiting for bank payment, if payment is declined then CC will be suspended.

    Concerning

    Stéphane

  • The Prime Minister keeps telling me: "saving the backup to the cloud creative projects requires a directory of Creative Cloud Files. Please install the desktop application creative Cloud on your computer to enable this feature. » ??

    Why the Prime Minister keeps telling me:

    "Saving the backup to the cloud creative projects requires a directory of Creative Cloud Files. Please install the desktop application creative Cloud on your computer to enable this feature. »

    I have the app already installed on my computer, I'm pretty sure of (I am connected, and the icon is still present in the top right of my screen).

    This means can't back up in the cloud? I need to do!

    Thank you!

    Hi Dolcerocca,

    "Saving the backup to the cloud creative projects requires a directory of Creative Cloud Files. Please install the desktop application creative Cloud on your computer to enable this feature. »

    I have the app already installed on my computer, I'm pretty sure of (I am connected, and the icon is still present in the top right of my screen).

    This is a known bug that we are working at this time. Sorry! You can file your own experience here.

    This means can't back up in the cloud? I need to do!

    Thank you!

    Right. You must save a separate project once per day at a minimum, copy so that you have several backups in place. Make sure automatic backup is running.

    Thank you

    Kevin

  • In our application, we RESUME Builder and after, we want to show the pdf format. and also, we want to save and send option.

    In our application, we RESUME Builder and after, we want to show the pdf format. and also, we want to save and send option.

    1. for the PDF see TCPDF

    2. for the record, see PHP insert data in MySQL

    3. to send see Basic PHP mail() code function to send e-mail from a form. InMotion Hosting

  • We want to confirm that the application will be compatible daylight saving

    We want to confirm that the application will be compatible when changing economies in light of day on April 1st where time restores from 03:00 to 02:00
    confirm that we have sets compatible patch for Australian Eastern Standard Time for advanced savings permutation on April 1, 2012

    running ebusiness 11.5.10

    Published by: jemar98 on February 24, 2012 12:19

    jemar98 wrote:
    We want to confirm that the application will be compatible when changing economies in light of day on April 1st where time restores from 03:00 to 02:00
    confirm that we have sets compatible patch for Australian Eastern Standard Time for advanced savings permutation on April 1, 2012

    running ebusiness 11.5.10

    Please see these documents.

    Comply with the daylight saving time (DST) and rule changes of zone in E-Business Suite 11i [ID 458452.1]
    Diagnosis of problem of the DST with e-Business Suite 11i and Release 12 [800420.1 ID]

    Thank you
    Hussein

  • Changing the State of the application from a custom component

    Hello, I have several custom components that are included in the original application.

    When I try to change the State of a custom component, I get an error saying "undefined state: name of the State." How can I change the State of the application from a custom component? All States are defined in the original application.

    @linrsvp,.

    If you are using Flex3 try Application.application.currentState = "somestate;

    If you use Flex4 try FlexGlobas.topLevelApplication.currentState = "somestate;

    Don't forget to import the namespaces corresponding to the above.

    Thank you

    Jean Claude

  • Warn when the application moves to the State active or inactive?

    I can't find the right search words.  I want to be notified when the application becomes idle / reduced due to:

    user, reducing to the minimum the app

    When the unit is put or paused

    I also want to know when:

    App become active / goes to the foreground

    How can I check for these events?

    Hello! Check the Application signals: instance() in Application.hpp:

    void thumbnail();
    fullscreen() Sub;
    void invisible();
    void asleep();
    void awake();

  • Statement and analytical framework deployed on the application server has failed

    IM unable to config R & a framework while improving 11.1.2.1 to 11.1.2.3. Config is a failure while deployed to the application server.

    Here is the error msg that we receive.

    To be precise web analysis is not set up.

    [2015 08-14 T 16: 59:31.200 + 05:30] [EPMCFG] [TRACE] [EPMCFG-07561] [oracle. EPMCFG] [tid: 24] [ecid: 0000KwfxjtjD0jx6wBzW6G1LnT1s000006, 0] [SRC_CLASS: com.hyperion.config.document.Storage] Called: Storage.getLocalHostComponents (com.hyperion.hit.registry.ComponentType)("WEBANALYSIS_WEB_APP"): returned 2 component (s)
    [2015 08-14 T 16: 59:31.200 + 05:30] [EPMCFG] [ERROR] [EPMCFG-01020] [oracle. EPMCFG] [tid: 24] [ecid: 0000KwfxjtjD0jx6wBzW6G1LnT1s000006, 0] [SRC_CLASS: com.hyperion.hit.tool.deploy.ant.wrappers.ScriptTaskWrapper] error: []
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.hyperion.hit.tool.deploy.ant.wrappers.ScriptTaskWrapper.execute(ScriptTaskWrapper.java:72)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor33.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at com.hyperion.hit.tool.deploy.ant.engine.ProjectRunner.execAtNumber(ProjectRunner.java:143)
    at com.hyperion.cis.config.AntDeploymentApiAdapter.deploy(AntDeploymentApiAdapter.java:168)
    at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:239)
    at com.hyperion.config.wizard.impl.RunAllTasks.executeAppDeploymentTask(RunAllTasks.java:592)
    at com.hyperion.config.wizard.impl.RunAllTasks.execute(RunAllTasks.java:302)
    at com.hyperion.config.wizard.impl.RunnAllTasksState.run(RunnAllTasksState.java:92)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.NullPointerException
    in java.io.File. < init > (File.java:222)
    at com.hyperion.hit.tool.deploy.update.util.RegistryHelper.createPhysicalWebApp(RegistryHelper.java:263)
    at com.hyperion.hit.tool.deploy.update.RegistryUpdater.update(RegistryUpdater.java:32)
    at com.hyperion.hit.tool.deploy.update.RegistryUpdater.update(RegistryUpdater.java:12)
    at com.hyperion.hit.tool.deploy.update.ConfigToolRegistryUpdater.update(ConfigToolRegistryUpdater.java:34)
    at com.hyperion.hit.tool.deploy.ant.wrappers.RegistryUpdateWrapper.uptadeRegisty(RegistryUpdateWrapper.java:23)
    ... more than 22

    ]]
    [2015 08-14 T 16: 59:31.200 + 05:30] [EPMCFG] [ERROR] [EPMCFG-01020] [oracle. EPMCFG] [tid: 24] [ecid: 0000KwfxjtjD0jx6wBzW6G1LnT1s000006, 0] [SRC_CLASS: com.hyperion.cis.config.AntDeploymentApiAdapter] error: []
    E:\Oracle\Middleware\EPMSystem11R1\common\config\11.1.2.0\resources\ant-repository\build.XML:282: java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at com.hyperion.hit.tool.deploy.ant.engine.ProjectRunner.execAtNumber(ProjectRunner.java:143)
    at com.hyperion.cis.config.AntDeploymentApiAdapter.deploy(AntDeploymentApiAdapter.java:168)
    at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:239)
    at com.hyperion.config.wizard.impl.RunAllTasks.executeAppDeploymentTask(RunAllTasks.java:592)
    at com.hyperion.config.wizard.impl.RunAllTasks.execute(RunAllTasks.java:302)
    at com.hyperion.config.wizard.impl.RunnAllTasksState.run(RunnAllTasksState.java:92)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
    at com.hyperion.hit.tool.deploy.ant.wrappers.ScriptTaskWrapper.execute(ScriptTaskWrapper.java:76)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor33.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    ... 12 more
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.hyperion.hit.tool.deploy.ant.wrappers.ScriptTaskWrapper.execute(ScriptTaskWrapper.java:72)
    ... more than 17
    Caused by: java.lang.NullPointerException
    in java.io.File. < init > (File.java:222)
    at com.hyperion.hit.tool.deploy.update.util.RegistryHelper.createPhysicalWebApp(RegistryHelper.java:263)
    at com.hyperion.hit.tool.deploy.update.RegistryUpdater.update(RegistryUpdater.java:32)
    at com.hyperion.hit.tool.deploy.update.RegistryUpdater.update(RegistryUpdater.java:12)
    at com.hyperion.hit.tool.deploy.update.ConfigToolRegistryUpdater.update(ConfigToolRegistryUpdater.java:34)
    at com.hyperion.hit.tool.deploy.ant.wrappers.RegistryUpdateWrapper.uptadeRegisty(RegistryUpdateWrapper.java:23)
    ... more than 22
    -Nested Exception-
    java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
    at com.hyperion.hit.tool.deploy.ant.wrappers.ScriptTaskWrapper.execute(ScriptTaskWrapper.java:76)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor33.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at com.hyperion.hit.tool.deploy.ant.engine.ProjectRunner.execAtNumber(ProjectRunner.java:143)
    at com.hyperion.cis.config.AntDeploymentApiAdapter.deploy(AntDeploymentApiAdapter.java:168)
    at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:239)
    at com.hyperion.config.wizard.impl.RunAllTasks.executeAppDeploymentTask(RunAllTasks.java:592)
    at com.hyperion.config.wizard.impl.RunAllTasks.execute(RunAllTasks.java:302)
    at com.hyperion.config.wizard.impl.RunnAllTasksState.run(RunnAllTasksState.java:92)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.hyperion.hit.tool.deploy.ant.wrappers.ScriptTaskWrapper.execute(ScriptTaskWrapper.java:72)
    ... more than 17
    Caused by: java.lang.NullPointerException
    in java.io.File. < init > (File.java:222)
    at com.hyperion.hit.tool.deploy.update.util.RegistryHelper.createPhysicalWebApp(RegistryHelper.java:263)
    at com.hyperion.hit.tool.deploy.update.RegistryUpdater.update(RegistryUpdater.java:32)
    at com.hyperion.hit.tool.deploy.update.RegistryUpdater.update(RegistryUpdater.java:12)
    at com.hyperion.hit.tool.deploy.update.ConfigToolRegistryUpdater.update(ConfigToolRegistryUpdater.java:34)
    at com.hyperion.hit.tool.deploy.ant.wrappers.RegistryUpdateWrapper.uptadeRegisty(RegistryUpdateWrapper.java:23)
    ... more than 22

    ]]
    [2015 08-14 T 16: 59:31.200 + 05:30] [EPMCFG] [TRACE] [EPMCFG-01001] [oracle. EPMCFG] [tid: 24] [ecid: 0000KwfxjtjD0jx6wBzW6G1LnT1s000006, 0] [SRC_CLASS: com.hyperion.hit.tool.deploy.ant.model.utils.TimeReportUtil] trace: all deployment: 01 min 53 s

    There was a duplicate for web analytics registry entry. I checked in the deployment report, then deleted using the object_id. It was not detected by the registry cleanup utility

  • Crash when the application Look and display 2 - active up

    Hello, I spent a lot of time to reproduce this problem:

    SpeedGrade crashes when I apply one. Watch saved to a clip and I'm in the place 2 view. If I use the view Moussa, the accident will not occur.

    I have almost all Adobe programs installed the latest updates on Win 7 X 64 (latest drivers applied)

    SpeedGrade is open directly from first / a first project file.

    The things that I tried to solve the problem:

    1. turn on computer works ;-)

    1. turn off the application settings

    2 disable mercury gpu acceleration

    3. clear the cache and restart everything.

    .Log files don't have any useful information that I see:

    2015-07-06 [build 9.0x193 / 2015-05-26]

    Machine: XXXXXX-PC2 area WORKGROUP

    User: Dorian

    Mode: 64 - Bit

    Display: PCI\VEN_10DE & DEV_1183 & SUBSYS_35591458 & REV_A1

    Driver: NVIDIA GeForce GTX 660 Ti, Version: 10.18.13.5330

    CPU: Name: Intel (r) Core i7 - 4930 K CPU @ 3.40 GHz

    Model: 62, family: 6, step by step: 4

    Total topics: 12

    Features: MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AES AVX F16C POPCNT RDTSCP RDRAND

    Base path: C:\Program Files\Adobe\Adobe SpeedGrade CC 2015\

    Arguments: "C:\Program Files\Adobe\Adobe SpeedGrade CC 2015\SpeedGrade.exe'

    17:07:12 [IrLog] initialized LogFile

    17:07:12 ["GlobalSettings"] loading C:\Users\Dorian\AppData\Roaming\Adobe\SpeedGrade\9.0\settings/User_Settings.xml user settings

    17:07:12 [DISystem] initializing Application object system...

    17:07:12 [DISystem] Adobe SpeedGrade CC 2015

    17:07:12 [AMTModule] during initialization

    17:07:12 [AMTModule] background of departure

    17:07:12 [AMTModule] background running task

    17:07:12 [IrOS] resources loaded from C:\Program Files\Adobe\Adobe SpeedGrade CC 2015\resources\Resources.irf

    17:07:12 [IrOS] local potential: 27 under license, 10 effective

    17:07:12 [IrOS] Localized string table de_DE successfully loaded

    17:07:12 [OpenGL] initializing OpenGL...

    17:07:13 [OpenGL] provider: NVIDIA Corporation

    17:07:13 [OpenGL] Renderer: GeForce GTX 660 Ti/PCIe/SSE2

    17:07:13 [OpenGL] Version: 4.5.0 NVIDIA 353.30

    17:07:13 [SDIOut] SDI output is not available

    17:07:13 [SoundSubsystem] has been initialized properly its subsystem.

    17:07:13 [SoundSubsystem] 3 sound (s) available

    17:07:14 [AMTModule] in idle state

    17:07:15 [AMTModule] background task is complete

    17:07:17 [headlights] initialization IPA...

    17:07:17 [headlights] IPA active and active mode

    17:08 [DSoundDriver] peripheral initialization 0: 44100 Hz, 16 bit per sample, speakers: [stereo], first channel: 0

    17:08 [DSoundDriver] device 0: opening DirectSound

    17:08 [DSoundDriver] device 0: prepare its buffer

    17:08 [DSoundDriver] device 0: buffer format

    Device loan 0 17:08 [DSoundDriver]

    17:08:01 [DirectLink] using CUDA accelerated renderer

    17:08:01 [DirectLink] device name: GeForce GTX 660 Ti, Type: GPU, provider: NVIDIA

    17:08:01 [DirectLink] memory: 3072 M, computing capacity: 3, driver Version: 7.5

    Please let me know if you need more information. I would like to find a solution quickly!

    Good job on the post, but I HOPE that you have completed a bug report in this...

    /Feature bug report form requires Adobe...

    https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform

    Neil

  • Flex 3: showing a progress bar during the Application loading time

    Hello

    I have 3 end Flex before Application.

    Currently, at the beginning of the Application, its shows a blank white page.
    I want to have a progress bar on this effect.

    I saw this thing

    < mx:ProgressBar id = "progressBar" minimum maximum = "100" = "100" = "manual" mode
    Label = "5%" labelPlacement = 'bottom' x = '207' y = '299' >
    < / mx:ProgressBar >

    I saw an example of using ProgressBar with Image, providing the source of the image of the ProgressBar?

    Could any body please let me know as how to provide my < mx:Application > as a source for this
    ProgresBar.

    Help, please.

    Thank you.

    Here's a brand preloader component that I created that allows you to have the text and image in the proloader:

    ---com/stardustsystems/preloader/BrandedPreloader.as---

    package com.stardustsystems.preloader
    {
      import flash.display.DisplayObject;
      import flash.geom.Rectangle;
      import flash.text.TextField;
      import mx.graphics.RoundedRectangle;
      import mx.preloaders.DownloadProgressBar;
    
      public class BrandedPreloader extends DownloadProgressBar{
        private var _title:String = "DEFAULT APPLICATION TITLE";
        private var _titleObj:TextField;
        private var _titleX:Number = 80;
        private var _titleY:Number = 15;
        private var _titleWidth:Number = 165;
        private var _titleHeight:Number = 32;
        private var _titleTextColor:Number = 0xFFFFFF;
        private var _marquee:String = "DEFAULT MARQUEE";
        private var _marqueeObj:TextField;
        private var _marqueeX:Number = 80;
        private var _marqueeY:Number = 80;
        private var _marqueeWidth:Number = 165;
        private var _marqueeHeight:Number = 32;
        private var _marqueeTextColor:Number = 0xFFFFFF;
        private var _logoX:Number = 15;
        private var _logoY:Number = 15;
        private var _borderRectX:Number = 0;
        private var _borderRectY:Number = 0;
        private var _borderRectWidth:Number = 260;
        private var _borderRectHeight:Number = 120;
        private var _borderRectCornerRadius:Number = 4;
        private var _labelRectX:Number = 80;
        private var _labelRectY:Number = 55;
        private var _labelRectWidth:Number = 165;
        private var _labelRectHeight:Number = 16;
        private var _barRectX:Number = 80;
        private var _barRectY:Number = 72;
        private var _barRectWidth:Number = 165;
        private var _barRectHeight:Number = 6;
        private var _barRectCornerRadius:Number = 0;
        private var _barFrameRectX:Number = 80;
        private var _barFrameRectY:Number = 73;
        private var _barFrameRectWidth:Number = 165;
        private var _barFrameRectHeight:Number = 4;
    
        // The logo file should be in the same directory as this file.
        // Embed the logo file because using Loader is not efficient,
        //   because a Loader would load with the application, and we
        //   need it to load before the application, because it is
        //   displayed in the preloader.
        [Embed("SDSLogo1.png")]
        [Bindable] public var logoCls:Class;
        private var logoDO:DisplayObject;
        // Config file allowing configuration of various areas of the preloader.
        [Embed("config.txt", mimeType="application/octet-stream")]
        [Bindable] public var configCls:Class;
        private var configObj:Object;
        private var configProps:Object;
    
        public function BrandedPreloader(){
          super();
          // Load the config file.
          configObj = new configCls();
          // Parse the config property key/value pairs.
          configProps = getConfigProps(configObj.toString());
          // Apply the config properties.
          applyConfiguration();
        }
    
        private function applyConfiguration():void{
          if(configProps.title){
            _title = configProps.title;
          }
          if(configProps.marquee){
            _marquee = configProps.marquee;
          }
          if(configProps.titleX){
            _titleX = configProps.titleX;
          }
          if(configProps.titleY){
            _titleY = configProps.titleY;
          }
          if(configProps.titleWidth){
            _titleWidth = configProps.titleWidth;
          }
          if(configProps.titleHeight){
            _titleHeight = configProps.titleHeight;
          }
          if(configProps.titleTextColor){
            _titleTextColor = configProps.titleTextColor;
          }
          if(configProps.marqueeX){
            _marqueeX = configProps.marqueeX;
          }
          if(configProps.marqueeY){
            _marqueeY = configProps.marqueeY;
          }
          if(configProps.marqueeWidth){
            _marqueeWidth = configProps.marqueeWidth;
          }
          if(configProps.marqueeHeight){
            _marqueeHeight = configProps.marqueeHeight;
          }
          if(configProps.marqueeTextColor){
            _marqueeTextColor = configProps.marqueeTextColor;
          }
          if(configProps.logoX){
            _logoX = configProps.logoX;
          }
          if(configProps.logoY){
            _logoY = configProps.logoY;
          }
          if(configProps.borderRectX){
            _borderRectX = configProps.borderRectX;
          }
          if(configProps.borderRectY){
            _borderRectY = configProps.borderRectY;
          }
          if(configProps.borderRectWidth){
            _borderRectWidth = configProps.borderRectWidth;
          }
          if(configProps.borderRectHeight){
            _borderRectHeight = configProps.borderRectHeight;
          }
          if(configProps.borderRectCornerRadius){
            _borderRectCornerRadius = configProps.borderRectCornerRadius;
          }
          if(configProps.labelRectX){
            _labelRectX = configProps.labelRectX;
          }
          if(configProps.labelRectY){
            _labelRectY = configProps.labelRectY;
          }
          if(configProps.labelRectWidth){
            _labelRectWidth = configProps.labelRectWidth;
          }
          if(configProps.labelRectHeight){
            _labelRectHeight = configProps.labelRectHeight;
          }
          if(configProps.barRectX){
            _barRectX = configProps.barRectX;
          }
          if(configProps.barRectY){
            _barRectY = configProps.barRectY;
          }
          if(configProps.barRectWidth){
            _barRectWidth = configProps.barRectWidth;
          }
          if(configProps.barRectHeight){
            _barRectHeight = configProps.barRectHeight;
          }
          if(configProps.barRectCornerRadius){
            _barRectCornerRadius = configProps.barRectCornerRadius;
          }
          if(configProps.barFrameRectX){
            _barFrameRectX = configProps.barFrameRectX;
          }
          if(configProps.barFrameRectY){
            _barFrameRectY = configProps.barFrameRectY;
          }
          if(configProps.barFrameRectWidth){
            _barFrameRectWidth = configProps.barFrameRectWidth;
          }
          if(configProps.barFrameRectHeight){
            _barFrameRectHeight = configProps.barFrameRectHeight;
          }
        }
    
        private function getConfigProps(configStr:String):Object{
          var retVal:Object = new Object();
          var linesArray:Array = configStr.match(/".*"/g);
          for each(var line:String in linesArray){
            line = line.substring(1,line.length-1);
            if(line != "0"){
              var parts:Array = line.split("$$$");
              if(parts.length==2){
                retVal[parts[0]] = parts[1];
              }
            }
          }
          // trace for debugging
          for(var key:String in retVal){
            //trace("key: " + key);
            //trace("value: " + retVal[key]);
          }
          return retVal;
        }
    
        override protected function createChildren():void{
          super.createChildren();
          // Attach the logo image.
          logoDO = new logoCls();
          logoDO.x = (stageWidth/2)-(borderRect.width/2)+_logoX;
          logoDO.y = (stageHeight/2)-(borderRect.height/2)+_logoY;
          addChild(logoDO);
    
        // Attach the title TextField.
        _titleObj = new TextField();
        _titleObj.x = (stageWidth/2)-(borderRect.width/2)+_titleX;
        _titleObj.y = (stageHeight/2)-(borderRect.height/2)+_titleY;
        _titleObj.width = _titleWidth;
        _titleObj.height = _titleHeight;
        _titleObj.selectable = false;
        _titleObj.defaultTextFormat = super.labelFormat;
        _titleObj.htmlText = _title;
        _titleObj.multiline = true;
        _titleObj.wordWrap = true;
        _titleObj.textColor = _titleTextColor;
        this.addChild(_titleObj);
      // Attach the marquee TextField.
        _marqueeObj = new TextField();
        _marqueeObj.x = (stageWidth/2)-(borderRect.width/2)+_marqueeX;
        _marqueeObj.y = (stageHeight/2)-(borderRect.height/2)+_marqueeY;
        _marqueeObj.width = _marqueeWidth;
        _marqueeObj.height = _marqueeHeight;
        _marqueeObj.selectable = false;
        _marqueeObj.defaultTextFormat = super.labelFormat;
        _marqueeObj.htmlText = _marquee;
        _marqueeObj.multiline = true;
        _marqueeObj.wordWrap = true;
        _marqueeObj.textColor = _marqueeTextColor;
        this.addChild(_marqueeObj);
        }
        // Determines the dimensions of the large rectangle for the preloader.
        override protected function get borderRect():RoundedRectangle{
          return new RoundedRectangle(_borderRectX, _borderRectY, _borderRectWidth, _borderRectHeight, _borderRectCornerRadius);
        }
        // Determines the dimensions of the rectangle for the "loading..." and "initializing..." string.
        override protected function get labelRect():Rectangle{
          return new Rectangle(_labelRectX, _labelRectY, _labelRectWidth, _labelRectHeight);
        }
        // Determines the dimensions of the rectangle for the preloader bar.
        override protected function get barRect():RoundedRectangle{
          return new RoundedRectangle(_barRectX, _barRectY, _barRectWidth, _barRectHeight, _barRectCornerRadius);
        }
        // Determines the dimensions of the frame rectangle for the preloader bar.
        override protected function get barFrameRect():RoundedRectangle{
          return new RoundedRectangle(_barFrameRectX, _barFrameRectY, _barFrameRectWidth, _barFrameRectHeight);
        }
      }
    }
    

    ---com/stardustsystems/preloader/config.txt---

    # Comments in this file should start with #
    # Entries in this file should be formatted as follows:
    #    - enclose entries in standard double-quotes (not locale specific double-quotes)
    #    - do not use double quotes within the entries (use single quotes)
    #    - entries are key/value pairs, with key and value separated by $$$
    #    - keys and values can only contain characters in ISO-8859-1 (English and latin characters)
    # The file should be saved in Windows ansi encoding. To support characters in other
    #   character sets, further enhancement is necessary.
    # config properties for the application title string
    "title$$$Image Browser"
    "titleX$$$80"
    "titleY$$$15"
    "titleWidth$$$165"
    "titleHeight$$$32"
    "titleTextColor$$$0xFFFFFF"
    # config properties for the application marquee string
    "marquee$$$Stardust Systems Application"
    "marqueeX$$$80"
    "marqueeY$$$80"
    "marqueeWidth$$$165"
    "marqueeHeight$$$32"
    "marqueeTextColor$$$0xFFFFFF"
    # config properties for the logo x and y
    "logoX$$$15"
    "logoY$$$15"
    # config properties for the border rectangle
    "borderRectX$$$0"
    "borderRectY$$$0"
    "borderRectWidth$$$260"
    "borderRectHeight$$$120"
    "borderRectCornerRadius$$$4"
    # config properties for the label rectangle
    "labelRectX$$$80"
    "labelRectY$$$55"
    "labelRectWidth$$$165"
    "labelRectHeight$$$16"
    # config properties for the preloader bar rectangle
    "barRectX$$$80"
    "barRectY$$$72"
    "barRectWidth$$$165"
    "barRectHeight$$$6"
    "barRectCornerRadius$$$0"
    # config properties for the preloader bar frame rectangle
    "barFrameRectX$$$80"
    "barFrameRectY$$$73"
    "barFrameRectWidth$$$165"
    "barFrameRectHeight$$$4"
    

    -BrandedPreloader.mxml-

    
    
      
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
      
        
          
          
          
        
      
    
    

    ----------------- states.xml -----------------

    
    
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
    
    

    If this post answers your question or assistance, please mark it as such. Thank you!

    http://www.stardustsystems.com
    Adobe Flex development and Support Services

  • Note the application crashes...

    Note the application crashes... I have discovered that by putting my phone on "airplane mode" the app not crushed. This makes me think that there may be a conflict with the iCloud? I tried to restart but the problem persists...  Anyone has a solution, pleas?

    Hello, Craig2099!

    Thank you for reaching out by Apple Support communities. After reading your post, I understand that your Notes application to close unexpectedly when you try to use it. I keep a lot of information in the Notes, so I know it's important to be able to access the app. I'd be happy to help you!

    I have some troubleshooting I suggest to go through. Before you start, I recommend you make a backup of your iPhone by following the instructions here: How to backup your iPhone, iPad and iPod touch

    Once your backup is created, go through the following steps, in order. Test after each step, stopping when the problem is resolved.

    1. Leaving the app all opened, as shown here:force a nearby application on your iPhone, iPad or iPod touch

      Then, restart your iPhone after this article: restart your iPad, iPhone or iPod touch

    2. Uninstall the Notes application, and then reinstall it. Instructions on how to do this can be found here: remove the apps Apple integrated from the home screen on your device iOS with iOS 10
    3. Reset settings on your iPhone in settings > general > reset > reset all settings. This will not delete your personal data (like contacts, photos, calendar of events, etc.), but he'll be back customizable settings (as your background screen and display brightness, sounds of alert and ringtones, settings of Date and time, etc.) to the factory settings. It will also remove saved networks Wi - Fi and passwords, as well as all the VPN or APN settings used previously.
    4. Restore your iPhone settings by following the steps here: use iTunes on your Mac or PC to restore the iPhone, iPad, or iPod touch to factory settings

      Once the restore is complete, configure your iPhone as a new device (i.e. without using your backup, at least temporarily). You can connect to iCloud iMessage, FaceTime and iTunes and the App Store. Then test Notes. If it works and not unexpectedly ends, you can restore your backup by following the steps described here: restore your iPhone, iPad or iPod touch from a backup

    See you soon!

  • Cannot open the application "Mail" because PowerPC applications are no longer supported

    I work on a MacBook Pro mid 2012

    Intel Core i5 2.5 GHz

    OS X El Capitan 10.11.6

    The Mail app suddenly quit and when I tried to resume, I got this message

    "Cannot open the application"Mail"because the PowerPC applications are no longer supported."

    This also happens with the "Maps" app

    All Mac software are up to date, but "Mail" has been working fine since my last update that was awhile ago.

    I am confused to say the least. Suggestions? Thank you!

    If you do a Get Info (command - I) on Mail and Maps applications, what version numbers do you see?

    Try a reboot.

    Make a backup using Time Machine or a cloning program, to ensure that data files can be recovered. Two backups are better than one.

    Try to set up another admin user account to see if the same problem persists. If back to my Mac is enabled in system preferences, the guest account will not work. The intention is to see if it is specific to an account or a system wide problem. This account can be deleted later.

    Isolate a problem by using a different user account

    If the problem is still there, try to start safe mode using your usual account.  Disconnect all devices except those necessary for the test. Shut down the computer and then put it up after a 10 second wait. Immediately after hearing the startup chime, hold down the SHIFT key and continue to hold it until the gray Apple icon and a progress bar appear. Startup is considerably slower than normal. This will reset some caches, forces a check for directory and disables all start-up and connection, among other things. When you restart normally, the initial restart may be slower than normal. If the system is operating normally, there may be 3rd party applications that pose a problem. Try to delete/disable the third-party applications after a reboot using the UN-Installer. For each disable/remove, you need to restart if you do them all at once.

    Safe mode - on El Capitan

    Start Mode without failure-El Capitan.

Maybe you are looking for

  • G5 Dual-Core Intel Xeon 2.66 performer 10.6.8 can I upgrade the Mavericks

    I am the owner and working on a Mac G5 Dual-Core Intel Xeon 2.66 GHz running 10.6.8 can I upgrade the Mavericks?

  • Space Reganing HDD - deleting the files from recovery

    My 98 concert disc, I have only 37 free concerts and I only put about 20 Gig on myself.How to make and the rest of my car back?I'm sure there must be some kind of restore partition. Thank you.

  • Get the EXIT and the RETURN of a stored procedure parameters

    I have a stored procedure (SQL Server 2008 R2 MS) as in the following example. Thanks to the connectivity of database I get OUTPUT parameters, but I can't get the game DATA RECORDS and RETURN value. Someone knows how to do this? CREATE PROCEDURE [dbo

  • Manipulation of the KING

    Hi guys,. Part of my current LabVIEW project involves me using a video stream, and the user will have to draw several Kings on the power supply. I would like to be able to allow the user to use an interface buttons to control the creation and the rem

  • problem sending emails

    Error message saying theres a problem with sending messages-to hotmail.co.uk account please check with your provider for more information Ive tried all sorts of things, but get this message, I can receive them ok