Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8816837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:42:39+00:00 2026-06-14T04:42:39+00:00

I’m currently building an application in flash in relation to RSS/XML feeds for a

  • 0

I’m currently building an application in flash in relation to RSS/XML feeds for a project. I’m stuck at the moment because I keep getting this error:

Error opening URL ‘http://distilleryimage6.instagram.com/.jpg’
Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.

I know my string picURL is not functioning properly, but am I missing something that makes it not functional? This is my code:

package  {

import flash.display.*;
import flash.events.*;
import flash.net.*;


public class instagramFeed extends MovieClip {
    //link to #rit xml loader
    public var ritFileRequest = new URLRequest("http://instagram.com/tags/rit/feed/recent.rss");
    public var ritXmlLoader = new URLLoader();

    //link to #rochester xml loader
    // same as above public variables

    public function instagramFeed() {
        // constructor code
        trace("About to load...");

        //Loads #rit hashtag xml data.
        ritXmlLoader.load(ritFileRequest);
        ritXmlLoader.addEventListener(Event.COMPLETE, displayRITInfo);
    }

    //focuses on data with #rit hashtag
    public function displayRITInfo(e:Event):void{
        var ritInstagramData:XML = new XML(ritXmlLoader.data);
        var ritInfoList:XMLList = ritInstagramData.elements().item;
        trace(ritInfoList);

        //load the image
        var ritPic:String = ritInfoList.*::condition.@code;
        var picURL:String = "http://distilleryimage6.instagram.com/" + ritPic + ".jpg";
        trace(picURL);

        //show the image on the stage!
        var ritImageRequest:URLRequest = new URLRequest(picURL);
        var ritImageLoader:Loader = new Loader();
        ritImageLoader.load(ritImageRequest);

        addChild(ritImageLoader);

        ritImageLoader.x=200;
        ritImageLoader.y=100;
        ritImageLoader.scaleX = 3;
        ritImageLoader.scaleY = 3;

    }

}

}

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T04:42:40+00:00Added an answer on June 14, 2026 at 4:42 am

    Your issue lies in your XML parsing of that RSS feed.

    I’d recommend brushing up on e4x. This is a good resource for doing just that: http://www.senocular.com/flash/tutorials/as3withflashcs3/?page=4

    I think your issue lies in this line: ritInfoList.*::condition.@code

    Try modifying this line like so

    var ritInfoList:XMLList = ritInstagramData..item;  //this will get all the item nodes
    

    Then this line like so:

    var ritPic:String = ritInfoList[2]; //this grabs the value from the 3rd link node as a test
    

    That value is a fully qualified URL i noticed, so you don’t need the line following var picURL:String = "http://distilleryimage6.instagram.com/" + ritPic + ".jpg"; because ritPic is already the full URL.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm parsing an XML file, the creators of it stuck in a bunch social
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
this is what i have right now Drawing an RSS feed into the php,
I want use html5's new tag to play a wav file (currently only supported
In my XML file chapters tag has more chapter tag.i need to display chapters
We're building an app, our first using Rails 3, and we're having to build
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I am currently running into a problem where an element is coming back from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.