SendAndLoad with accented url

Hi all,
I have a little flash application(cs4) to read xml files and to display the contents. xml files are being read using LoadVars::sendAndLoad() over http. It works fine unless I have an accented characater in the url. For example:
http://localhost/rss/news.xml  - works fine where as
http://localhost/rss/News_português.xml won't work.
Anybody ever faced this issue ? Any idea how to get around the problem ?
I appreciate your help.
Thanks
Faisal

Thanks, I tried URLLoader like you have advised, I am getting the following error messages:
1- The class or interface 'flash.net.URLRequest' could not be loaded
2- The class or interface 'flash.net.URLLoader' could not be loaded
I am using the first example in this url:
http://help.adobe.com/en_US/OSMF/1.0/AS3LR/flash/net/URLLoader.html
import flash.display.Sprite;
    import flash.events.Event;
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.text.TextField;
    import flash.text.TextFieldAutoSize;
    import flash.xml.*;
    import flash.events.IOErrorEvent;
class includes.clsUserFeeds extends MovieClip
public function ReadChannel(strFeed, bCheck)
        var request1:URLRequest = new URLRequest(strFeed);
        loader = new URLLoader();
        try
            loader.load(request1);
        catch (error:SecurityError)
            trace("A SecurityError has occurred.");
        loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
        loader.addEventListener(Event.COMPLETE, loaderCompleteHandler);
        xmlTextField.x = 10;
        xmlTextField.y = 10;
        xmlTextField.background = true;
        xmlTextField.autoSize = TextFieldAutoSize.LEFT;
        addChild(xmlTextField);
    private function loaderCompleteHandler(event:Event):void {
                try {
                    externalXML = new XML(loader.data);
                    readNodes(externalXML);   
                } catch (e:TypeError) {
                    trace("Could not parse the XML file.");
        private function readNodes(node:XML):void {
                for each (var element:XML in node.elements())
                    trace(element.attributes()[0] + "\n");
                    readNodes(element);
        private function errorHandler(e:IOErrorEvent):void {
            trace("Had problem loading the XML File.");
Do I have to do anything specifically in project settings to use actionscript 3 ?

Similar Messages

  • Arabic text with accents shown broken

    Hello,
    In FireFox 4, Arabic text with accents (ًٌٍَُِّْ) is shown broken. It was displayed correctly in previous versions and also in IE.
    Consider please the following examples, and compare between the words with and without accents. You can see the gaps between the letters:
    دعم فَيَرفُكس
    مُتَصَفِّحُ فَيَرفُكس هُو مُتَصفح الانترنت الأفضل فى العالم
    The problem is not site specific. It is common to all sites with Arabic texts. I'll just provide an example URL. Compare the display of FF4 with previous versions or with IE.
    Thank you.. You are the best !! :)

    BTW, disabling/enabling the option "allow web pages to use their own fonts" had no effect. The broken text problem is the same in either case.

  • Muse and the beyond annoying and awkward menus help with French titles with accents that don't work?

    I am doing a French/English site.  The only way I can do this is do two sites and then do creative linking.  That sucks.  Go Live allowed me to have as many pages as I wanted and Menu Machine worked pretty decently as it allowed me to have different menus so a bilingual site was a piece of cake.  Now I have to do two different sites and the problem is some of the page names in french have accents as needed in that language.  The village idiots at adobe did not take that into account and now of couse I have an issue and will need to create navigation for the french elsewhere and import as a graphic.  This is beyond stupid.  Anybody have a solution. Adobe told me too bad so sad the software is in its' infancy. Well then why the hell did they get rid of Golive which worked well for designers.  Because Muse is so dumbed down I am not able to do anything about the menus as the menus are dictated by the page names.  If you decide to do a manual menu you can not have just words with state changes as the bloody menus sytem will not allow that. The design requires just the words having state changes this is not abnormal.  REALLY.  I am beyond frustrated and pissed off and equally pissed off Adobe hangs us out to dry not even having phone contact just some dudes in Inia on the chat which sucked.  Any solutions? Anybody at Adobe actually understand this is a problem and might suggest it will be fixed in updates but in the meantime help me solve th eproblem easily.  I can live without stupid scrolling I would rather have solid software that is easy to use and some degree of fleixibility if you are a seasoned designer who does a lot of web. But dumbed down for the folks who just want to do a simple site.  Yikes this is frustrating. Any help would be appreciated.

    Village idiot here, apparently...
    In Page Properties you can independently set the page name (used in menu widgets), the page title (displayed in the browser tab) and the file name for the .html file for the page.
    To create a menu where only the appearance of the text change across states:
    1) select a menu item
    2) select each state in the State panel and click the trash can to clear all pre-existing state-specific formating
    3) choose the Normal state and set all the text formatting that will be the same across all states
    4) select mouse down, roll over or active state
    4) set the text properties you want for that state in the Text Panel
    5) repeat for the other two states
    6) you may want to set the fill and stroke on the menu item Normal state to none, so only the text of the menu items is visible
    The automatic "All Pages" and "Top Level" pages menu functionality is currently limited to being site-wide, so for the multi-lingual site you describe your choices are to have one automatic and one manual menu, two manual menus, or create two sites. It depends on the size of your site, the complexity of your menu and your personal preference which is best for your case.
    If accents are not being preserved through your workflow, please share:
    1) URL for an example page that demonstrates mangled accents
    2) How you're uploading your site? Publish to BC? File > Upload to FTP Host? Export and external FTP client?
    3) If you're not hosting with Adobe (BC), who's your hosting provider.
    If accents are not being preserved that generally indicates a problem with how the files are being transferred to the server and/or a problem with how the server is configured. The output of Muse fully supports accented characters throughout the workflow.
    Many members of the user community are active here, along with the technical support team and several members of the development team, like myself. We generally respond most effectively to clear questions with screenshots, URLs of example page, etc.
    There are a lot of tutorials, videos, templates, widgets, etc. available online from Adobe and other sources:
    http://muse.adobe.com
    http://lynda.com
    http://muse-themes.com
    http://musegrid.com
    http://qooqee.com
    http://muselayers.com
    http://museresources.com
    http://museworld.com
    etc.

  • Pb with accent

    Hi,
    I've got a problem with WL 6 SP1 running on Solaris 5.8. I don't manage to get
    my characters with accents properly. For an "é" or an "è" (&eacute or &egrave),
    i get an &yacute ??? or something like that
    It works properly with my server WL 6 SP1 on Windows NT 4. It's exactly the same
    files.
    I've this tag in my HTML and JSP pages :
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> but it
    doesn't seem to make any change.
    Has someone an idea ? Someone talk me about the LC_... environment variable on
    UNIX but it doesn't work.
    Thanks
    Yvan

    i use this
    <portlet:validatedForm event="myevent" ... >
    <webflow:text name="mytext"/>
    </portlet:validatedForm>
    and i don't know how can i use the enctype="application/x-www-form-urlencoded"
    with URLEncoder??
    am i in the right way?
    "Falk" <[email protected]> wrote:
    >
    Did you try to URL-encode and -decode your data?
    Otherwise it will get corrupted. Your data has
    to comply to the HTTP protocol. International
    characters have to be encoded to get submitted
    correctly.
    There are helpers to do it, like
    java.net.URLEncoder / Decoder.
    Some tags in Portal do that for you automagically,
    like <cm:getProperty encode="url"/>
    Falk
    "jpmeert" <[email protected]> wrote:
    Hello,
    I have some problem to use, character like 'é' or 'à', ...
    i use form tag in Weblogic Portal 4.0, and when i get the data fromthe
    form,
    i have character like 'é' for any character who have a code greater
    than 128.
    There is some one who have a solution?

  • Portal with a URL using a Web browser in java stack

    Dear all,
    I can access the portal with our URL using a Web browser from your client machines .
    i got the following option :
    SAP Library
    SAP Library contains the complete documentation for SAP Web Application Server.
    Web Services Navigator
    Web Services Navigator is a tool that gives you a short overview of a specific Web service based on its WSDL, and enables you to test your Web service by creating and sending a client request to the real end point.
    System Information
    System information provides administrators with an overview of the system configuration and its state. It shows all of the system's instances and processes, their current state and important parameters (such as ports) that may be required for support cases, as well as the versions of the components installed.
    UDDI Client
    The UDDI client provides query and publishing functions for different Web service entities (tModels, business services) to any UDDI compliant registry.
    User Management
    The user management administration console provides administrators with the functions they need to manage users, groups, roles, and user-related data in the User Management Engine (UME). Users without administrator permissions can use it to change their user profile.
    Web Dynpro
    Web Dynpro is a User Interface technology available within the SAP NetWeaver Developer Studio.
    Various Web Dynpro tools provide administrators and application developers with performance measurement and application administration capabilities. The Web Dynpro runtime is already deployed.
    SAP NetWeaver Administrator
    A tool for administration and monitoring, offering a central entry point to the whole SAP NetWeaver system landscape. The SAP NetWeaver Administrator can be used in a central scenario where it is capable of operating an entire system landscape containing ABAP and Java systems as the application platform of SAP NetWeaver.
    J2EE Engine Examples
    This section contains several J2EE application examples that run on the J2EE Engine. The examples show some of the functions of both Java and the J2EE Engine. They can be easily deployed and tested by simply clicking on a button. The full source code of the examples is also available.
    when i click System Information:
    it ask user name () J2EE_ADMINand password (Installtion master password) ,after entered , i got below error .
    You are not authorized to view the requested resource.
      Details:   No details available
    Kindly suggest .

    Hello
    It means what it sais, your J2EE_ADMIN user doesn't have enough authorization.
    Chech if the appropriate authorization is assigned in your abap stack which belongs to the java stack you logon to:
    Role SAP_J2EE_ADMIN should be assigned to user J2EE_ADMIN.
    Kind regards
    Tom
    Edited by: Tom Cenens on Dec 17, 2010 2:55 PM

  • Access to a website with a URL ending on .exe does not work

    I need to access a website with a URL ending on .exe - Internet Explorer does not have any issues but with Firefox I only get the "file download" dialog box. Is there a setting where I can prevent this behaviour?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • I want to create home page for my application with short URL

    I want to create home page for my application with short URL
    as when I want user to use my application user must go to URL like this
    http://127.0.0.1:7101/My-Project/faces/app/empModule/allEmployees/viewMyEmployees.jspxI want the user to use short URL , How can I use shorter URL not all this one.
    I want shorter URL for my application not to write full path .
    thanks in advance.
    Edited by: user611775 on Oct 31, 2010 10:21 PM

    Well,
    it's up to you. The first part (Mcit-Project-ViewController-context-root) is the context root which you define in the view controller project. 'faces' is the name the servlet filter reacts on. You can't omit it but shorten it in web.xml. The rest is your directory structure. I'm not sure how to shorten this other as to move the jspx files back into the web root folder.
    By the way an ADF faces app never uses the .jspx at the end of the url. If you specify '.jspx', you only render the page but don't start the work flow.
    Timo

  • How to pass session variable value with GO URL to override session value

    Hi Gurus,
    We have below requirement.Please help us at the earliest.
    How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version  Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
    Please provide step by step solution.No vague answers.
    I followed below steps mentioned.
    RPD:
    ****-> Created a session variable called STATUS
    -> Create Session Init block called Init_Status with SQL
        select 'ACTIVE' from dual;
    -> Assigned the session variable STATUS to Init block Init_Status
    authenticationschemas.xml:
    Added
    <RequestVariable source="url" type="informational"
    nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
    Report
    Edit column "Contract Status" and added session variable as
    VALUEOF(NQ_SESSION.STATUS)
    URL:
    http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
    Issue:
    When  I run the URL above with parameter EXPIRED, the report still shows for  ACTIVE only. The URL is not making any difference with report.
    Report is picking the default value from RPD session variable init query.
    could you please let me know if I am missing something.

    Hi,
    Check those links might help you.
    Integrating Oracle OBIEE Content using GO URL
    How to set session variables using url variables | OBIEE Blog
    OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
    Thanks,
    Satya

  • I have Firefox 6.0 running under Windows XL. When I forward an email with a URL in it, my recipients tell me the URL is not highlighted and they have to cut and paste it into their browser. Why? How can I get my forwarded URLs to be highlighted?

    I have Firefox 6.0 running under Windows XL. When I forward an email with a URL in it, my recipients tell me the URL is not highlighted and they have to cut and paste it into their browser. Why? How can I get my forwarded URLs to be highlighted?

    If you think getting your web pages to appear OK in all the major browsers is tricky then dealing with email clients is way worse. There are so many of them.
    If you want to bulk email yourself, there are apps for it and their templates will work in most cases...
    http://www.iwebformusicians.com/Website-Email-Marketing/EBlast.html
    This one will create the form, database and send out the emails...
    http://www.iwebformusicians.com/Website-Email-Marketing/MailShoot.html
    The alternative is to use a marketing service if your business can justify the cost. Their templates are tested in all the common email clients...
    http://www.iwebformusicians.com/Website-Email-Marketing/Email-Marketing-Service. html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • How to register the same schema with same URL

    I'm getting ORA-31085 error when try to register the same schema with same URl.
    My requirement is that I should be able to reregister the same schema with the same URL .
    I'm using the following function :
    PROCEDURE validateXmlSchema(inp_xmlMsg IN VARCHAR2,
    out_isValidDoc IN OUT NUMBER,
    inp_xmlSchema IN OUT VARCHAR2,
    out_varchar_notused OUT VARCHAR2)IS
    xmldoc XMLType;
    res number;
    BEGIN
    xmldoc := XMLtype(inp_xmlMsg);
    res := xmldoc.isSchemaValid(inp_xmlSchema);
    IF (xmldoc.isSchemaValid = 1) THEN
    out_isValidDoc := 1;
    ELSE
    out_isValidDoc := 0;
    END IF;
    END validateXmlSchema;
    This is used recursively.Until the schema is not validated for a given URL this function should keep on throwing error and once the schema is validated the data should be inserted in the DB.
    But its not happening as of now instead the ORA-31085 is thrown second time.
    Plz provide pointers to solve the issue.

    "mjs" <[email protected]> wrote in message
    news:g7kjk5$o6$[email protected]..
    > "mjs" <[email protected]> wrote in message
    > news:g7gl2g$i3d$[email protected]..
    >> "Zorrrro" <[email protected]> wrote
    in message
    >> news:g7gcjv$a6n$[email protected]..
    >>> I'm completely nuckered trying to find an answer
    for this...
    >>>
    >>> Does anyone know how to keep the same width an
    position of the submenus
    >>> of a
    >>> horizontal dropdown menu?
    >>> Thank you in advance.
    >>>
    >>> Cheers.
    >>
    >> Doesn't a simple style="width:200px" in the input
    tag work?
    >
    > I'll asume the answer is "yes", then. ;) You're welcome.
    I believe the OP is talking about a dropdown menu like this
    one
    http://www.tjkdesign.com/articles/keyboard_friendly_dropdown_menu/default.asp
    not about a "select menu".
    I could be wrong though...
    Thierry
    Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    http://developer.yahoo.com/
    helps you build applications and mashups

  • How can I change from the Swiss german language to the Swiss french language and have a keyboard with accent

    I have uggraded the soft on my iPad and now I have not anymore  the swiss french keyboard with accent. I am wondering what to do to go back to a french version ? Thanks for your help.

    mario from le locle wrote:
    Franklin, you ask me to select the French (Switzerland keyboard) but I have not that keyboard on the list !
    Then something is not right with your iOS 5 installation.  You should try resetting your device.
    Every correct iOS 5 install should have the choices French, French (Canada), French (Switzerland) on the list from which you add keyboards.

  • How can I do a backup listing of all of my bookmarks, with complete URLs to print out from a wordpressing program?

    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    How can I make a backup listing of all of my Firefox bookmarks, with complete URLs, so I can print it out from a word precessing document? Please email me the answer-
    [email protected]
    == Firefox version
    ==
    2.0.0.4
    == Operating system
    ==
    PPC Mac OS X Mach-O
    == User Agent
    ==
    Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
    == Plugins installed
    ==
    *-Netscape Navigator Default Plug-in
    *Runs Java applets using the latest installed versions of Java. For more information: Java Embedding Plugin. Run version test: Test Your JVM.
    *Plugin that plays RealMedia content
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.
    *Shockwave Flash 9.0 r260
    *Provides support for Digital Rights Management
    *Provides support for Windows Media.
    *Java 1.3.1 Plug-in (CFM)
    *Macromedia Shockwave for Director Netscape plug-in, version 8.5.1
    *Java 1.3.1 Plug-in

    You can export the bookmarks to an HTML file: Bookmarks > Organize Bookmarks > File: Export
    See http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    See also [tiki-view_forum_thread.php?forumId=1&comments_parentId=252551 How do I print off my bookmarks]
    You should at least update to Firefox 2.0.0.20 if you are on Mac OS X 10.3.9 or lower and can't use more recent versions that require at least OS X 10.4
    See http://kb.mozillazine.org/Installing_Firefox
    The most recent Firefox version for OS X 10.3.9 is 2.0.0.20.
    Mac: http://download.mozilla.org/?product=firefox-2.0.0.20&os=osx&lang=en-US

  • How to load CSV with accented characters?

    Hi,
    I have a database instance with NLS_CHARACTERSET = 'AL32UTF'. I upload a csv file with APEX into WW_FLOW_FILES table and then parse it with dbms_lob.instr. The problem that I am facing is that if I save the CSV file in UTF8, then this works fine, if I save it in any other encoding then it's displaying 'funny' characters when I try to parse it and display the parsing result and the source data contains some accented characters, like, á, é, ő etc,
    I am not sure if this is an APEX issue or I rather be turning to NLS forum. TIA.
    Tamas
    Edited by: Tamas Szecsy on Jan 30, 2011 6:34 PM

    Did you every find a resolution to this issue on importing with accented characters?

  • I would like to know how do I install the brazilian keyboard into macbook air, keyboard with accents (Portuguese Language), I tried so many times how to put into it (Macbook Air). So, thanks for now! I'm waiting for it.

    I would like to know how do I install the brazilian keyboard into macbook air, keyboard with accents (Portuguese Language), I tried so many times how to put into it (Macbook Air). So, thanks for now! I'm waiting for it.

    After you go to system preferences/keyboard/input sources as suggested by sberman, click on the + button and scroll down to Portuguese and select that.  Over at the right you will see the choices Brazilian, Brazilian abnt, Portuguese.  You might want to add all three to see which you like best.
    The "Brazilian" layout is pretty useless.  It is identical to the US layout and the only way to make accents is via the option key shortcuts:  option + n, then o gives you õ.
    The Brazilian abnt and Portuguese layouts have dead keys for adding accents over at the right edge of the keyboard.  But these may not match what is printed on your keys.
    You may prefer to stay with the US layout.  On that you can get accented letters by just holding down the base letter and selecting what you want from the popup menu that appears.  Or you can use the option key shortcuts.
    Another option is the layout called US International PC, which has accent deadkeys on ~, ', etc.
    Which ever layout you want to use, you must select it in the "flag" menu at the top right of the screen.
    To see which key does what for any layout, use the Keyboard Viewer:
    http://support.apple.com/kb/PH13746

  • How to pass the portal language with the URL

    Dear experts,
    We are trying to call the SAP Enterprise Portal (Online Catalogue) from SAP ERP (ECC6) with an URL that looks somehting like this:
    http://xxx.com/irj/portal?j_user=xx&j_password=xx
    This works fine, however we would like to add the language as a parameter, something like &language=IT but this doesn't work. I've tried multiple paramaters but none of them brought any success.
    The only half-valuable parameter we found is ume.logon.locale which is only considered on the logon screen, though.
    Does anybody know which parameter I need to use? Does the SAP Enterprise Portal accept language settings comming from the URL?
    Thanks a lot & regards,
    Pascal Thalmann

    Hi Abdul and Ayyapparaj,
    Thanks a lot for your quick answers but unfortunatelly nothing helped.
    @Abdul: I am aware of this risk, but thanks for the hint. The paramter sap-langage was already known but did not bring the desired results - it seems not be accepted.
    @Ayyapparay: I had already visited the link you mentined in your reply. The list seems to be related to Web Dynpro Applications which does apply to my problem. Furthermore, the parameters I am using at the moment (j_user & j_password) are not documented.
    Any other ideas?
    Thanks a lot and regards,
    Pascal Thalmann

Maybe you are looking for

  • Error invoking bpel process using axis client

    When I am trying to invoke bpel process using axis client I'am having following error: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXException: Bad envelope tag: html fa

  • How to compile and deploy an ejb into Sun ONE app.server 7.0

    I am new to Sun ONE application server. I Have .java files and deployment descriptor files with me. How should proceed. When i tried to use asant it is saying that build.xml not found. I copied build.xml from some other directory to the current direc

  • How to make scheduled jobs Fail if the return partial results?

    How to make scheduled jobs Fail if the return partial results? Does anyone know if there is a way to do this? We have a number of reports that we schedule to various locations in Excel and PDF. We are frequently getting problems which are manifesting

  • Can't "require builder" for Ruby.

    I have not the faintest clue how Ruby and gems work. I'm just trying to compile some software. The following fails: require 'rake' require 'rubygems' require 'builder' Complaining that it can't find a file for builder. This is on a fresh install of r

  • Are the Help pages supposed to look this way?

    I think I may have one something to foul up the fonts - ? If I did, anyone know how to reduce them to original size? Here's a screenshot: http://i623.photobucket.com/albums/tt320/_dash/Screenshot2010-04-30at94526PM.png