Problem loading saved contents back in their places

I have now gotten the idea of saving multiple components text into one file. But now when I open that file all the text in the file goes into the text of only one component. Here is the code,
<s:Button x="14" y="4" label="Save">
                            <s:click>
                                var f:File = File.desktopDirectory;
                                f.browseForSave("Save As");
                                f.addEventListener(Event.SELECT, function (event:Event):void {
                                var stream:FileStream = new FileStream();
                                stream.open((event.target as File),FileMode.WRITE);
                                stream.writeUTFBytes(rte.htmlText);
                                stream.writeUTFBytes(ta.text);
                                stream.writeUTFBytes(rich.text);
                                stream.close();
                            </s:click>
                        </s:Button>
<s:Button x="92" y="4" label="Open">
                            <s:click>
                                var f:File = File.desktopDirectory;
                                f.browseForOpen("Select file to open", []);
                                f.addEventListener(Event.SELECT, function (event:Event):void {
                                var fs:FileStream = new FileStream();
                                fs.open(event.target as File, FileMode.READ);
                                rte.htmlText = fs.readUTFBytes(fs.bytesAvailable);
                                ta.text = fs.readUTFBytes(fs.bytesAvailable);
                                fs.close();
                            </s:click>
                        </s:Button>
Some suggestions?

I was referring to the URL displayed in the small piece of coding of your first post.
http://www.<project>.com:8082/servlet/getviewsIf it needs parameters, you may type this in the address bar of your web browser :
http://www.<project>.com:8082/servlet/getviews?name1=value1&name2=value2&name3= ...// and so on

Similar Messages

  • Problem loading saved documents after intall.

    Hi - In installed the pages upgrade last week, but today when I tried to open some documents saved yesterday, pages tells me I need to upgrade to a newer version. When I click on the link to the app store, it tells me I've already upgraded.
    Is anyone else having this problem?
    Please help, I can't open a job application I was filling out!

    I found the solution myself because of a related problem I had while trying to do the same in C++.
    The problem is that softokn3.dll needs to load most of the DLL files in the Program Files/Mozilla Firefox directory, but it can't find those because it's not looking for them there. When you copy all those DLL's to the WINDOWS/system32 folder, the error "Caused by: java.io.IOException: The specified module could not be found." doesn't occur anymore.
    To be able to read certificates from this store, change the pkcs11.config file as follows:
    name=NSSSoftToken
    slot=2
    library=C:\Program Files\Mozilla Firefox\softokn3.dll
    nssArgs="configDir='C:/Documents and Settings/sdm/Application Data/Mozilla/Firefox/Profiles/tjx04kze.default' certPrefix='' keyPrefix='' secmod='secmod.db' flags=readOnly"Mind the single slash / in the configDir path! If you use double backslashes \\ it won't work!

  • Problems loading saved item in LOV :-(

    I have two LOV's
    these are cascaded lists
    say p12_customer_name (parent) belongs to customer table
    and p12_project_list_id (child) belongs to items table
    When a customer name is selected , all the projects related to that customer are loaded in project_list_id LOV. I can perfectly create a new entry and it saves the data in the database as well
    Now when I click on the edit icon from an interactive report it loads everything apart from selected customer name and project name.
    here is how the table relation goes.
    there is one table called "*Items*" based on this table the interactive report is been created.
    this table has a column called project_list_item_id which is fk to "*project_list*" table which contains Customer_id column which in turn is fk to "*customer*" table.
    I need help as to how can I load the saved customer data??
    Any help on this would be beneficial.
    Thank you :-)
    ps: I am using Apex 4.2 (recent update)

    Hi,
    you will need a process or computation to populate your P12_customer_name/id page item, because it's not a database column.
    The process/computation should fire after the "Fetch" process on your page which populates the database column based p12_project_list_id.
    Try something like (if you use a computation of type SQL)
    select customer_id
      from project_list
    where project_list_item_id = :p12_project_list_idYou should also have a condition to only fire the process/computation if p12_project_list_id is not null, so that it doesn't fire if you are in CREATE mode.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Flash cs4 mac - Error opening URL '/:Users:someting.swf' - Not a "loading external content" problem

    Hello.
    I am having a weird problem when trying to test a movie or publish preview -> flash on mac with Leopard os.
    The result is a blank movie with the usuall "movie not loaded" if u right click on it and the output returns the "Error opening URL 'the path of the swf here'.
    This has nothing to do with loading external files or something like that. It happens even in blank movies and it gives the same error if I try to open a swf from flash ide.
    I can publish the project or export the movie with no problem at all.
    I can preview the movie in html. I can run all the swf files in my hard disk, network, usb stick, dvd etc., but when I try to open any of these files from flash ide I got that stupid error.
    Its not something that stops me from working in flash ide but its slow to export movie any time I want to test it.
    Things that I've tried so far but nothing worked:
    Update the flash cs4 to the latest version
    Update the flash players
    Restored the release flash player as default player (I am using as default the debug player)
    Cleared the preferences
    Move the flash cs4 folder to another location in hd
    Saved the fla document first before testing the movie (in different places with or without spaces in document name or folder)
    Give read & write permissions for everyone for flash.app, players and for fla files when saved first before test movie
    Unistall and install the application 3-4 times.
    Test every as version just in case.
    Also I've checked the folders when testing movie and I can see that it creates an swf file, which I can run it outside flash ide (the one that the flash ide player cannot load) with no problem.
    The mac os has the default set up as it came. Nothing chnaged in permissions or security settings.
    Thanx in advance.

    In this particular example I am using this code to start the
    xml file load:
    // now load the XML file that contains the content strings
    var sXMLFile:String = "xml/home.xml";
    var xmlContent:XML = new XML();
    xmlContent.ignoreWhite = true;
    xmlContent.onLoad = onXMLLoadComplete;
    xmlContent.load( sXMLFile );
    But I don’t think the code is the problem here . This
    happens on every file I load when I am using a relative path to the
    content, regardless of how I load the content (XML object,
    loadMovie, MovieClipLoader, etc…) and the same code executes
    perfectly on every other machine in the office(Mac and PC).
    I’m more concerned with the semi-colons and .swf filename
    that Flash is putting into my relative path on the error message.
    Is that normal?

  • Problem loading content from iTunes library and Netflix

    Everytime I try watching a TV episode, movie, or Netflix show, I get an error sign with loading the content.  It's not restricted to Netflix and also includeds recently purchased and saved items through iTunes library.  What can I do to resolve this problem?

    Try restarting AppleTV (menu and down on remote together for 6 secs) and your router.

  • The icons for links are gone. In their place are hyphentated boxes. After I click on the link once the real icon comes back. But litterally EVERY link icon is now a hyphenated box till I click once. How can I fix this?

    The icons for links are gone. In their place are hyphenated boxes. After I click on an existing link once the real icon comes back. For Example: I have several bookmark links for Amazon. Those links now have hyphenated boxes as their icons not the Amazon icon. Once I click on an existing link the Amazon icon is activated and replaces the hyphenated boxes. Literally EVERY bookmark / link icon is now a hyphenated box till I click once. How can I fix this? I'm running Firefox 8.0 on windows XP. This problem started this week. Before and After upgrading to firefox 8.0 from 7.xxxx. See screen shot example.jpg i've attached below. Double click to enlarge it for better viewing. Any input welcomed. Not a major problem but I would like to have the icons back.
    Thanks
    Maxboyd

    Thanks. That solved it. I had my doubts since I wasn't concerned about my lost bookmarks. I was concerned about the broken functionality. In any event, restoring from a backup solved both the functionality and the lost bookmarks. I appreciate the response!

  • I try to see a movie, an error is displayed: An error ocurred loading this content. Try again later, and i can´t see the movie and I payed for it. What can i do,  I tried at least 10 times, and the problem continues

    I try to see a movie, an error is displayed: An error ocurred loading this content. Try again later, and i can´t see the movie and I payed for it. What can i do,  I tried at least 10 times, and the problem continues

    Welcome to the Apple Community.
    Try pulling all the cables for a few moments and trying again.

  • I've rented several movies over AppleTV, but can not download. I get a message "An error occurred loading this content. Try again later. " i've been trying for 3 days now... anyone with similar problem?

    I've rented several movies over AppleTV, but can not download. I get a message "An error occurred loading this content. Try again later. " i've been trying for 3 days now... anyone with similar problem?

    I have the same issue, to temporarily fix it go to Settings > General > Restart.  When it restarts the movie should play.  You have to do this for each movie for the most part.

  • Problems with iTunes Festival "A error occurred loading this content"

    Hi
    I'm having problems getting iTunes Festival to work, I can click through shows but when i click on "play" for any particular one I get the dreaded "An Error Occured loading this content"
    So far from what I've tried, most things work well, some things give me that error:
    What works well:
    Netflix
    Podcast
    Redbull TV
    Bloomberg
    What give me "an error occured loading this content":
    iTunes Festival
    Crackle
    (note: i havent tried everything yet)
    What I've tried:
    1) restarting apple tv
    2) resetting (pressing down and menu at the same time)
    3) resetting my wifi router
    4) changing ATV DNS to google 8.8.8.8
    5) changing ATV DNS to auto
    I'm pretty sure its not my wifi or router because netflix and etc work in HD with no pr

    I have the same problem I use a BT home hub the old white one and a iPad 4 if I reboot the hub it works ok for pics and some I player content then when I try to load a certain program it crashes and I need to reboot the hub again. Is this a problem with the hub?

  • In version 3.x.x I used to be able to type search terms into the address bar and the page would load, similar to Google's "Feeling Lucky" button. Now it just brings up a Google search for the terms I typed in. How can I get this time saving feature back?

    In version 3.x.x I used to be able to type search terms into the address bar and the page would load, similar to Google's "Feeling Lucky" button. Now it just brings up a Google search for the terms I typed in. How can I get this time saving feature back?

    The change between Firefox 3.6.* and Firefox 4 is how location bar search works. In Firefox 3.6 it uses Google "Browse by name" search. With the browse by name search, it performs a Google search and if there is a clear match it will take you to the site, otherwise it shows the Google search result. With Firefox 4 it just performs a Google search if you type something which is not recognised as a URL.
    To get the Firefox 3.6 behaviour on Firefox 4 you need to change a hidden preference.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''keyword.URL''', double-click on it and change its value to the link shown below
    [http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q= http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=]
    If you prefer, you can also do this by installing the Browse by Name extension - https://addons.mozilla.org/firefox/addon/browse-by-name

  • Recovered files in the trash.  How do I put them back to their original place so that they do not keep being recovered very time I open my Mac?

    I keep getting the same recovered files in the trash.  How do I put them back to their original place so that they do not keep being recovered very time I open my Mac?

    The recovered files are temporary files used by Mac OS X applications. Usually temporary files are deleted by an application when it no longer needs them. If an application quits unexpectedly, the temporary files may not be deleted by the application. When you restart your computer, Mac OS X moves these temporary files to the Trash.
    You can retrieve useful files by dragging them out of the Trash. In most cases, however, the temporary files are not important and it is safe to empty your Trash. Check with the manufacturer of the application if you are not sure.

  • I can watch netflix on my ipad but on my tv is shows "an error occurred loading this content." Any ideas as to the problem?

    I can watch Netflix on my ipad but on my tv it shows "an error occurred loading this content" Can you suggest a solution to my problem?

    Make sure DNS is set to ISPs (settings - general - network - DNS should be set to automatic). Trey rebooting ATV, and router. Make sure all are up to date.

  • "An error occurred loading this content" problem for rented movies

    I have an AppleTV 2 connected via Ethernet to my BT Home Hub router and HDMI to my TV. My OSX (Lion), iTunes and AppleTV software are all up to date.
    Everything works fine apart from renting movies. When I rent a movie, it shows I can play it rather quickly (too quick in my mind, I thought you had to wait for a certain amount to download) so this is strange. BUT when I do go to play it it states:
    "An error occurred loading this content. Please try again later"
    There is no other error to inidicate the issue. If I do try later (sometimes 2 days later) I still get the error.
    I tried downloading Hall Pass, The Eagle and The Adjustment Bureau, all were the same.
    I can stream YouTube and Radio from the net, I can stream music, pictures and video from my iMac OK. Its only rented movies.
    I contacted Apple and they basically told me there is nothing wrong with the content so sent me some standard troubleshooting links none of which help, and said to post if here. So Apple will not help any more.
    This used to work fine, some months ago I rented a couple of movies OK. The only things that would have changed since then are possibly upgrading AppleTV software (I dont know if I did this after renting a movie OK), and upgrading to Lion and to iTunes latest software.
    Would any of these upgrades, especially to Lion, affect AppleTV rented movies???
    Thanks

    I have the same issue, to temporarily fix it go to Settings > General > Restart.  When it restarts the movie should play.  You have to do this for each movie for the most part.

  • TS3623 "An error occurred loading this content..try again later" is the message that I get when using my Apple TV remote.  I click on Breaking Bad; then I click on an episode and get the message which I just quoted.  Is this a Netflix problem?

    Why am I getting the following message when using my Apple TV remote on Netflix:  "An error occurred loading this content....try again later?

    Make sure DNS is set to ISPs (settings - general - network - DNS should be set to automatic). Trey rebooting ATV, and router. Make sure all are up to date.

  • I am trying to start a movie and it will not start. The message is "an error occurred in loading this content". Has anyone had this problem before?

    I am trying to start a movie and it will not start. The message is, "an error occurred loading this content". Has anyone had this message before? Any solution?

    Hi there TonyCashio,
    You may find the troubleshooting steps in the article below helpful.
    Apple TV (2nd and 3rd generation): Troubleshooting playback performance
    http://support.apple.com/kb/TS3623
    -Griff W. 

Maybe you are looking for