Problem with loading rss feed in flash

I wrote the following simple code to get started with loading
rss feed:
var document = new XML();
document.onload = myLoadHandler;
document.load("
http://www.nytimes.com/services/xml/rss/nyt/Business.xml");
trace(document.status);
trace(document.loaded);
trace(success.toString());
But the result I got is always this:
0
false
undefined
It is the same even for local xml files saved in the same
directory as the flash file.
Could someone please help me?
Thanks so much~

It's necessary to discard the white spaces.
Set the ignoreWhite property to true.
document.ignoreWhite = true;
Regards,
Erick Souza | ericksouza.com

Similar Messages

  • Other problems with loading Captivate files into Flash AS3 project

    I have a Captivate file done with Captivate 3, published to
    Flash player 9 that is being loaded into Flash AS3. The captivate
    is a simple recording of some mouse clicks in a browser. I am
    displaying the playbar along the bottom, and its buttons all work
    fine except for the progress bar, where you can drag the knob and
    scrub back & forth in your presentation.
    This progress bar is not working as it should. I see the
    mouse cursor change to a hand, but when I click I cannot drag the
    knob to control the progress bar. The other buttons in the playbar
    do work (replay, pause, play, back, forward).
    This is a unique problem in that it is only happening when
    viewed in IE (7) when loaded into my Flash AS3 project. When viewed
    in Firefox in my project, or as a standalone SWF, or as a SWF
    simply embedded onto a plain HTML page, it works just fine.
    Does anybody have any insight?
    Another thing I notice with loading Captivate files with AS3
    is the the amount of output messages it displays. Rather annoying
    (unless this is a "feature" I've yet to be aware of - heh)

    Hi,
    I know exactly how you feel, there is simple answer; replace
    Captivate for Camtasia Studio 5 at techsmith.com. The weight on
    those shoulders will be gone! You'll smile more, be more
    socialable. One Happy Person.
    I am very happy person ;)
    Kind Regards,
    Boxing Boom

  • Problems with the RSS feed for my podcast

    Hi, am very new to this so apologies if this requires a simple solution.
    I was told that to find the RSS for my podcast, I hover my cursor over the subscribe button and this will be it. When I do this I get:
    itpc://www.jilt.org.uk/publichtml/publichtml/Podcast/rss.xml
    I have tried this with itunes and it has been rejected as not working.
    Other information that might be useful for anyone trying to help is that my url is www.jilt.org.uk.
    I have entered "jilt" as the sitename on Iweb but this doesn't seem to come up anywhere.
    Am very confused by it all and would hugely appreciate any advice.

    You seem to be uploading to a server that uses a public_html folder as the root folder.
    Inside this you have a copy of the public_html folder and, inside this is a copy of your website.
    You also appear to have your files uploaded to the public_html folder because your podcast is available here....
    http://www.jilt.org.uk/Podcast/Podcast.html
    So that you don't break the RSS feed what you need to do is this:
    Publish the site to a local folder and you should get an index.html file and a folder named "jilt".
    Upload these to the top level public_html folder. Now open the site in the browser and hover over the "Subscribe" button to get the feed's URL.

  • Problems with SDN RSS Feed - part 1

    Hi all, this is the first question I have regarding the SDN RSS Feed and it's processing. I have followed Brian's weblog  'RSS = HttpClient + XML + XSLT' (link: /people/brian.mckellar/blog/2004/06/25/bsp-programming-rss-httpclient-xml-xslt). When testing this example I run into a problem when executing the following commands:
    node = element->find_from_name( name = 'creator' ).
    <blog>-creator = node->get_value( ).
    node = element->find_from_name( name = 'date' ).
    <blog>-date = node->get_value( ).
    Both values seem to be empty resulting in a HTTP_COMMUNICATION_FAILURE. When I comment these lines out the example runs correctly. Checking the actual RSS Feed, http://weblogs.sdn.sap.com/pub/q/weblog_rss_topic?x-topic=24&x-ver=1.0, there are entries for dc:creator and dc:date, so I changed my code accordingly but no success. Any idea what is causing this issue? Thanks, Tiest

    Brian, as discussed attached a test programm that shows the first error I am unable to understand.... Hope this makes it easier for you all to help me understand what is causing this issue. Thanks in advance, Tiest.
    REPORT  ZBSP_FAQ_RSSTST                                            
      DATA: url         TYPE STRING,
            http_client TYPE REF TO IF_HTTP_CLIENT,
            return_code TYPE I,
            content     TYPE STRING.
      url = 'http://weblogs.sdn.sap.com/pub/q/weblog_rss_topic?x-topic=24&x-ver=1.0'.
    url = 'http://weblogs.sdn.sap.com/pub/q/weblogs_rss?x-ver=1.0'.
      cl_http_client=>create_by_url( EXPORTING url    = url
                                     IMPORTING client = http_client ).
      http_client->send( ).
      http_client->receive( ).
      http_client->response->get_status( IMPORTING code = return_code ).
      content = http_client->response->get_cdata( ).
      http_client->close( ).
    Parse response into XML Document
      TYPE-POOLS: ixml.
      DATA: ixml          TYPE REF TO if_ixml,
            streamFactory TYPE REF TO if_ixml_stream_factory,
            istream       TYPE REF TO if_ixml_istream,
            parser        TYPE REF TO if_ixml_parser,
            document      TYPE REF TO if_ixml_document.
      IF content CS '<!DOCTYPE' AND content CS ']>'.
        DATA dummy type string.
        SPLIT content AT '<!DOCTYPE' INTO dummy content.
        SPLIT content AT ']>'        INTO dummy content.
      ENDIF.
      ixml     = cl_ixml=>create( ).
      streamFactory = ixml->create_stream_factory( ).
      istream  = streamFactory->create_istream_cstring( content ).
      document = ixml->create_document( ).
      parser   = ixml->create_parser( stream_factory = streamFactory
                                     istream         = iStream
                                     document        = document ).
      parser->set_normalizing( ).
      parser->set_validating( mode = if_ixml_parser=>co_no_validation ).
      parser->parse( ).
    Define table for BSP Output
      TYPES: BEGIN OF t_blog,
                title          TYPE string,
                link           TYPE string,
                description    TYPE string,
                creator        TYPE string,
                date           TYPE string,
             END OF t_blog,
             t_blogs TYPE TABLE OF t_blog.
      DATA:          blogs type t_blogs.
      FIELD-SYMBOLS: <blog> type t_blog.
    - Find all the <item> tags                                           -
      DATA:  collection      TYPE REF TO if_ixml_node_collection,
             node            TYPE REF TO if_ixml_node,
             element         TYPE REF TO if_ixml_element,
             index           TYPE i.
      collection = document->get_elements_by_tag_name( name = 'item' ).
      WHILE index < collection->get_length( ).
        APPEND INITIAL LINE TO blogs ASSIGNING <blog>.
        node     = collection->get_item( index ).
        element ?= node->query_interface( ixml_iid_element ).
        index    = index + 1.
        node = element->find_from_name( name = 'title' ).
        <blog>-title = node->get_value( ).
        node = element->find_from_name( name = 'link' ).
        <blog>-link = node->get_value( ).
        node = element->find_from_name( name = 'description' ).
        <blog>-description = node->get_value( ).
    <b>- Activating these two lines results in a shortdump, no idea what is causing this problem -</b>
        node = element->find_from_name( name = 'creator' ).
        <blog>-creator = node->get_value( ).
        node = element->find_from_name( name = 'date' ).
        <blog>-date = node->get_value( ).
      ENDWHILE.
      LOOP AT blogs ASSIGNING <blog>.
        write: / 'title:',       14 <blog>-title.
        write: / 'link:',        14 <blog>-link.
        write: / 'description:', 14 <blog>-description.
        write: / 'creator:',     14 <blog>-creator.
        write: / 'date:',        14 <blog>-date.
        write: /.
      ENDLOOP.
    Message was edited by: Tiest van Gool

  • Has anyone experience problems with loading the latest Flash Play?

    Has anyone experienced problems with loading the latest Flash Player?  I have done this several times and the same results come up - Install the latest Flash Player.  I run Microsoft Vista.

    What is your browser?  If IE see
    http://forums.adobe.com/thread/885448
    http://forums.adobe.com/thread/867968

  • Memory leak problems with loading videos over and over.

    I'm having memory leak problems with loading videos into a VideoPlayer aswell as FLVPlayback.
    What the flash should do:
    - Should be running for 7 days without having to restart the projector.
    - Interface that shows people around a 360 3D model with 5 different parts and at the stops it makes during the rotation you can click to zoom in on a location which plays a movie for that aswell.
    - Shows a video out of 5 parts for a 360 rotation in 3D in mp4 video (added each time and cleaned up, see code below).
    - Still images are used when the video clips are done playing (MovieClip in stage).
    - Should run automatically when there is no user interaction for X minutes.
    What the problem is:
    - The flash (as a exe and swf i guess) starts to consume memory over time (say 10 hours) until the projector crashes. This usually at around 1.75 GB of memory.
    I cannot see why the Flash cannot garbage collect this and free up the memory. Mabye there is something I don't understand about the garbage collection in flash?
    Here is some code from the video loading and playing:
    var fVideo:VideoPlayer;
    VideoCreate();
    function VideoReady(pEvent:VideoEvent):void
    trace("VideoReady()");
         // start playing video
    fVideo.play();
    function VideoLoad(pUrl:String):void
         trace("VideoLoad(" + pUrl +
         VideoCreate();
         if (pUrl != "")
              if (fVideoFolder + pUrl == fVideo.source)
                   fVideo.seek(0);
    VideoReady(null);
              } else {
    trace(fVideo.state);
                   if (fVideo.state !=
    VideoState.DISCONNECTED) fVideo.stop();
    fVideo.close();                                
    fVideo.load(fVideoFolder + pUrl);
         } else {
    // error no url
    function VideoCreate():void
         trace("VideoCreate()");
         // remove old one
         if (getChildAt(0) == fVideo)
              removeChildAt(0);
         fVideo = new
    VideoPlayer(1024, 768);
         addChildAt(fVideo, 0);
         fVideo.autoRewind = false;
    fVideo.addEventListener(VideoEvent.COMPLETE, VideoDonePlaying);
    fVideo.addEventListener(VideoEvent.READY, VideoReady);

    Hmm. It's in connection with Dropbox. Så apparantly you can only use one of the two at the same time if you want the programs integrated in Finder.

  • Rss Feeds in flash

    I'm working with different flash movies for a client. she has several flash movies playing back to back as advertisement for different retailers. Now she wants me to add Rss Feeds for local weather on the flash movies. Now i never done this before and I'm not really that familiar with AS. I've also googled for the past hours and kept finding how to add Rss feeds to flash WEBSITES not MOVIES (.swf)  if anyone could help me out, that would be greatly apreaciated.
    -T.Jin

    Here's a link to a tutorial that should help you.  Also, a flash site is a swf file.
    AS3 - RSS XML feed
    http://www.gotoandlearn.com/play?id=64

  • Beginner Has Problem With Loading JDBC Driver Using MySQL

    Hi, I am having problem with loading JDBC driver, and need your diagnotic help.
    1. I have installed MySQL (C:\mysql), created a databse (soup), and created a littel table (VIDEOS). I am able to see the table in the console:
    sql> select * from videos
    2. I have downloaded the latest version of Connector/J (mysql-connector-java-3.1.0-alpha.zip), and unzip the zip file into my C:\ directory.
    3. I copied the mysql-connector-java-3.1.0-alpha-bin.jar to the C:\j2sdk1.4.1_02\jre\lib\ext folder and it is in my CLASSPATH
    4. MySQL server is running
    C:\> C:\mysql\bin\mysqld-nt --standalone
    5. open another DOS window and use the database
    mysql>USE SOUP
    6. succesfully compiled a Java program (javac Test.java):
    import java.sql.* ;
    public class Test
    public static void main( String[] args )
    try
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    try
    Connection con = DriverManager.getConnection( "jdbc:mysql://localhost:3306/soup" );
    try
    Statement statement = con.createStatement();
    ResultSet rs = statement.executeQuery("SELECT TITLE FROM VIDEOS");
    while ( rs.next() )
    System.out.println( rs.getString( "TITLE" ) );
    rs.close();
    statement.close();
    catch ( SQLException e )
    System.out.println( "JDBC error: " + e );
    finally
    con.close();
    catch( SQLException e )
    System.out.println( "could not get JDBC connection: " + e );
    catch( Exception e )
    System.out.println( "could not load JDBC driver: " + e );
    7. when I run the Java program (java Test), I got
    the message:
    could not load JDBC driver: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    What am I missing?

    Hi,
    I missed to specify test in my last post.
    Try running your program by explicitly setting the classspath when
    running your program . java -classpath c:\mysql-connector-java-3.1.0-alpha-bin.jar test
    Make sure your jar file contains org.gjt.mm.mysql.Driver class

  • Problem with loading data to Essbase

    Hi All,
    I have a problem with loading data into Essbase. I've prepared maxl script to load the data, calling rule file. The source table is located in RDBMS Oracle. The script works correctly, ie. generally loads data into Essbase.
    But the problem lies in the fact, that after deletion of data from Essbase, when I'm trying to load it again from the source table I get the message: WARNING - 1003035 - No data values modified by load of this data file - although there is no data in Essbase... I've also tried to change the mode of loading data from 'overwrite' to 'add to existing values' (in rule file) but it does'nt help ... Any ideas what can I do?

    Below few lines from EPM_ORACLE_INSTANCE/diagnostics/logs/essbase/dataload_ODL.err:
    [2013-09-24T12:01:40.480-10:01] [ESSBASE0] [AGENT-1160] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1116830016] Received Validate Login Session request
    [2013-09-24T12:01:40.482-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1114724672] Received client request: Get App and Database Status (from user [admin@Native Directory])
    [2013-09-24T12:01:54.488-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1101564224] Received client request: MaxL: Execute (from user [admin@Native Directory])
    [2013-09-24T12:01:54.492-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1115777344] Received client request: MaxL: Describe (from user [admin@Native Directory])
    [2013-09-24T12:01:54.492-10:01] [ESSBASE0] [MLEXEC-2] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1115777344] Output columns described
    [2013-09-24T12:01:54.494-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1102616896] Received client request: MaxL: Define (from user [admin@Native Directory])
    [2013-09-24T12:01:54.494-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1102616896] Received client request: MaxL: Fetch (from user [admin@Native Directory])
    [2013-09-24T12:01:54.494-10:01] [ESSBASE0] [MLEXEC-3] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1102616896] Record(s) fetched
    [2013-09-24T12:01:54.496-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1116830016] Received client request: MaxL: Fetch (from user [admin@Native Directory])
    [2013-09-24T12:01:54.498-10:01] [ESSBASE0] [AGENT-1160] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1114724672] Received Validate Login Session request
    [2013-09-24T12:01:54.499-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1101564224] Received client request: Get Application State (from user [admin@Native Directory])

  • Problem With Loading the jars

    Hello Experts,
    I am facing a problem with loading classes.
    i have written one application which is running on server.in that application want to use certain jars(Classes)and those jars anmes and
    classes inside the jars are same.based on the condition i want to call
    corresponding class.
    can any one suggest the solution
    it's urgent
    any help will be appriciated
    thanks in advance
    With regds
    Bankuru

    Hi Yogee,
    Thanks for ur help.
    i have 4.o jars and 5.1 version jars.depending on the condingtion system must use the corrensponding jar.the problem here is that both jars has same clasees and code inside that one is differnet.
    when i run application with 4.o condition then 5.1 is not working and
    if i run tha application with 5.1 then 4.o is not working.
    can u please suggest the possible solution
    i have deployed these jars in application server
    With Regds
    Bankuru

  • Problem with loading file with SQL loader

    i am getting a problem with loading a file with SQL loader. The loading is getting
    terminated after around 2000 rows whereas there are around 2700000 rows in the file.
    The file is like
    919879086475,11/17/2004,11/20/2004
    919879698625,11/17/2004,11/17/2004
    919879698628,11/17/2004,11/17/2004
    the control file, i am using is like:-
    load data
    infile 'c:\ran\temp\pps_fc.txt'
              into table bm_05oct06
    fields terminated by ","
    (mobile_no, fcal, frdate )
    I hope, my question is clear. Please help, in solving the doubt.
    regards.

    So which thread is telling the truth?
    Doubt with SQL loader file wih spaces
    Are the fields delimited with spaces or with commas?
    Perhaps they are a mixture of delimiters and that is where the error is coming in?

  • I have a problem with loading the PNG image

    I have a problem with loading the PNG image from site. For ex. go to icefilms com and is starts to load png like crazy CPU is huge and you can not shut down Firefox at least a minute. This is not just in this site but whit any one whit lots of pictures.
    Image from firefox: Picture [http://img836.imageshack.us/img836/9910/7312011103147pm.jpg 1] [http://img28.imageshack.us/img28/8505/7312011103249pm.jpg 2] [http://img706.imageshack.us/img706/5615/7312011103348pm.jpg 3 ][http://img827.imageshack.us/img827/8483/7312011103533pm.jpg 4]
    This is my Task Manager [http://img217.imageshack.us/img217/5715/7312011103621pm.jpg 1]
    - I try safe mode, same thing
    -All addons and plugins are ok
    Any idea why is this so big problem.

    i did both of them, but still the while sending the mail the diolog box is not showing up and also the spelling and grammer does not do the spelling check. 
    This problem just started for about 3 to 4 days now.  earlier it was working normally.

  • I'm having problems with 7.1 update my flash "flashes" now when I receive txt's and notifications! And I'm also having problems with freezing and wifi problems! How do I solve this?

    I'm having problems with 7.1 update my flash "flashes" now when I receive txt's and notifications! And I'm also having problems with freezing and wifi problems! How do I solve this?

    Doh! Rectified flash!
    But when face timing 2 seconds after it connects wifi disconnects? Any thoughts

  • Problem with Loading Images?

    <pre><i>Locking duplicate thread.
    Please continue here: [[/questions/982030]]
    </i></pre>
    Hi,
    I'm using Firefox 26.0 and I'm kinda new user to Firefox.
    I'm having this random issue with facebook (sometimes with other websites too),
    Sometimes when I open a page, the Images doesn't show as usual.
    Sometimes it takes up to 10sec - 2 mnts to finish loading all the images.
    My internet is 8Mbps so I don't think its due to that?
    Here is a screenshot of the exact issue: http://i.imgur.com/I3eOQaI.jpg
    But it get fixed for a while (say 1-2 days) if I clear the cookies and caches. I visits a lot of webpages so clearing cookies and caches all the times is kinda not pretty possible.
    I also tried disabling all my add-ons, and ran a full scan with McAfee.
    Can anyone tells me what exactly could be the issue? It gets pretty annoying sometimes!
    Thanks in advance!
    Regards,
    Abey

    '''Hi, Thanks for Visiting this Question. But it was a duplicate of https://support.mozilla.org/en-US/questions/982030 (The Same question) Accidentally posted twice''' and I couldn't find an option to delete it, so please '''ignore''' this :-)
    Original thread: [[https://support.mozilla.org/en-US/questions/982030|"Problem with Loading Images"]]
    Warm Regards,
    Abey

  • Please help us, we have a problem with loading a page is slow we have to wait a longer time to open our one page, thanks in advance

    Please help us, we have a problem with loading a page is slow we have to wait a longer time to open our one page, thanks in advance

    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for