Dont Understand Why This Text Wont Load .....

Hi All
I'm having trouble loading a text document and cant understand why ... Any thoughts please ?
Code:
<s:NavigatorContent xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:v="Views.*"
width="900" height="100%"
creationComplete="loadTXT(event)">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Metadata>
[Event(name="", type="")]
</fx:Metadata>
<fx:Script>
<![CDATA[
import mx.controls.Alert;
private function loadTXT(event:Event):void
var loader:URLLoader = new URLLoader();
loader.load(new URLRequest("Data/Text/WT_Intro.txt"));
loader.addEventListener(Event.COMPLETE, onComplete);
private function onComplete(event:Event):void
var myData:String = new String(event.target.data)
whitetimeIntroTXT.text = myData;
]]>
</fx:Script>
<s:layout>
<s:HorizontalLayout horizontalAlign="center" verticalAlign="middle" />
</s:layout>
<s:BorderContainer width="100%" height="100%">
<s:layout>
<s:VerticalLayout verticalAlign="top" horizontalAlign="center" paddingBottom="10" paddingTop="10" />
</s:layout>
<s:TextArea id="whitetimeIntroTXT" width="400" height="100%"/>
</s:BorderContainer>
<s:BorderContainer width="275" height="100%">
<s:layout>
<s:VerticalLayout verticalAlign="top" horizontalAlign="center" />
</s:layout>
</s:BorderContainer>
</s:NavigatorContent> 
Many Thanks

Perhaps you can try a higher depth depth=10.  This will work if the text is actually loading, but behind another object.  If the text is actually not loading, then this won't help.
Good luck.

Similar Messages

  • HT1386 When i connect my iPhone to iTunes, it says i have to set up my iPhone, and wont allow me to sync any media i have already purchased on it. My phone is not new, so I dont understand? This all came about when i updated the iOS 6 software.

    When i connect my iPhone to iTunes, it says i have to set up my iPhone, and wont allow me to sync any media i have already purchased on it. My phone is not new, so I dont understand? This all came about when i updated the iOS 6 software. I have tried to re-set up my phone but it makes no difference and deletes everything off my phone.

    bubblesblom wrote:
    Okay, so my friends think it is funny to change the passcode on my iPhone.
    Maybe you should get new friends.
    I'm not sure that recovery mode works when you have to trust the computer, but did you try it?
    If you can't update or restore your iOS device - Apple Support
    If that won't work, perhaps you can use Find my iPhone from a computer in your iCloud.com account to erase the device.
    iCloud: Erase your device - Apple Support
    This has nothing to do with the Find my iPhone app being installed on the phone, but you do have to have Find my iPhone activated in the iCloud settings on the phone.

  • When I click on apps in Creative Cloud (via taskbar icon) it shows only Photoshop CC as installed and Lightroom as something to be installed!  I already have LR 5.7 installed and this has been updated through CC.  I dont understand why it's now showing as

    When I click on apps in Creative Cloud (via taskbar icon) it shows only Photoshop CC as installed and Lightroom as something to be installed!  I already have LR 5.7 installed and this has been updated through CC.  I dont understand why it's now showing as it needs to be installed!?!?  It wasn't like this the last time I looked.

    Hi,
    Please refer to the help document:
    Apps panel doesn't show installed Creative Cloud apps
    Regards,
    Sheena

  • Entire days of pictures are not loaded on iCloud, while most of the days are loaded. Weeks has passed, while I was connected to wireless, so I dont understand why still emtire days are missing...

    Entire days of pictures are not loaded on iCloud, while most of the days are loaded. Weeks has passed, while I was connected to wireless, so I dont understand why still entire days are missing...

    I noticed an entire series of its always sunny in philadelphia is missing from my apple tv "purchased" section where i can stream it directly from itunes...I just purchased the new season and not showing at all

  • I dont understand why i cant download this album when i payed

    i dont understand why i cant download this album when i payed

    i payed 12.99 & its telling me purchased ? but it takes forever to download even with wifi ? .

  • Ok so heres my question. I don't understand why this sign that say "Terms n Policy of the store have changed!" and it said to go agree the new terms and policy. I did that and it went back to the app store,but then it pops out again! What do i do?!

    Ok I don't understand why this sign that says "Terms and Policy of App store has changed!" So it tells me to go agree the new terms and policy. After i did that it returns to the App Store where i was before. And only like ten to five seconds it appears again! I just dont know what to do! Can anyone help me?!

    Sign out of iTunes and sign back in and try again. The issue is being reported as being solved....
    GB

  • I dont understand why my ipod says it has 8gb but holds 6.36gb capacity and it always says over capacity by 35.4mb and i deleted lots of my apps but it keeps doing the same thing soo annoying .

    I dont understand why my ipod says it has 8gb but holds 6.36gb capacity and it always says over capacity by 35.4mb and i deleted lots of my apps but it keeps doing the same thing soo annoying . ANYONE KNOWS WHY?!

    I had a similar problem and after deleting endlessly...and weeks of frustration I (without even realizing what I was on to) deleted my text messages. I had been letting them add up since it seemed easier to text someone if it were readily available. Needless to say, I ended up with nearly double the space/memory available.

  • Invalid cursor. dont understand why

    i keep getting invalid cursor near the fetch. i dont understand why. appreicate any help.
    declare
      -- Local variables here
      o_errorcode NUMBER;
      o_errortext VARCHAR2(1000);
      i_CustomerLoop NBK.Pkgcommon.T_CUSTOMERLOOPTYPE;
      o_loopid number;
      FUNCTION createCustomerLoopObj(in_Loopid  IN NUMBER,
                                     inTestCAse IN VARCHAR2)
        RETURN NBK.Pkgcommon.T_CUSTOMERLOOPTYPE IS
        J_CustomerLoop NBK.Pkgcommon.T_CUSTOMERLOOPTYPE;
        co_clli        open_interface.WDN_segment.co_clli%type;
        termsysid      open_interface.WDN_segment.termsysid%type;
        cable          open_interface.WDN_segment.cable%type;
        pair           open_interface.WDN_segment.low_pair%type;
        v_cntLoops     number := 0;
        CURSOR v_CustomerLoops IS
          select seg_f1.termsysid,
                 seg_f1.cable,
                 round((seg_f1.low_pair + seg_f1.high_pair) / 2),
                 seg_f1.co_clli
            FROM open_interface.WDN_segment                  seg_f1,
                 open_interface.WDN_loop_segment_association assoc_f1,
                 open_interface.WDN_potential_loop_makeup    loop_f1
           where seg_f1.segment_id = assoc_f1.segment_id
             and assoc_f1.loopid = loop_f1.loopid
             and loop_f1.loopid = in_Loopid -- 44441549
           order by assoc_f1.segment_number asc;
      BEGIN
        loop
          fetch v_CustomerLoops
            into termsysid, cable, pair, co_clli;
          exit when v_CustomerLoops%notfound;
          begin
            v_cntLoops := v_cntLoops + 1;
            J_CustomerLoop(v_cntLoops).Cable := cable;
            J_CustomerLoop(v_cntLoops).Pair := pair;     
            J_CustomerLoop(v_cntLoops).CentralOfficeName := co_clli;
            J_CustomerLoop(v_cntLoops).TerminalDeviceID := termsysid;
          exception
            WHEN no_data_found THEN
              dbms_output.put_line('no data found loopid ' || in_Loopid ||
                                   ' TestCASE' || inTestCAse);
            WHEN OTHERS THEN
              dbms_output.put_line('OTHER ERROR  loopid ' || in_Loopid || ' ' ||
                                   SQLERRM || SQLCODE || 'TestCASE' ||
                                   inTestCAse);
          end;
        end loop;
        close v_CustomerLoops;
        RETURN J_CustomerLoop;
      end createCustomerLoopObj;
    begin
      i_CustomerLoop := createCustomerLoopObj(44441549, 'tc');
    end;

    10 Points to you. ;)
    Regards.
    Satyaki De.

  • Why cant apple track my stolen iphone if it connects to the internet after reset. the IMEI number stays the same so i dont understand why they just dont shut it off and call me and the police to inform me about the whereabouts of the phone

    Hi, my iphone was stolen around a month ago. After the phone popped up on find my iphone in central london the police decided to be really helpful and instead going to get it they closed my case. Since then it has been offline because the "lovely" individual who stole it obviously reset it. I was just wondering why doesnt apple track phones through the IMEI number. The number stays the same, so if the phone connects to the network they should be able to know that its my stolen iphone. I just dont understand why they dont do that. They have a huge ecosystem, and if someone signs in to my iphone with their itunes account (which they pretty much have to in order to use most of the phones features) the IMEI number gets associated with that perticular account. Would it not be possible for them to realize that its my stolen phone?
    Thanks to anyone that answers.

    Your carrier can lock the IMEI number, try contacting them. At least you'll have the satifsaction of knowing the theif can't use it anymore. My guess is Apple doesn't block IMEI numbers because they don't want someone selling a phone without record, and then reporting it stolen and causing problems that way. But that's just a guess, I feel for ya. Good luck either way, if it's a locked phone you should be able to call the carrier it's locked to and have the IMEI blocked.

  • I dont understand why i get this error when trying to type "else"

    Hello Everybody,
    Im new to java and am writing a simple program which gets a input number between 0 and 100 and is to print A for (grade>=90), B for (90>grade>=80) and so on, when grades < 60 get F.
    i use a series of if/else, but when i get to the FINAL else it gets an error (red wavy line under the last else). this ruins the program bcoz now a grade 61 will output "D" AND "F".
    can anyone explaing why this error msg? and how can i fix it?
    this is the code:
    public class Assignment02Q04 {
         public static void main (String[] args){
              int grade = (Integer.parseInt(args[0]));
              if (grade >= 90){
                   System.out.println("A");}
                        else {if (grade >= 80){
                        System.out.println("B");}
                             else {if (grade >= 70){
                             System.out.println("C");}
                             else {if (grade >=60);{
                                  System.out.println("D");}
                             else System.out.print("F");
         }

    Please ignore the rude bits... this is a pro-forma post most often trotted out to suspected trolls... i.e. It's NOT directed at you personally.
    h1. The Ubiquitous Newbie Tips
    * DON'T SHOUT!!!
    * Homework dumps will be flamed mercilessly.
    * Have a quick scan through the [Forum FAQ's|http://wikis.sun.com/display/SunForums/Forums.sun.com+FAQ].
    h5. Ask a good question
    * Don't forget to actually ask a question. No, The subject line doesn't count.
    * Ask once
        - Don't Crosspost!
        - Two people answering one question independantly is a waste of there time.
    * Don't even talk to me until you've:
        (a) [googled it|http://www.google.com.au/] and
        (b) looked it up in [Sun's Java Tutorials|http://java.sun.com/docs/books/tutorial/] and
        (c) read the relevant section of the [API Docs|http://java.sun.com/javase/6/docs/api/index-files/index-1.html] and maybe even
        (d) referred to the JLS (for "advanced" questions).
    * [Good questions|http://www.catb.org/~esr/faqs/smart-questions.html#intro] get better Answers. It's a fact. Trust me on this one.
        - Lots of regulars on these forums simply don't read badly written questions. It's just too frustrating.
          - FFS spare us the SMS and L33t speak! Pull your pants up, and get a hair cut!
        - Often you discover your own mistake whilst forming a "Good question".
        - Many of the regulars on these forums will bend over backwards to help with a "Good question",
          especially to a nuggetty problem, because they're interested in the answer.
    * Improve your chances of getting laid tonight by writing an SSCCE
        - For you normal people, That's a: Short Self-Contained Compilable Example.
        - Short is sweet: No-one wants to wade through 5000 lines to find your syntax errors!
        - Often you discover your own mistake whilst writing an SSCCE.
        - Solving your own problem yields a sense of accomplishment ;-)
    h5. Formatting Matters
    * Post your code between a pair of &#123;code} tags
        - That is: &#123;code} ... your code goes here ... &#123;code}
        - This makes your code easier to read by preserving whitespace and highlighting java syntax.
        - Copy&paste your source code directly from your editor. The forum editor basically sucks.
        - The forums tabwidth is 8, as per [the java coding conventions|http://java.sun.com/docs/codeconv/].
          - Indents will go jagged if your tabwidth!=8 and you've mixed tabs and spaces.
          - Lines longer than 80 characters should be wrapped.
          - Proper indentation illustrates program logic.
    * Post your error messages between a pair of &#123;code} tags:
        - That is: &#123;code} ... errors here ... &#123;code}
        - To make it easier for us to find, Mark the erroneous line(s) in your source-code. For example:
            System.out.println("Your momma!); // <<<< ERROR 1
        - Note that error messages are rendered basically useless if the code has been
          modified AT ALL since the error message was produced.
        - Here's [How to read a stacktrace|http://www.0xcafefeed.com/2004/06/of-thread-dumps-and-stack-traces/].
    * The forum editor has a "Preview" pane. Use it.
        - If you're new around here you'll probably find the "Rich Text" view is easier to use.
        - WARNING: Swapping from "Plain Text" view to "Rich Text" scrambles the markup!
        - To see how a posted "special effect" is done, click reply then click the quote button.
    If you (the newbie) have covered these bases *you deserve, and can therefore expect, GOOD answers!*
    h1. The pledge!
    We the New To Java regulars do hereby pledge to refrain from flaming anybody, no matter how gumbyish the question, if the OP has demonstrably tried to cover these bases. The rest are fair game.
    Edited by: corlettk on 17/03/2009 23:25 ~~ Doh!

  • I don't understand why this recursive program is looping, or its #s.

    i put in a println around the 7th line of code to see how it is working, i dont understand how to app is getting its numbers or why it is looping without a for statement. this demonstrates
    recursion. the output i get is
    value of n is 2
    value of n is 3
    Factorial of 3 is 6
    value of n is 2
    value of n is 3
    value of n is 4
    Factorial of 4 is 24
    value of n is 2
    value of n is 3
    value of n is 4
    value of n is 5
    Factorial of 5 is 120
    How is this possible when the only arguments passed in are 3, 4 , and 5, so that (n-1)*n would result in 6, 12, and 20. or at least thats what i thought it would produce, but instead,
    it loops through 2 3 4 5 and i have no idea where its getting those numbers from. any help greatly appreciated.
    public class Factorial {
          // this is a recursive method
         int fact(int n){
          int result;
         if(n==1) return 1;
         result = fact(n-1) * n;
         System.out.println("value of n is " + n);
         return result;
          class Recursion {
               public static void main(String args[]) {
                    Factorial f = new Factorial();
                    System.out.println("Factorial of 3 is " + f.fact(3));
                    System.out.println("Factorial of 4 is " + f.fact(4));
                    System.out.println("Factorial of 5 is " + f.fact(5));
          }

    Recursion is closely related to the mathematical principle of proof by induction.
    You use induction to see that your recursive method is correct. Take the factorial method
    of the OP:
    int fact(int n){
        if(n==1) {
            return 1;
        } else {
            return n * fact(n-1);
    }Some peoples' heads explode when they see a method invoking itself, as though they were
    seeing a snake swallowing its tail and disappearing! Yet nothing could be simpler or more
    logical. These same people have no problem when f() calls g(), so suppose the previous
    code had been written:
    int fact(int n){
        if(n==1) {
            return 1;
        } else {
            return n * SOMEBODY_ELSES_FACTORIAL(n-1);
    }Now we are just looking at ordinary code. Suppose method SOMEBODY_ELSES_FACTORIAL
    does indeed compute the factorial function. In order to implement X you need to
    know something about X, right? So we need to know a few things about factorial. These are:
    1! = 1
    n! = n * (n-1)!, for n>1
    By inspection, our code handles the n=1 case, and because we assume SOMEBODY_ELSES_FACTORIAL works,
    it handles the case n>1 successfully, too.
    Finally, the principle of induction tells us SOMEBODY_ELSES_FACTORIAL can in fact be the method
    we are defining, fact().
    QED

  • In the attached VI I dont understand why data from the inner case structures are not being transmitted to the array.

    In the attached VI I don't understand why data from the inner case structures are not being transmitted to the array.
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    TEMP.vi ‏25 KB

    It took me some time to figure what you are trying to do but I think I have it now.
    The SR is still required.
    What is happening is your "Bundle By Name" is replacing all of the fields of the cluster, not just the value coming out of the case structure. So to maintain the cluster stuff you do in earlier iterations you can either...
    1) Put the "Index array, Bundle by name, and Replace array" inside the case structure and ONLY bundle the value you are setting in that iteration. (as you will see Tim post shortly)
    OR
    2) Move the Index array before the Case, unbundle all of the fields and feed teh case structure and run them across the case so that ALL of your output tunnels come from the coresponding input tunnel EXCEPT for the filed you are trying to set.
    Ben
    Message Edited by Ben on 05-05-2010 01:31 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Automatic payments refused (dont understand why)

    Dear all,
    I have a problem in paying for my skype fee. I have entered a valid credit card (master card) and it has always worked.Since it was refused, I entered the same credit card number again and nothing seems to change. I am lost, do not understand why my credit card number is refused and see no other ways to pay for it.
    My skype name: [Removed for privacy]

    please contact Skype customer service
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • My DAQ wont start, and I dont understand why?

    Hello,
    I'm writing software for a lab that I'm working in and I'm having a little trouble with a section of my code dealing with myDAQ. The goal is to use this DAQ to activate a minishaker device. Everything was working well but to fix a timing issue I changed the set up of the loop running myDAQ, and I'm wondering why my device no longer works. I've tested it using another program that controlls the device and it works on that so its not a hardware issue. I've  attached the section of my code that isnt functioning and I would really appreciate any pointers you can give me. (I kudos frequently)
    "There will be water if God wills it"
    Attachments:
    test.zip ‏21 KB

    Ah... I found my problem. No need to respond if anyone sees this.
    "There will be water if God wills it"

  • Please Help -- Dynamic Text Wont Load :-(

    Hi Gang,
    I've just written a quick mail form in Flash8Pro/PHP - the
    user enters their contact details & a message, and it sends it
    off to the specified email address.
    The feature works fine for the most part, but there's one
    little problem. The dynamic text field that confirms the message
    has been sent successfully isn't working properly. I'm using the
    following php code to send dynamic text back to the flash document
    saying the message has gone through OK:
    print "sendresult=Message Sent!";
    where sendresult is the name of the dynamic text field's
    variable.
    The strange thing is that the code works fine if the
    sendresult dynamic text field is inserted into the main flash
    document. It's only when I put the sendresult field into the movie
    clip that holds the flash mail form (including the button with the
    loadvariablesnum command), that the text won't update at all. I've
    tried:
    print "_root.enquirypage.sendresult=Data Sent!"
    and
    print "enquirypage.sendresult=Data Sent!", but neither of
    those make any difference.
    Any suggestions? Anybody know what's causing this problem?
    Any help would be very very appreciated - I know I could probably
    get around this by just setting the visibility of the dynamic text
    field on & off when necessary and keeping it in the main flash
    doc, but I'll be using this feature quite a lot and I'd really like
    a proper/versatile solution. In case it's necessary, the
    actionscript that sends the message off to the php is just:
    loadVariablesNum ("form.php", 0, "POST");
    Many thanks in advance gang,
    - Jay

    Your code loadVariablesNum ("form.php", 0, "POST"); will load
    your variable sendresult in level 0 - the main timeline. If you put
    the text field inside a movie clip it expects a local variable in
    that movie clip.
    Use _level0.sendresult or _root.sendresult as the dynamic
    field's variable.
    Or, instead of loadVariablesNum you could use loadVariables,
    like this:
    _root.enquirypage.loadVariables("form.php", "POST");
    or, if you make the call from a button inside the movie clip:
    this.loadVariables("form.php", "POST");
    /uamg

Maybe you are looking for

  • SQL query on SOAINFRA dehydration to fetch version info of composite

    Hi all, I am scanning the SOAINFRA schema for the table that stores information about the latest ACTIVE version of a deployed composite. Please guide in case anyone is aware of this table. Thanks, Srini

  • Changing the data source of a Crystal Report

    Post Author: starmizzle CA Forum: Crystal Reports We're running a trial of BusinessObjects XI Release 2 to see if it fits our needs. We were told that we could import and publish our existing Crystal Reports and then later on go back and change their

  • ITunes shuts down when ipod is connected....

    Ever since I did the last update, everytime I connect my ipod to synch with itunes...itunes automatically shuts down!! I can use itunes just fine by itself and the same for the ipod. But once I connect them itunes just shuts down...no error message,

  • Item category update

    Dear all, If i want to change item category at master org level in inventory resp.how can i do this? Is there any suggestion? Thanks in Advance, Rutvi

  • It seems someone is using my ipad as a hotspot.  How do I tell what's connected?

    I have a Verizon (obviously) iPad.  I turned on personal hotspot and at the top of my ipad it shows "Personal Hotspot: 1 Connection"  There aren't any device that I know of connected though.  I changed the password to something new, and which I belie