TextArea question about getting results from actionscript

Hey guys,
I have got this TextArea in main.mxml and I have another class which is data.as. I have calculated a result at data.as and want to show the result over at the TextArea in main.mxml in a way that, when a new result is calculated, it will override the current text in the TextArea.
How do I go about doing it?    

Okie, so does that mean that lets say my data.as trigger some mouse event
clicked, which will alter the public variable result string, the textarea
over at main.mxml will change too? As in keep changing whenever the trigger
of any mouse event clicked?
Yes. Create that variable as static like,
public static var data_result:String;
>
so u can easily call any where in your application using class name like
that
>
.[global variable]
>

Similar Messages

  • Forgot icloud password, how to get it recover without any question and also alternative email becuase someone hacked my alternative email id. need password for using icloud hopefully i will get result from you as your earliest.

    forgot icloud password, how to get it recover without any question and also alternative email because someone hacked my alternative email id. need password for using icloud hopefully i will get result from you as your earliest.

    I'm sorry, but I know nothing about iCloud email. I stayed away from iCloud email and only use iCloud for limited purposes.
    But take a look at this discussion and read the response from randers4. He is one of the iCloud experts in the Apple Support Communities.
    https://discussions.apple.com/message/24358339#24358339
    If that doesn't help, you might be better off posting in here where there are other more knowledgable iCloud users.
    https://discussions.apple.com/community/icloud/icloud_on_my_ios_device

  • Question about tranferring data from iPhone 3gs to iPhone 4

    I just had a couple quick questions about transferring data from my old phone from my new iPhone 4. The reason i am wondering is because i am worried about whether i will encounter any problems when doing so.
    First off i have already sold my phone today, i reset all data and settings from the phone and gave it to my buddy so its gone. I did a full sync and backup yesterday so all the necessary files should be on my computer(windows 7). Now, im basically wondering if i will run into any problems if i restore my iphone 4 from a backup. My 3gs was running 3.1.2 on att. Now i know IDEALLY i would have updated it to iOS 4 before backing it up and used the newest version of itunes, but i did not. Does anyone think this will be a problem for me?
    Now with that out of the way, my biggest fear is losing my old data(text messages and notes mainly because i am a pack rat for those type of things) so id like to be SURE that none of my old backups will be deleted in any scenario. The reason i dont just restore it right now is because i want my new phone to be as clutter free as possible. I am going to be putting on here only the apps that i used often and would basically like to transfer over the BARE minimum; texts, notes, and highly used apps... So i guess my main question is can you transfer over only certain things like texts and notes after setting up the phone as a new phone. And if i were to set up the phone as a new phone what would happen to my old backups? Would i be able to selectively restore?
    Im afraid that it might not be a possibility to transfer only certain things even though it should be.. i should be able to select a text messages folder and put it on my new phone and be done with it... But anyway i dont want to rant. Can anyone explain to me how this all will work?
    ULTIMATE GOAL: Transfer only texts, notes, certain apps(and their data) and NOTHING ELSE.
    MOST IMPORTANT THING: Not losing texts and notes. I can deal with putting all the old **** on my new phone and cluttering/slowing it down if i NEED to.
    Thank you in advance, sorry for the long post.

    If the most important thing for you is keeping old text messages, notes, and voicemail, then you'll need to sync the phone from your existing backup. I know of no other way to access those items.
    Once you have synced to the new phone, check that you have those items that were important. Then you can reconnect your phone to iTunes, and change the sync settings to remove the apps or other items you no longer want to keep on the phone.
    iPhone backups are stored by iTunes; you can see them by opening your iTunes preferences, clicking on "Devices" and then looking in the window. You can delete old backups from here. I don't know how you can open/read the backups though.
    I don't expect you'd have any problems syncing from your old phone's backup, but it's definitely an either/or situation. Since you got rid of the old phone already, it's too late to email yourself your notes, or copy the text messages. Your previous backup is your only solution.

  • Web services and ADF 11g- get Result from backing bean

    I'm executing an action from backing bean (call Web service that returns complex data types)
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("unesiPonudu");
    Object result = operationBinding.execute();
    result is instance of oracle.adf.model.adapter.dataformat.XMLHandler$DataCollection but DataCollection is not accessible.
    How to get results from method?
    Tnx,
    Andreja

    Hi,
    there should be a result iterator in the Executables section which cotnains the result. If not, create it from the WS result entry in the DC palette. Once this iterator gets updated, you get the data from this iterator as it would be the case of a table accesses the WS
    Frank

  • Question about receiving mesage from those not on ...

    I have a question about recieving message from those who are not on my contacts
    I enable anyone to contact me through IM and call. a  friend who I did not yet add as a friend (not in contact)call me by mistake.  he sent message of apology to me, say "sorry for mistakeing call,"
    but, i did not recieve such mesage, even thoughh i got notification of call, why did not i recieve his mesage if i Can receive IM from anyone not on contact list??
    i try to send him mesage to test. He also did not see my mesage show up  ,, on his screen it only show that he call by mistake and that he sent mesage ((which,  i never recieve).
    i try this on some of my friend's friend who has enable all call and IM through, they also did not recieving mesage I sent them however can see notification of call i make.
    does this mean, Only you can see mesage of those in contact list even though you recieve from any body? am i misunderstand How skype is working? Please enligthen me, thx...
    thx for info.....

    I'm not sure I understand you entirely, but you could put the CDs on the computer with a CD ROM drive and then boot that computer as a firewire drive to the computer without a CD ROM drive and then copy your music over.

  • Get result from google by java

    after greeting
    i want to know how to make search and get result from google through jsp and display it in jsp
    if anyone has answer
    please send me it as soon as possible
    thanks

    Check what API's google provides and make use of it.
    Start here: [http://code.google.com].

  • Question about get web service result in actionscript and convert data format

    Hi, All
    I have question about how to get dataset from web services
    and put it in tree structure. I have 2 questions about this:
    1, How can I get data correctly in actionscript?
    I have no problem to get data by
    <mx:ArrayCollection id="acFolder"
    source="{mx.utils.ArrayUtil.toArray(MyGServices.getFolder.lastResult)}"
    />
    And display in datagrid.
    But when I try to use
    public function
    handleFolderContents(event:mx.rpc.events.ResultEvent):void{
    arData=mx.utils.ArrayUtil.toArray(event.result);
    acData=new ArrayCollection(arData);
    input.text=acData.getItemAt(0).id;
    Seems I can’t get data, it always say:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    2, how to convert data format
    I get data from web service and want to convert it to tree
    structure, as mention below:
    I get:
    <Array>
    <id>111</id>
    <Name>Production1</Name>
    </Array>
    <Array>
    <id>222</id>
    <Name>Production2</Name>
    </Array>
    Convert to:
    <mx:XMLList id="treeData">
    <node>
    <node label="Production1" data="111">
    <node label="Production2" data="222"/>
    </node>
    </node>
    </mx:XMLList>
    Please help me.
    Thanks.

    First, don't specify the package path in the argument
    declaration. Instead import the event object:
    import mx.rpc.events.ResultEvent;
    The docs state this emphatically.
    Second, try "lastResult", in place of "result":
    arData=mx.utils.ArrayUtil.toArray(event.lastResult); // I am
    not positive about this. I maybe recall reading that result was ok
    for the event object, but maybe not.
    Finally, why do you want to convert the xml? You certainly
    could, but it would be a manual process, recursively reading the
    existing xml nodes and building the new structure, but again, why?
    Just use a labelFunction if necessary to display the nodes as
    you wish.
    Tracy

  • Question about Removing Permissions from the System Folder with chmod

    Hi
    I have a question about the removal of permissions from the System folder (and sub directories and files).
    Background
    Since installing a new HD, clean install of 10.6, application of updates and moving over backed up user directories I have had several issues with permissions.
    I have read several threads on this and using disk warrior and other tools I have been able to fix most of the issues.
    The Problem
    The issue that remains is a permissions check using Disk Utility keeps reporting
    ACL found but not expected on "System".
    followed by an extensive list of sub directories and all.
    Attempts to repair take hours and the same errors are reported.
    Found Solutions
    I have read about changing and/or completely removing the ACL from the permissions from the System using two different commands:
    sudo chmod -R -N ./System/* ( to remove all ACLs)
    or
    sudo chmod -R -E ./System/* ( to replace all ACLs )
    My Question is ( to the UNIX gurus):
    What is the difference between the usage with -E and -R and which is the best approach for a Systems directory and (subordinates)?
    Many thanks!!

    OK
    So I misread on the your instructions about the PW reset, did it, no harm in that. I did also select the options to reset all the permissions for all the accounts and the ACL issues were not resolved. My bad, I forgot to note that.
    You do suggest getting and expert opinion but alas these are rather elusive. In most cases the Apple solutions is to do a complete reinstall... I have found that unless you completely wipe a drive and rebuild everything there are often artifacts left behind. Since I have full and redundant back-ups I would rather explore and hack a little instead of a dull old system reinstall. The irony is the system issue I had was it was the result a reinstall and combo update on a new drive. I recognize the risks of entering the realms of the System folders but I am willing to explore knowing full well that I have a path to recovery.
    Thanks again for your insights. I come to the forums looking for insights and ideas but not a lecture...

  • Question about stacked graph from DB

    Hi There.
    Ive come up against an interesting issue in my current project. In my prototype I have a stacked column chart (just one column) with the 'sections' of each column being defined as in the Flex docs, i.e. I have 3 column series I will call col1, col2, and col3. This works great but now my problem is that when I start getting data from the DB, I could have any number of column series as I have in the DB data pairs in the form of; col1 - 23, col2 - 34, col3 - 14... And there can be x number of records. Has anyone got any references or ideas about how to go about this?
    Thanks in advance.

    Getting on with this I can say I have made (some) progress.
    The file looks as follows:
    <mx:ColumnChart id="columnChart" type="stacked" dataProvider="{this.chartData}" width="507" height="100%" x="781" y="0">
         <mx:horizontalAxis>
              <mx:CategoryAxis categoryField="category" dataProvider="{this.chartData}"/>
         </mx:horizontalAxis>
    </mx:ColumnChart>
    And the AS part:
    private function createChartSeries(event:ResultEvent):void
         var temp:ArrayCollection = event.result as ArrayCollection;
         chartData = new ArrayCollection();
         var i:int;
         chartData.addItem({name:"val1"});
         chartData.addItem({name:"val2"});
         for (i = 0; i < temp.length; i++)
              var series:ColumnSeries = new ColumnSeries();
              series.xField = "name";
              series.yField = temp[i].call_type.toString();
              series.displayName = temp[i].call_type.toString();
              chartData.getItemAt(0)[temp[i].call_type.toString()] = temp[i].cost;
              chartData.getItemAt(1)[temp[i].call_type.toString()] = temp[i].duration;
              columnChart.series.push( series );
         columnChart.dataProvider = chartData;
         columnChart.invalidateSeriesStyles();
         columnChart.series = columnChart.series;
    [Bindable]
    public var chartData:ArrayCollection;
    The event.result is as follows:
    [{type:"t1", val1=10, val2=30}, {type:"t2", val1=20, val2=3}]
    Now call the "createChartSeries" function the y-axis updates, there are 2 columns (well the grey bit down the bottom), but there are no names (the x-axis values) and the actual data columns do not show up.
    Can anyone help me with this one?

  • Questions about "Restore System From Time Machine"

    Looking to fix an apparent system corruption problem on my work machine, I discovered the "Utilities > Restore System From Time Machine" option of the Leopard installation disc. I have some questions that are not answered in http://support.apple.com/kb/HT1177:
    1. Does this option erase the hard drive and install a fresh system from DVD, or do I need to do that in a separate step?
    2. What about software updates - when are they applied?
    3. Will third-party system extensions be reinstalled OK?
    4. I tried launching the process on my home machine, just to see how it works. At work I have a dedicated disk for Time Machine, but at home I have a Time Capsule, serving two Macs via Ethernet. I've also configured the TC to give us a shared volume; so in normal operation I have two network volumes, <Username>, containing Time Machine's sparsebundle file for that user's Mac, and "Shared". When I boot from the installation DVD and run "Utilities > Restore System From Time Machine", the backup volume list only shows the "Shared" volume. If I select it, I'm prompted for my TC username and password; I enter it, TC spins up, and then nothing. I cannot continue the restoration process, and reselecting the "Shared" volume does nothing. ???
    Thanks in advance for your help.
    -- Phil

    For the record, here's what I've found out so far:
    1. The "Restore System From Time Machine" option seems to want to restore everything, including the system, from the Time Machine backup. I wanted a clean system install, so I did an "Erase & install" followed by a "Restore from Time Machine" in the Migration Assistant. That got me most, but not all, of my settings back; exceptions include the printer configurations, the desktop picture, and the Dock settings.
    2. Software updates can be applied after the new system is rebooted.
    3. Most 3rd party extensions seem to have been restored OK, but some (like MacFuse) were not.
    4. I'd still be grateful for any hints concerning how to get "Restore from Time Machine" to work with a Time Capsule.
    -- Phil

  • Question about getting 4S camera fixed at Apple Store.

    Hi everybody,
        My wife got an iPhone 4S from Walmart in May of 2012.  It had been working great, then 3 weeks ago at the St. Louis zoo her camera shutter wouldn't open.  The camera app would open but the shutter would just stay closed.  I tried the "hold your finger over the camera" trick, and it worked!  For about 5 minutes...then it stopped.  Then I read about the "hold sleep and home till it turns off and then hold home"...again it worked! For about 5 minutes then stopped.  Updating to ios 6 let the camera work for about a day, then it stopped again.  Sooooo...
       We live about 2 hours from St. Louis and Louisville (nearest Apple Stores).  We are thinking about making a day trip to Louisville to get her phone fixed but I had a couple of questions.
    1) Will they repair/repalce iPhone without a receipt from Walmart, but have the original box?  Also, I could pull up ATT statements if needed.
    2) What happens if we get there and the camera happens to work?  (It will work OCCASIONALLY) Did we just waste a trip or will they believe that there was an issue?
    3) If they will agree to fix/repace, what will they do?  Just give her a refurbished iPhone 4S or try to fix it there?  I don't care which, but if they have to send it off then we can just do it from our house.  But my wife doesn't want to start with that option because she doesn't want to be without her phone and doesn't trust the "process". lol....
    4) oh one more....do I need to call the store or setup something with Apple before I get there? Or can we just bust right up in the store?
    Any thoughts/suggestions/experience/strength/hope ?
    Thanks and God Bless!!

    Thank you!!  Dang...yeah, I will call and see what they say.  I understand about the thefts and such.  I hate that we lost the receipt.  Hopefully there is a way we can track proof of purchase.  I was going to say that if we did it next weekend then it would still be less than a year old, but you threw the curveball at me about the stolen iphones.  Check out the guy that just posted that he "wants to buy a stolen iphone"...dumbest post I've ever seen...
    Anyway, thank you and have a blessed day!
    haha, just caught the "Murphy" comment!  Never really thought too much about Murphys law until I started listening to Dave Ramsey, but now I know that Murphy and I have been tight before!! ....defending against Murphy showing up would be calling ahead like you said and being prepared!  Not just hauling tail over to Louisville and scream when they say "NO"....haha

  • How to get result from another JSP file?

    I have to write a jsp (my.jsp) to get information from another jsp file (other.jsp).
    The other.jsp return integer value (0 / 1) so that user can tell if certain service is available or not. And in my.jsp I need to collect such result and other information from a text file to make up of a XML string.
    How can I call other.jsp to get the result? Thanks a lot.

    Hi, I think I didn't describe the problem clearly
    enough. In fact, there is a JSP file, and if our
    database is currently connected, the JSP will return
    value 1, otherwise, it will return 0. My java program
    need to get that result, and then form an XML string,
    and send the string back to the client. I'm just
    wonder how can I write such a program to read result
    from JSP file. Thanks a lot.Why is this function implemented as a JSP file? It should be implemented as a bean. It would be simple to get the information you require from that bean.

  • Two statements, get results from the first statement?

    Ok maybe I made it sound a little harder than it is, but this is what I am trying to do. I have a result set from from a database call when I pass in the username and password . In the 1st call I get the Users info: User_ID, first_name, lastname, etc...
    But I either need to get info from the first statement, and pass it to the 2nd statement or just do two statement calls calling the same info and passing it to my user object? I dont know which if any is faster, or better. The only thing I need from the first statement is the user_id. In the 2nd statement I need the user_id to find out the user permissions.
    Here is the original code when It was getting the user info and permissions from the same table. try
               dba = new DbAccess();
               java.sql.Connection con = dba.getConnection();          
    java.sql.DriverManager.getConnection("jdbc:oracle:thin:@kares:1523:appd","user","pass");  
               ps = con.prepareStatement("SELECT USER_ID, LAST_NAME, FIRST_NAME, LOGIN, PASSWORD," +
               "X, Y, Z FROM RD_USERS WHERE LOGIN=? and PASSWORD=?");
               ps.setString(1, user);
               ps.setString(2, pass);
               rs = ps.executeQuery();
               // set the user attributes
               if ( rs.next() )
                  loginValid = true;
                  setUserId(rs.getInt("USER_ID"));
                  setLastName(rs.getString("LAST_NAME"));
                  setFirstName(rs.getString("FIRST_NAME"));
                  setLoginName(rs.getString("LOGIN"));
                  setPassword(rs.getString("PASSWORD"));   
                  X = rs.getBoolean("X");
                  setX(X);
                  Y = rs.getBoolean("Y");
                  setY(Y);
                  Z = rs.getBoolean("Z");
                  setZ(Z);
               else
                  setLastName(null);
                  setFirstName(null);
                  setLoginName(null);
                  setPassword(null);
                  setX(false);
                  setY(false);
                  setZ(false);
               rs.close(); rs = null;
               ps.close(); ps = null;
               //dba.close(); dba = null;
            } The code above gets the info from one table, I now need to get the X, Y, and Z from a different table, but I need the USER_ID first. So, the first table is set up with the user_id and user info, and the 2nd table is set up with the user_id and user permissions

    Thanks DrClap I started on the the query and I did it a little differently, but it should hopefull do the same thing. my tables are constructed as so:
    USER
         USER_ID
         FIRST_NAME
         LAST_NAME
         USER_NAME
         PASSWORD
         ETC....
    USER_PERMISSIONS
         USER_ID
         PERMISSION X
         PERMISSION Y
         PERMISSION Z
         ETC....
    My Select looks something like this
    ps = con.prepareStatement("SELECT a.USER_ID, a.LAST_NAME, a.FIRST_NAME, a.USER_NAME, a.USER_PASSWORD," +
               "b.X, b.Y, b.Z FROM RD_USERS a, RD_PERMISSIONS b WHERE USER_NAME=? and USER_PASSWORD=?");
    This is where I come to a crossroads, Can I add on another AND to say "WHERE a.USER_ID = b.USER_ID
    and do I use the =, or is it ==, or .equals(). Thanks in advance.
    orozcom

  • Question about Offset printing from Indesign

    Hello everyone, I have a question about printing too a DPX rip platemaker from Indesign. When I print my file to the rip, it seems to bold the text when it should not be bold, I do not know if this is an Indesign or rip error, but if anyone has a solution I would be grateful for any assistance.
    I dont know if it's necessary, but the OS with Indesign is Mac OSX, printing to a ripmate on Windows 2000.

    Have you applied an outline to the text?
    Try unoutlined text
    Is the text near an effect like drop shadow or other filter?
    Move the text to top layer or above any effects.
    Is it just this file or any file?
    Need to figure out if it's just this job or all of them or at least let us know.
    Have you got the fonts installed at the RIP end, perhaps it's rasterising text that the RIP has not got the font?
    You could try exporting to PDF first, that would embed the fonts in the PDF.
    Let us know if any of this helps?

  • Getting Result from multiple table using code table.

    I am having hard time getting data from different table not directly connected.
    

    The data model is not proper. Why should you store the game details in separate tables?
    IMO its just matter of putting them in same table with additional field gamename to indicate the game. That would have been much easier to query and retrieve results
    Anyways in the current way what you can do is this
    SELECT p.ID,p.Name,c.CategoryName AS [WinnerIn]
    FROM GameParticipants p
    INNER JOIN (SELECT ParticipantID, Value AS ParticipantName,'CGW Table' AS TableName
    FROM CGWTable
    UNION ALL
    SELECT ParticipantID, Value AS ParticipantName,'FW Table' AS TableName
    FROM FWTable
    SELECT ParticipantID, Value AS ParticipantName,'WC Winner' AS TableName
    FROM WCWinner
    ... all other winner tables
    )v
    ON v.ParticipantID = p.ID
    AND v.ParticipantName = p.Name
    INNER JOIN Category c
    ON c.TableName = v.TableName
    If you want you can also add a filter like
    WHERE p.Name = @Name
    to filter for particular player like Henry in your example
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for