ActionScript 2.0 :: Build A Rss Feed Reader?
Oct 30, 2006how to build a rss feed reader?
View 4 Replieshow to build a rss feed reader?
View 4 RepliesI´m working in a rss reader for my website, that has already a rss channel created. I created this in a file that is called news.rss. So I made the interface of the reader in Flash, and then continue inserting a code. But when I try the swf, it just shows the title of my channel, but any of my news. [code]...
View 1 Repliescreate a xml news board, i finally completed the news board and i had no problem displaying my offline xml file.I uploaded it to my testing server and nothing came up. i parse the rss feed in a different way ?when i tested it on my testing server. but when i tried it locally from my flash app it worked.
View 5 RepliesWhat I try to do is make a RSS reader in flash that plays a sound when the RSS feed is changed. In an older version I reloaded the xml via a little timer, but what I understand about this socketthingy is that it keeps an open connection with the server/feed? Am I correct that this socket parses data (or smth) as soon as the xml changes ? If yes, why dont this work ? (it does after loading, but not if the swf is running and the xml is changed)
[Code]...
In TFS 2010 build, I have a new build and I want to call an ant script that builds Flash. How do I call the ant script? Also How can I compile the Flash directly? I've seen the Power Tools and this question but it doesn't help me as we don't have TFS 2008. I can't find any documentation on how to use the power tools except the 1 sentence on the bottom of download page saying to create your build the old way and import it (which isn't very helpful). I've installed the power tools on the agent computer but I don't see any new options in the Toolbox when I'm designing the build flow.
View 2 RepliesI just started working with ant a few days ago. Right now I have a general buildall.xml which should call each project's build.xml. Because some projects depend on each other, I need to rebuild some other projects which depend on it. This isn't a problem--I'm just setting the depends property of the target. However, ant is always building the dependencies, even when the files haven't changed.Let's say project1 has no dependencies; project2 depends on project1; project3 depends on project1, 2; project4 depends on project1, 2, and 3; and so on.I could hack a solution which looks at project K, and checks if project 1 .. project K have updated files using uptodate. If so, then run the target. This is messy and appears unnecessary.
What is the cleanest way to implement this?EDIT: So I decided to just hack in a bunch of targets, "check_projectK" where it does the uptodate checks on all of its source files, its build file, and the build files of the 1 .. K-1 projects. Due to dependencies, this is always handled correctly. However, this is still a large amount of copy and paste for a large workspace.
Using FDT, when I have a debug configuration with several operations in the launcher chain and the final launcher opens in Flash Player, how can I retrieve the build output from the console once the build is complete and Flash player is running?
It seems that once Flash Player has started the console clears to make way for the application's trace output, but I need to be able to look back over the events and build times for each item in my launch chain while Flash Player is running. Is there a setting I can enable to either log my build output to a file or to preserve it in the console?
Edit: I know I can still read the info when building normally, this question is specifically for building with the debugger.
I'm almost certain that this is impossible, but I had to ask. One of my clients wants to know if I can build something that can read the text in Flash, kind of like an HTML reader for the visually impaired. The user would be required to have speakers.
It wouldn't have to read all of the text in the movie, just certain dynamic text fields that are in the SWF.
is there a way, anyway, to save a flash file to reader?
View 15 RepliesI'm looking for a barcode reader using a webcam in flash builder 4.6 for mobile application. I have tried the following link here but didnt work its showing "Nothing is decoded" If you tried to scan a Barcode/QR code using mobile device.
View 2 RepliesI got this script on the web, I just modified it a little, it works perfectly when I run it on the mac, but when I public it for the web doesn't work at all
[Code]...
I'm building a RSS 2.0 reader and have only a vague idea of how to do it except use URLLoader and URLRequest to start everything. Can anyone point to a good tutorial?
View 1 RepliesI have an RSS reader that displays my blog feeds on my flash website. It works if I view the website remotely by hitting F12, but it doesn't work if I view it through the website on the server. Why is that? Is it an issue with the server? I also have a guestbook and contact forms on the website, and it takes at least 20 minutes before the guestbook updates with the new entry or I receive the email from the contact form.
Code:
blogspot_txt.htmlText = "<u><a href='http://run2savelives.blogspot.com' target='_blank'>View TheRun4Life Blogspot</a></u>";
var rssReq:URLRequest = new URLRequest("http://run2savelives.blogspot.com/feeds/posts/default?alt=rss");
[Code].....
I am trying to make a very simple rss reader to display news feeds. All I really want to do is have a text box display the first item of the feed, wait for a moment, then display the next one. I've been searching around and can't find any decent tutorials on the subject.
View 1 RepliesCreating a CD to hand out with a pdf on it. i'd like to check for Adobe version or if reader is installed in flash menu (exe) before they're allowed to open it. then have them download latest from [URL] if not installed. seems fairly simple, just not finding anywhere that will give guidance.
View 1 RepliesI needed a personalized rss reader for this site i m building, but i m not familiar with Flash so i used an online tutorial. The resulting file plays nice when i preview it in Flash, but it wont return anything when i preview it in html or save it and open it as a file.The flash itself is made mainly of two white blocks. The first one shows a list of the news on the rss feed, if one of them is clicked, the second panel retrieves the info for that news article and previews it.As i said it works nice previewed on flash but not if saved in html nor uploaded to the server as part of a page.
import fl.managers.StyleManager;
var logFormat:TextFormat = new TextFormat();
logFormat.font = "Myriad Pro";[code]......
I created a Twitter Feed reader using a tut fromBy itself, it works GREAT! However when I try to incoroporate it into my fla for compiling into my ipa it doesn't work in my swf. I know that if I compile the twitter reader at runtime with my main fla that it won't work in my ipa because my swf has a class as running in it. But when I try putting my twitter reader directly into my main fla I get nothing! My scene loads but it pulls down no data. Here is my class code that I am using:
View 18 RepliesThis is called from flash/action script
File name: rssProxy.php
RSS reader uses PHP any work around on a non PHP server?
Script below:
<?php
$rss = $_GET['rss'];
// make sure that some page is really being called[code]....
Do you know any good solutions for converting a HTML rich text to a paginated book ? I used a CKEditor to let the user input the desired text. Now I am trying to display the content in a Book like environment. Preferably a Javascript/CSS one but Flash is OK too. Thought about jPaginate , jquery plugin. The text can be formatted with 2-3 text styles and can contain images.
View 1 RepliesI am looking for a free plugin in flash or flex or something else that will allow me read pdf files and which I can integrate in my website. Do you know some?
UPDATE: I get the impression my question wasn't clear enough so,I am developing a website using asp.NET and I have a requirement to display a pdf file to the user so he could read the file and paging between files.I am looking for an open source plugin that I can integrate in the website. I don't really mind the technology of the component - but I prefer something in flash or flex.My problem is that the web application will run on a computer without an internet so I need something I can download and use without internet connection.
i'm interested to write barcode scaner with flash which would work for any platform that has built-in camera and while scanning wich automatically uses the camera for barcode reading . how to accomplish this or have a guide for this?
View 2 RepliesI have a question concerning this AS3 script, which is for XML-NEWS-READER i n FLASH
ActionScript Code:
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onLoaded);
var imgLoader:Loader = new Loader();
imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onImgLoaded);
var url:URLRequest/*
[Code]...
As you can see there is a MovieClip in the Library: NEWS_item. The Clip has a textfield and a Imag field(a MovieClip). While the text is passed in the text fields of the NEWS_item Clip there should be afterwords the photos be placed with addChild(imgLoader). But online the last Image appears. What is wrong here?Does someone have experience with xml readers an images ?
I'm making a simple RSS reader in flash. I test the swf in Flash, it works perfectly. I publish the swf with html through Flash, and it works perfectly. However, when I incorporate the swf into a web site that I am currently developing, using swfobj 2.0 (dynamic) procedures (followed both by google code and lee's video tutorial on using swfobj 2.0), the html rendering does not work. I've tried copying the html code that comes from the Flash-published html, and paste that into the website I'm developing, but that straight out just doesnt work. I'm going to attach the AS3 code here. I pull the RSS xml info into flash, do a bit of string analysis to replace inactive links with active and cut out another snippet of the string, apply a style using an external css, and finally render as html.
Code: Select allvar loader:URLLoader = new URLLoader();
loader.load(new URLRequest("[URL]"));
var xml:XML;
function onDataComplete(e:Event):void {
xml = new XML(e.target.data);
var il:XMLList = xml.channel.item;
[Code] .....
Latest version of FF is used in both pics. Also, an image to illustrate what happens:
I found this news reader on [URL]. [URL] web_appl...s_xml_easybit/ It does pretty much what I want, but I need to be able to add url links in the main text. Anyone know how I can go about doing this?
View 7 RepliesIm considering making an online flash PDF reader.
View 3 RepliesI'm building a Flash based RSS reader, to be run on a kisok, but it's getting tripped up by crossdomain issues. In the abstract: SWF loads local TXT file containing paths of remote RSS feeds (XML files), then loads the feeds stored at those remote paths.
[Code]...
I was under the impression that an single asterisk/wildcard in quotes would mean any domain could access content on that server. But it's not working that way. I've tried changing the Publish Settings to "Access Local Files Only," and "Access Network Only," to no avail. I've also tried adding all of the relevant files to the trust list in Macromedia's Global Security Settings page.
I would like to create a Flash file using AS3 that pulls info from three different nodes in an XML file. The pic below is a screen shot of what I'm trying to accomplish.
Here's an example of my XML:
<?xml version="1.0"?><rss version="2.0"><channel><title>kstp.com - MORE NEWS</title><item><title>State announces details of Minnesota FluLine </title><description><![CDATA[<img
[code]....
I have 2 classes and im trying to receive the variable "xmlResult" from the object my_XML,but its always null.I understand that is an asynchronous problem, but I dont know how to resolve this.
XmlClass.aspackage import flash.net.URLLoader; import flash.net.URLRequest; import flash.events.Event;import flash.events.EventDispatcher; import flash.display.Loader import
[code].....
How can i open a PDF file in to PDF reader thru AS3.
View 2 RepliesI need to print sequence of static PDF files with out opening it in Adobe Reader. Is there any way to create a application which will print the PDf file with out opening it in Adobe Reader.
View 1 Replies