Can you halt mxml UI construction until you have external UI config data loaded?

If I have external (xml) config data that describes how the UI should be built, grabbing it from a file or a web service happens asynchronously. It loads late sometimes and sometimes not, as one would expect.
I'm thinking I need to control how and when UI construction takes place.  Can I do this in mxml?  Or should I be building the UI completely in ActionScript which would let me begin the construction after firing an event indicating config data has been loaded?
Thanks

Thanks for answering.
Let me restructure how I've asked this.
Let's say I have four main components in my app.  And let's say I want to be able to configure in a database somewhere which users see which components.
Like...
User 1 sees all four.
User 2 sees components 1 and 3
User 3 sees components 2 and 4
User 4 sees only component 2.
etc.
Problem is, if I create the components in mxml, they all get created and displayed before my web service gets back with the display options.
What's the best practice for doing this?
Thanks

Similar Messages

  • I keep seeing this message on my ASUS IPAD and need some help.  "Tab Limit Reached, Can't Open A New Tab Until You Close One".   I need help, please.

    Tab Limit Reached, Can't Open A New Tab Until You Close One.
    How do I close the tabs?

    Asus doesn't make the iPad.  Is this some other tablet?
    Sounds like you have maxed out the browser windows. In the browser app, press the menu or overflow bottom to see if there is an window/tabs options. There you should see a thumbnail image of each tab you have opened and in the corner of each should be a X or minus symbol that you touch to close that tab/window.

  • Attempts exist for this class. You cannot delete the class until you have d

    Attempts exist for this class. You cannot delete the class until you have deleted the attempts.
    Does anyone know how to delete the attemps against a Learning Object. I can delete the enrollments but when I go to delete the class or the learning object i get this message.
    This is for a Test environment.
    Thanks.
    John

    Hi John,
    You are right about the wording.
    There is no simple way of deleting classes. This is because the classes are normally used for the Learner's history and if there is an attempt there is also normally at least one Learner with a history of that Class.
    I know you can delete the Learners from a Class but these scenarios happens so seldom, that we have not yet had the need to have a "delete class feature".
    But if you have the business case for this, you are welcome to raise a SR for an enhancement for this.
    Regards Anders Northeved

  • TS3297 i forgot my security answers  so i can not buy music from here  until you please tell me or i guess i am able to reset them

    i forgot my security questions how can i reset them.

    Click here for information. If you can't get the answers emailed to you for some reason, contact the iTunes Store staff via the link in that article.
    (78550)

  • Hi, can you help?  My emails that I have received show the date received as either today, yesterday or July 28.  How can I get the correct date received?

    Hi, The emails that I have received show the date received as either today, yesterday or July 28.  How can I get the correct date received?

    That's very scary. They might do it, but I personally have never had Apple contact me re id's except on their site when signing in. I suggest you DO NOT respond until you have a phone conversation with Apple security. They can verify if they sent you the e-mail and why.
    While it's very possible it's true,again, I suggest you not respond until you speak to someone at Apple. I've often read here that when people sign in they are not allowed to because "someone else has used the id" type of statement.
    Also, you should be able to go to the app store and see what apps you have downloaded.
    Though it could have been a free app, have you checked to see if any were bought with your id account?
    I've gotten these types of e-mails from places like USPS and FedEx which look amazingly authentic and were from their website. I also received an odd e-mail from my cousin in Ireland last year that clearly was not from him. It was also sent to others in his family in Ireland. I e-mailed him that I only opened it because it had a .ie, but suggested he change... Days later I received mail from 'him' - same name, but at yahoo.com. 
    Again, I would call Apple. You can also report it at [email protected], but I would not settle for that given your situation. If nothing else, call Apple sales (sales depts. anywhere answer fast) and ask them to transfer you to security. Apple will not want anybody accessing their name, and while it's unlikely, it's not impossible that it is someone phishing.
    Hope this helps and can you let the support community know your results by posting on this thread when you're done? Thank you.
    Hope this helps.

  • Top line suddenly missing from display - where did it go?  how can I get it back?  Don't have finder, time and date, options...

    Top line is suddenly missing:  no finder, no options, no date and time or wifi status, no time capsule to return to previous settings!  Can't figure out what happened.

    You can only sync with one computer. When you synced to the new computer it would have erased it and synced what was on the new computer.
    You always need to have a backup, an iPhone is not a storage device.
    When you get a new computer you need to transfer your library before syncing
    If you don't have a backup you may be out of luck
    The only thing would be if you're in the US and have access to the iCloud beta to reload purchases
    http://support.apple.com/kb/ht2519

  • HT5085 can i see i history of apps that have been download and dates of when download

    need 2 know how or f i can see a history f all my app download even when they been deleted and redownload ???

    You can see your purchase history on your computer's iTunes. If you log into your account on your computer's iTunes via the Store > View Account menu option, you should then see a Purchase History section with a 'see all' link to the right of it which you can click on
    Viewing purchase history : http://support.apple.com/kb/HT2727

  • I bought a 1:1 training package for one year. I'm trying to sign up for multiple training at multiple stores. Is one limitation the fact that you can't book a second group or open training until you have finished the first one? Even if it's different stor

    Hi Everyone:
    My name is Mark. I'm new to the Mac World. I purchased a MacBook Pro with Retina Scan, as I'm going to make multi media self help books (I'm an author and psychotherapist). I have been getting a number of inconsistencies in answers to the same questions.
    1 - Can I do a 1:1 by phone? When I bought my 1:1 the salesperson told me yes.
          Now I find out the answer is no.
    2 - I've started signing up for group, individual, and open training.
    It seems that I cannot sign up for a second one until I have taken the first of any of these trainings.
    So if I want to sign up for 3, 1:1's in 3 different stores, on 3 different days I can't (if I read the terms and conditions properly.) until I have my first 1:1, open, or group training.
    I was told when I purchased my 1:1 that I could have as many trainings as I wanted to, and as much as I wanted. I could even spend a whole day going to different training at the same store on thew same day.
    Have others found inconsistencies in what you are told by sales people and what the rules are?
    Thank you for any help you can give me.
    Mark Dworkin LCSW P.C.

    1) The One-to-One program is in person in an Apple Store. I've never heard of any phone-based training. Perhaps the salesperson was confusing that with AppleCare which extends the phone support on your product.
    2) Here is the relevant part from the official terms:
    Members may have no more than one (1) Personal Training, one (1) Group Training and one (1) Open Training session reserved at any given time. After the completion of your session, you may schedule your next.
    http://www.apple.com/retail/learn/one-to-one/terms.html
    If the saleperson gave you incorrect information that makes the One-to-One service unusable, talk to the store manager and tell him or her what information you were given incorrectly, and ask about a refund of the cost of the program.
    Regards.

  • How can you hide a Continue button until all clickboxes are clicked?

    I have seen similar questions to this one, but none seemed to be the exact situation as mine.
    What I have: Several images on a screen.  When a user clicks an image it is replaced with another image.  I am using clickboxes for this task.  I do not wish for them to toggle back and forth. Once they click the original image it should stay changed.
    What I am trying to do: Once a learner clicks all the images (in no particular order) a Continue button appears that allows them to go to the next screen.
    If anyone has some suggestions on this situation please let me know, thanks.

    I cannot log in on the forum for the moment, so will try by answering by
    mail. I was aware of that problem (have presented those solutions so
    often), thought that since you left all images visible once the click box
    was clicked it wouldn't be a problem.
    Two possible solutions:
       1. Easiest one: add a statement in the Always decision that will Hide
       the click box just clicked. It has no sense to click it another time. That
       will mean that you still can do it with a shared action but that shared
       action will have two parameters now, the second one being the click box
       that has to adapted on each application of the shared action.
       2. If you don't want to make the click box hidden (which means at the
       same time disabled), you'll need a user variable for each click box,
       starting with a default value of 0, and toggle it in the Decision 'Always'
       to 1. The second decision will then need a condition that checks the value
       of all the user variables (with AND) and shows the Next button only when
       all variables have the value of 1.
    Sorry, but have to mail, cannot offer a screenshot in that case.
    Lilybiri
    2014-03-13 5:31 GMT+01:00 Joseph_McDonald <[email protected]>:
        Re: How can you hide a Continue button until all clickboxes are
    clicked?  created by Joseph_McDonald<http://forums.adobe.com/people/Joseph_McDonald>in *Advanced
    Adobe Captivate Users* - View the full discussion<http://forums.adobe.com/message/6205043#6205043

  • Can no longer print from Photoshop CS^ have upgraded drivers error message reads There was an error opening your printer. Printing functions will not be available until you have selected a printer and reopened any documents."

    I have upgraded my iMac to Yosemite but now my two Canon Printers no longer print from Photoshop CS6. I have upgraded the drivers. All other applications including Lightroom are fine. I am receiving an error message as follows:"There was an error opening your printer. Printing functions will not be available until you have selected a printer and reopened any documents." How can I get the OS to return a list of printers to Photoshop when Photoshop requests a list.

    Have you printed to this printer from 10.10 before?  If so, check your connections.

  • When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • So i got my iphone 6 and works fine with the bluetooth on my lexus until i plug in the charger.  When i do so the music you can't hear the music.  When i have it unplugged the music plays fine through the speakers.

    So i got my iphone 6 and the music works fine with the bluetooth on my lexus until i plug it in to the USB charger.  Then you can't hear the music.  When i have it unplugged the music plays fine through the speakers.
    When i get in the car, if the audio is set on bluetooth the music will start playing automatically without me doing anything even if i don't have the music (itunes) running. 

    Hi . I Reset My iPhone & I Do Not Know The iCloud To Get pass Activation Screen.I Need To Find Out My IMEI Number From Here.My Phone Doesn't Take A Sim So It's Not On The Slot. It's Not Located On The Back Of My Phone. & When I Press This "i" on the Home Screen A Different Number Pops Up But Not The IMEI . Can You Please Give Me Answers To Find My IMEI Number !!??

  • I just opened my mail on icloud and all messages disappeared from the last year! I have one email left in my inbox which is the most recent. I moved to icloud 2 weeks ago and it has been working fine until now. How can I retrieve old messages? Thank you.

    i just opened my mail on icloud and all messages disappeared from the last year! I have one email left in my inbox which is the most recent. I moved to icloud 2 weeks ago and it has been working fine until now. How can I retrieve old messages? Thank you.

    I guess you could try but I don't believe Apple can help with activation lock issues.  They may, however, be able to determine if the Apple ID belongs to one of you and reset the password for you if you can prove your identity.
    You might want to try calling Apple by going to https://expresslane.apple.com; click 'More Products and Services, then 'Apple ID'.  In the next page select 'Other Apple ID Topics' then 'Lost or forgotten Apple ID password'.  Perhaps they can help determine if it's your ID and reset the password for you (and they probably have more expertise in doing this than the Apple store).

  • After doing maverick update, i can't type into my email. will you please help me?Thisproblem did not start until i did the upgrade.

    Hello folks, sorry about the panic, but my brother is dying and this is the only way i can get hold of the family. They live in another state and are very very poor. so, I kept getting this upgrade notification through safari and so I upgraded to maverick 10.9.5 but when I did, I noticed I could no longer type into my email through safari. It was working fine until then. please help me. thanx....

    1. From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Test.
    2. Select
              Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.

  • I have entered the wong password on mi iPad 2 too many times and it says disabled connect to iTunes so when i plug it into the computer , iTunes says pad locked cannot sync until you unlock the iPad but i don't remember the password nor can i put it in

    i have entered the wong password on mi iPad 2 too many times and it says disabled connect to iTunes so when i plug it into the computer , iTunes says pad locked cannot sync until you unlock the iPad but i don't remember the password nor can i put it in

    You have to restore the device within iTunes. You want to use the same computer that you always sync with so that you can restore your app data and settings. You can restore with any other computer, but you will lose everything on the iPad.
    iOS: Wrong passcode results in red disabled screen
    This will tell you how to restore
    iTunes: Backing up, updating or restoring iOS software
    If you cannot restore that way, you may have to use recovery mode
    iPad: Unable to update or restore

Maybe you are looking for

  • фф тормозит при выводе анимированных gif картинок (google.trnslt - FF inhibits the derivation of animated gif images)

    если выводить анимированные картинки одну за другой(примерно так - <a onclick="smiley(':yes:'); return false;" href="#"><img src="/engine/data/emoticons/yes.gif" alt="yes"></a> - и так повторить раз 100, с разными смайлами), то ФФ начинает дико лагат

  • Installing the hyperion planning downloaded from otn

    I have downloaded hyperion from the below link. http://www.oracle.com/technology/software/products/bi/performance-management/hyperion_planning.html I have read in installation guide which says to run setup.exe, but there is no setup.exe file found wh

  • SOAP Message Handler

    I have a stand-alone java client which invokes a WSE enabled .NET web service. A custom policy file (no encryption or certificate. Just username token) is associated with the java client. I also include a SOAP handler to display the SOAP request. Whe

  • K7T Pro2-A (MS 6330) Boots for 4 secs then turns off Please Help !!

    X-((Hey guys, Thought I would give this a shot before i take this mobo back to the store .... Some insight to my reason for buying this mobo....My mothers ABIT kt7a-Raid quit powering any agp and PCI devices so I went out and bought her the K7T Pro-2

  • Captivate 1.0 issues

    I'm having a lot of issues with Captivate. 1.The first, most annoying one is that I have to set the affinity every time I open the program or it will crash when recording audio. Is this fixed yet?? 2. The output option for MS Word worksheets does not