I've created a flash with an RSS feed inside it, I've seen it work on other websites but it won't work when I upload it to my server. I've tested it and had to authorize it on my local computer and it's all there, but flash seems to have blocked it when it's online, Here's my AS code, I'm using flash 8
I'm rather new to Flash and AS3. I need to call a REST web service, passing it a location code and two arguments, and parse 3 nodes from the resulting XML.[code]...
pull some simple text from an external website's RSS feed into a basic text box in a Flash movie. It would need to be in AS2 to fit with the website. The RSS feed is on a PHP page: [URL]
I understand I need to pull the content via an xml / php page under my own domain in order to get around the Flash security, but I still can't scrape together the right code for it to work.
I have a few projects that are coming up at work where I will have to take a feed given to us and grab and display titles for example and pictures. I was able to do this in AS2 but I now need to do it in AS3 now and I don't have the time to dig in and figure it out. I would be willing to pay someone to display one of the images and one of the headlines in the example feed below. I think I can learn the rest, but there is a good chance I might need some more help and I would be willing to pay for that also. So basically I need a small script and a file that displays the info. Can you guys throw some offers my way here or at my email:
Note: If you use Firefox the feed will display and you can see where you would need to traverse this feed to get a headline and a pic
I am trying to load a news feed in xml. It works fine when I run it in flash by clicking ctrl + enter but when I load the .swf in the browser or try to load the .html in the browser I get a Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation:
I made this BlogFeed.swf file. Everything works just fine in Flash IDE. It loads the XML, renders it, displays fine and that's it: the world is filled with love and data.
The problem occurs when I try to use my swf online.
Here's the scenario:
SERVER A (Altervista) hosts the swf file, trying to read the RSS Feed from... SERVER B (my client's server) serves the RSS Feed of his blog
[ things I already tryed ]
1) I wrote a crossdomain.xml file (allowing SERVER B domain to access the swf), place it at the same level of the swf file on SERVER A;
2) Set System.security.allowInsecureDomain("*") in the flash file
3) checked on both servers the server-to-server permissions (Altervista lets you do this via its own control panel; the client's server needed me to email the support: did it and they allowed me to connect)
4) moved the swf on ANOTHER server, on which I am completely sure that server-to-server communications are allowed, since I already did something like that.
Nothing changes: always getting the damn HTTPStatus = 0 and no items are shown.
What I really don't understand is why it does work from Flash IDE connecting to SERVER B and it fails (with NO IOError and HTTPStatus = 0, so no debug hints at all...) when I use it in server-to-server mode.
setting up an RSS feed into my flash site. I've been trying to work with the code below, but when it displays the code includes all the HTML code of the RSS feed (ie image and link tags). I'd also like it to scroll.
Code (AS2):
Code: // create a new XML object var feed:XML = new XML();
I'm trying to get the last post of a clients' Twitter feed embedded into a dynamic .swf file. I thought I had it and indeed if you go here it works:
[URL]
but then I embedded it into the page and now I get the .swf to appear but no feed!
[URL]
It's supposed to connect to a php page that does the work and I'm enclosing it here. I do have crossdomain.xml set up properly. Anyone know why it doesn't connect on my page but it does by itself?
I've created this code for an RSS Feed Widget I would like to post on a site. the Widget will pull info from various sites. The code is built on Adobe CS4. When testing I don not get any errors, however, it does not display any information either. Code: var widget //Widget; var rss; var textfield:TextField; addEventListener("widget-loaded",onWidgetLoaded); function onWidgetResize( evt:Event ):void [Code] .....
I know that you can grab your web server's current time with php, .net, or whatever server side scripting language you have available, and create a variable to feed into your flash movie at the embed time.What I am wondering is if there is a time server out there with an XML feed that you could connect to with flash to grab the current time based on whatever parameters you feed into the query string.I would doubt such a thing exists (at least for free) since so many people would probably tap into it and overload the server with requests, but it would be an easy way to set up someone's flash movie to grab a somewhat accurate current time stamp at load time (or any other time you'd want to call on it) without the need for server side scripting.
how I might get a Twitter widget working INSIDE a AS2 flash file?I found widgets on the twitter site, but, although I've seen references elsewhere to SWF widgets at twitter, right now the only thing I can find is using Javascript. (Maybe they canned all of the SWF widgets?)[I have found some AS3 stuff, but my understanding is that I can NOT load an AS3 swf into an AS2 one.]
Is there a way to load external javascript content into an object inside of the SWF? (kinda like an iFrame inside of the swf that can load the file with the javascript)
I'm trying to parse a RSS which comes from a page to Flash. But Im having some trouble, I wonder if someone could with some input/hits/tips whatever to take out links to picture, texts and attributes from the RSS so I can make flash with dynamic pictures. I found two components but I cant make them work.[URL] Also this tutorial but it seems confusing. I can get on with some articles, tutorials or something.?[URL]
I've just started experimenting with RSS in Flash - so far I am able to pull a feed in, but what I want to try now is to actually separate values from within a feed to go to different movie clips. So let's say my feed looks like this:
What I'm trying to do is have a few bubbles of boxes etc floating everywhere where you can click one and it shows a different (or random) <item> from the feed (with the relevant item child values inside). I've looked at creating nodes etc but it seems to only create to pulling the first one with that specific name, instead of choosing from the whole array.
I have never looked into RSS feeds before, I now have someone that wants Yahoo rss newsfeed embedded in his main.fla. I have an AS 2.0 rss newsreader he sent to me, knowing nothing about RSS I started to look around and eventually got to a point where I went to a Yahoo RSS feed and copied the source page and dropped it in the xml file that came with the feedreader. When saved, published and uploaded to the server the file displays the feed from yahoo fine, but it never update the stories. I would think this has to do with the xml as it is embedded in the page so it can't change so my question is how do I get an rss feed converted to xml to update???
I would like to have a map of the 50 U.S. states. I would like to click on a state and have a small pop-up window that displays the temperature of the capital of that state. After 5 seconds the pop-up closes. Behind the scenes I would also like the clicks being tracked by a database. I am digging around weather.com trying to figure out linking RSS feeds to Flash and I am thinking MySql to count the clicks. Does anyone have any tips or a quicker, easier way to set this up?
I am loading an rss (twitter) feed into a .swf. I got the rss url off of the twitter account page, and registered that address with my feedburner account. In flash, I use URLLoader to load the feedburner url. Using Firefox, the data returned is an xml formatted list of tweets that I can parse easily using as3syndicationlib. Works great.
Using Chrome, the data is returned as HTML: The html for the page you would see if you put an rss address into chrome, subscribe buttons and all. It's as if I make a request to the rss url, chrome takes the raw rss data, converts it to a readable html page and sends THAT back to flash...Parsing this would be a nightmare.
I have this RSS feed, which is being displayed in various text boxes on my stage, But in the box that displays the child - description, I am getting random numbers and letters.. And I don't know how to remove it from the text.
Here is my code: import flash.events.IOErrorEvent; var urlLoader:URLLoader=new URLLoader(); urlLoader.load(new URLRequest("[URL]")); urlLoader.addEventListener(Event.COMPLETE,onXMLFileLoaded); urlLoader.addEventListener(IOErrorEvent.IO_ERROR,onIOError); [Code] .....
var myXm : XML = <feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:georss="http://www.georss.org/georss" xmlns:thr="http://purl.org/syndication/thread/1.0">
I am trying to make a rss aggregator and I am stuck at the moment as I can seem to parse out the HTML info that is held in the certain sections of the rss document. Below I have posted my AS3 code as well as the rss doc info. How to parse out the HTML from the description and title of the rss feeds.
ActionScript Code: import fl.controls.UIScrollBar; var finalNote:String = "" trace( finalNote ); var urlVar:String = "rss_example.xml";// local XML file that loads by default reloadRSS();// function to initially load or reload the feed [Code] .....
I would like to display an RSS Feed headline in my flash site. There doesn't need to be any body text, but it has to display the headline quite quickly for a rollover.
I want to make a small application that reads an RSS feed.However, this will be part of an installation, thus this is supposed to run "forever". Do you think there is another way than using the Timer class, that would check for new posts on the feed every 15 minutes for example? Do you think this will be a reliable and safe approach?[and an extra questionFor that purpose, is it worth to make an AIR app, or just an executable from the flash player? Do I have some pros/cons regarding memory, resources, etc when using AIR?
I'm building an interface to browse the Netflix Watch Instantly movies and I have run into a problem with special characters in the RSS feed. The URL for the feed is as follows: [URL]. If you open this in your browser, you will see the entire list. If you load this via an XML.load() call in Actionscript and read the result in an onLoad handler, it gets truncated at the end of the entry for the movie called "Lola Montes".