Using text files for text

hi,
i like flex so i wan't to make flex sites that people can
download. but for the people who dont have flex its going to be
hard to edit so:
if u have like a text control, and instead of typing
text="text here"
i want text="and instead of text it should read the text from
example: textbox1.txt
is this possible?
thank you very much

dinsterzz,
The HTTPService class is your main gateway to accessing data
that is on the server. You can data-bind to the "result" property
of the HTTPService object to easily expose the text in a UI field.
The main documentation is here:
http://livedocs.adobe.com/flex/201/langref/mx/rpc/http/HTTPService.html
Here are two good intros to using HTTPService:
http://www.adobe.com/devnet/flex/quickstart/httpservice/
http://www.adobe.com/devnet/flex/quickstart/using_data_providers/#external
These are both focused on XML data, so your code can probably
be even simpler. Just remember to use resultFormat="text" instead
of ="e4x".
Hope that helps,
- Peter

Similar Messages

  • Error while importing a text file for a list of values

    Hi Experts,
    While importing a text file for a list of values in designer, I am getting error message as below:
    "Invalid setting in Excel key of the Engines section of the Windows Registry. (3433)".
    I am using BO XI R3. Universe Designer version : 12.1.0.882
    Any suggestion ?
    Regards

    plzzzzzzzzzzzzzzzzz.............sme1 help me out

  • Search file for text and delete the found text.  How?

    I need to know how to search a file for text and delete the found text. I think grep will let you do this but not sure of the syntax.

    Hi Dmcrory,
       In addition to what Camelot and nobody loopback point out, one must also consider the fact that UNIX text tools are largely line based. You also fail to tell us for what kind of text you are searching. If you are looking for multiple words, there's a very good chance of finding the expression wrapped onto different lines. With hyphenation, even single words can wrap to multiple lines. Tools that search line-by-line will miss these unless you use multiline techniques.
       Multiline substitutions require that you write "read-ahead" code for the command line tool that you're using and that you take that into account in the substitution. Given how you want the results to be printed out, you may also want to preserve any newlines found in the match, which is even more difficult. That could bring up the subject of line endings but that's a completely different topic.
       I apologize if this sounds discouraging. Multiline searches aren't needed that often and in most of those cases, exceptions can be dealt with by hand. I just didn't want you to get surprised by it. To give you an idea of how easy basic substitution is, have a look at Tom Christiansen's Cultured Perl: One-liners 102 and One-liners 101. Both have some "in-place" substitution examples.
    Gary
    ~~~~
       MIT:
          The Georgia Tech of the North

  • How to prepare the Format of Flat file(Excel or Text file) for sales order

    Hi All,
    My requirement is to prepare the Flat File formats(Excel or Text file) for sales order Conversion using BAPI by COB.
    Needed Sample Excel or Text flat file .
    Thanks for all.
    Regards,
    Chowdary
    Moderator message : Search for available information. Thread locked. 
    Your similiar question [Flat files formats|Flat files formats] has been already locked for similiar reason.  Read forum rules before posting.
    Edited by: Vinod Kumar on Jul 8, 2011 9:36 AM

    Hi,
    You can use something like this:
    switch(cell.getCellType()) {
      case Cell.CELL_TYPE_STRING:
        System.out.println(cell.getRichStringCellValue().getString());
        break;
      case Cell.CELL_TYPE_NUMERIC:
        if(DateUtil.isCellDateFormatted(cell)) {
          System.out.println(cell.getDateCellValue());
        else {
          System.out.println(cell.getNumericCellValue());
        break;
        case Cell.CELL_TYPE_BOOLEAN:
          System.out.println(cell.getBooleanCellValue());
          break;
        case Cell.CELL_TYPE_FORMULA:
          System.out.println(cell.getCellFormula());
          break;
        default:
          System.out.println();
    Hope it helps,
    Daniel

  • SoD Risk Summary and Rule Text Files for CC 5.1

    Hi,
    Could anyone share with me where could I find the SoD Risk Summary and Rule Text Files for CC 5.1? I have looked into SAP Marketplace but I was not able to find such information. In the installation files we downloaded, these files are not included either
    Thanks in advance. Regards,
        Imanol

    Hi,
    These rules were available on the market place for CC 40: they were included in the support package 1 or 2.
    For CC 51, we had the same issue as you: we did not find the rules on the market place. Apparently, they are not.
    My customer had to send a OSS message to SAP in order to receive the rules (.txt files).
    Regards,
    Nicolas.

  • Error while uploading standard text files for the Global rule set

    Hi all,
    As part of Post Installation Activities we have uploaded standard text files for business process, functions, risks and rule set obtained with the installable Software.
    While uploading the text files we have uploaded the Basis Functions Authorizations first and then R/3 text files.
    When we checked no actions are appearing in the rule architect under respective functions except for the BASIS Module.
    Is this because we have uploaded the Basis functions before the R/3 text files?If yes, how to replace the Basis with the R/3 ones.
    We tried to replace the Basis function authorizations by re-uploading the R/3 text files again but we got the below error message u201CORA-00001:unique constraint (SAPSR3DB.SYS_C004479) violatedu201D
    Can somebody please help in this regard how to get the standard rule set in our system?
    Thanks and Best Regards,
    Srihari.K

    Hi Sri,
    you should upload first the static text files and the authorization objects first and then the GRC standard rule set files following the instructions of the SAP Configuration Guide available in Service Market Place under http://service.sap.com/instguides .
    The GRC standard rule set contains files named Basis_functions_action.txt and R3_function_action.txt. The first one contains ONLY function definitions in terms of transcation codes for basis only, whereas the second one contains functions definition for basis AND ERP modules. The same holds for the *_function_permission.txt files. There are also function definition files for other SAP solutions such as APO, CRM, HR  etc.
    You can open a customer message and request a deletion script for the rule sets files you have uploaded already. After their application of this script all rule set data will be deleted from your database. If you have uploaded static text and authorization files correctly, you can then upload the GRC standard rule set files as needed again.
    best regards,
    Frank

  • How can I write to text file colorful texts

    I save system events in a text file,for example when system give warning message i want to write it red

    As others have mentioned, if you want to view text in different colors with an viewer/editor tool outside of LabVIEW, you must provide the necessary formatting for that tool.
    If it works for your application to view the file using LabVIEW you can do this:
    1) Place a unique key in each line that identifies an error.
    2) Display the text in a Listbox and color each line based on that unique key.
    You can fairly easily provide a stand alone viewer if needed.
    This technique can also be expanded to provide multiple colors.
    steve
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.

  • Text ID  for text object MATERIAL does not exist - MM01

    Hi All,
    I am getting below error message when trying to save Material Master in MM01.
    Text ID  for text object MATERIAL does not exist
    Message no. TD603
    Diagnosis
    You want to edit a text. However, the text ID (text type) of the specified text object does not exist.
    Procedure
    You can display a list of valid text IDs (text types) using F4=Possible entries. You can select the required text ID from this list with F2 or a double click.
    The valid text objects are listed in table TTXOB. The valid text IDs (text types) for an object are specified in table TTXID.
    I have searched the forums but couldn't get relevant message.
    Please assist.
    Thanks,
    Raj

    Hi Jurgen,
    This is the complete message i am getting.
    Text ID for text object MATERIAL does not exist
    Message no. TD603
    Diagnosis
    You want to edit a text. However, the text ID (text type) of the specified text object does not exist.
    Procedure
    You can display a list of valid text IDs (text types) using F4=Possible entries. You can select the required text ID from this list with F2 or a double click.
    The valid text objects are listed in table TTXOB. The valid text IDs (text types) for an object are specified in table TTXID.
    If I enter MM02 and without changing anything if i save still i get this error message.
    Thanks & Regards,
    Raj

  • Text ID for text object BUT000 does not exist

    Hi Experts.
    I am doing data migration using LSMW with IDoc. I have this error message "Text ID for text object BUT000 does not exist" when processing the IDoc.
    Can anyone tell me what is this error about and how could i fix it. A step by step guide would be nice. Really need advice urgently.
    I'll definitely rewards points.
    Regards,
    Julianna

    for this u need to maintain the text object and its related text id using the TC: SM31 in rel. view of  ur tcode( like MM01, Va01 etc).
    first get the view names(1 for text object and 2 for text id) from fun. people.
    then go to sm31 with 1 view, create BUT000 .
    then go to sm31 with 2 view, maintain text id for the text object:BUT000.

  • Steps to load the data by using flat file for hierarchies in BI 7.0

    Hi Gurus,
    steps to load the data by using flat file for hierarchies in BI 7.0

    hi ,
    u will get the steps int he following blog by Prakash Bagali
    Hierarchy Upload from Flat files
    regards,
    Rathy

  • How to use .mov files for video in Flash...

    Hello-
    I am trying to use .mov files for my Flash videos. I know it uses .mp4/flv/f4v, but I really need to use .movs. I know this works... but how?
    Suggestions?

    unfortunately running it through Adobe Encoder makes it a much, much larger file and the quality goes out the window. i really need to use .mov.
    any suggestions?

  • Option to always use sidecar files for XMP

    Lightroom gives you the option to write metadata to XMP files, which is convenient if you want to share data with other programs (ACR, various DAM programs). In the beta versions, this data would always be stored in .XMP sidecar files, presumably for safety reasons. However, V1 writes the XMP data into the image file itself for those formats that support it (DNG, JPG, TIFF).
    I would really like to have the option to *force* Lightroom to use sidecar files for XMP data, like the betas did. The current V1 behavior (embedding data) is quite inefficient for fairly common backup scenarios.
    For example, I tend to back up all my raw files onto DVD after importing and culling. In addition I make a daily backup of all metadata that gets sent over the internet to a web server - a relatively small upload. What happens if I use DNG for my raw files and update something as small as a keyword? Indeed, *all* of the corresponding DNG files are modified, and because my backup software cannot know that only the XMP data has changed, all files must be burned to DVD again. If the metadata were stored in sidecar files, a simple, efficient metadata backup would take care of things.
    To implement this, a simple switch in the preferences would suffice, and the necessary code is already there. The only possible problem is the occurrence of two files with identical names, excluding the extension. For this case, I can see four different 'solutions':
    1) Force XMP metadata to be synchronized between files with equal names
    2) Make an .XMP sidecar file for only one of the files (always the raw file, for example)
    3) Update the XMP specification to specify what should be done in this situation (maybe include the file extension in the XMP data)
    Reards,
    Simon

    Actually, I don't (notice the 'if' :)). And this is only one of the reasons. I just picked DNG as an example, to keep things simple and because it seems Adobe wants DNG to work well for photographers.
    However, the same applies to JPG and TIFF images. I often end up changing details in the metadata after the image has been finished. For example, to correct the spelling in a keyword that has been applied to half the images in my database... Talking about a nightmare scenario!
    Simon

  • Using NFS file for ASM

    hello to all
    I am familar with ASM and NFS but I don't know what is mean of using NFS file for ASM
    can you explain for me ? or do you know manual for this on WEB ?
    thanks

    I don't think ASM via NFS is optimal.
    You need to create your NFS mounts. Then use dd to create files in your various NFS mounts and then present these files to ASM as disks.
    try:
    http://www.oracle.com/technology/products/database/asm/pdf/netapp_asm3329.pdf
    jason.
    http://jarneil.wordpress.com

  • Using Excel 14.3.7 to create a text file, for saving as a .csv file. Problems with commas.

    I have created a text file in Excel, to be saved as a .csv file and uploaded to an online database. The file is rejected. When I open it in textedit I can see that the empty cells ( of which there are several in each row, all in the same columns) contain commas. It looked to me as though this could be the result of tabbing across empty cells. So I created a dummy file with a couple of lines where I tabbed across the whole row including the empty cells, and a couple of lines where I clicked in each individual cell in which I wanted to enter text. Opened in textedit there is no difference between the two type of entry. What can I do to stop Excel or .csv format entering commas in blank cells? Suggestions in simple English appreciated.

    http://answers.microsoft.com/en-us/mac/forum/macexcel?tab=QnA

  • SAP GRC 5.3 - Standard Text files for RAR - Are they complete

    Dear All,
    Whether the standard text file SoD rule set provided by SAP covers all the standard SAP transaction codes which are available in ECC6.0 and other systems as well.
    Because we found that there are some t-codes which are not form part of Standard SoD Rule set say eg., MIGO_TR - Transfer posting, ME11, ME58 - Create PO, CKME - Release planned prices etc.,. like this there are some standard t-codes which are not part of the functions in standard rule set
    We have a challenge from the client that Standard rule set provided by SAP might have covered all the standard t-codes for SoD rule set and it has to be only customized to the extent of Custom t-codes (Y & Z T-codes).
    Is this correct? How frequently the text files are updated. I remember the last release of text files is along with 5.3 version and there is no change from then onwards i.e. increasing t-codes in functions or increase in risks.
    Please advise.
    Thanks in Advance,
    Best Regards,
    Srihari.K

    Sri,
    From SAP: u201CThe SAP ruleset will never be 100% complete as the definition of "complete" is unique for each company.  SAP goal is to ensure that the rules we provide are accurate and address the major segregation of duties concerns.u201D
    A clear point that reflects that, it is that you will have to do the exercise to identify, analyze and include every Z (custom) transactions used by your customer within the standard SoD Matrix that SAP provides.
    SAP provides updates for the Rule Set every Quarter.
    To get the latest SoD Matrix and key information regarding this topic please refer to SAP Notes:
    986996
    1326497
    Hope it helps. Regards,
      Imanol

Maybe you are looking for

  • Excise amount not updating while posting invoice

    Dear SCN's, I have done GRN and captured excise amount and later in invoice posting these captured excise values are not updating. Please help me out where the root cause might be, please share your views were might be the error. And also help me wit

  • Populate Serial Number from SO to forms

    Hi Gurus Need yr expertise.. I have maintained serial number in Sales Order (Extras --> Technical Objects).. I have a requirement to print the serial number in forms.. How do I do that? I have checked the serial number and it is in structure (RIWOL-S

  • Email contents using ABAP

    Hi, I am using FM 'SO_NEW_DOCUMENT_SEND_API1' to send an email to internet address. Problem is even after populating the content internal table in table interface of FM, I am not seeing any contents in actual email. Here is the sample code: lt_object

  • Command line stuff

    For some reason I can't get my program to run with the command line. It says that it can't find the main method, but when I run it in JCreator it works perfectly. I set the path to "C:\Program Files\Java\jdk1.5.0_05\bin" Then I went to the directory

  • Issue with AEGP_GetNextProjItem().

    Hi All,           I applied my effect and saved the project on MAC CS4. When I opened it again on MAC it worked fine. When I opened it on Windows CS4, AE hangs. When I debugged, the issue was that AEGP_GetNextProjItem() was failing to return a new it