Professional :: XML News Reader With Images And Video Links
Jan 8, 2010
I want to implement an XML news reader with images and video links( youtube for example) in as3. Does anyone know where i could find and example or at least, how to read video links from an XML file in as3?
View 2 Replies
Similar Posts:
Oct 10, 2006
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 Replies
Mar 24, 2007
Making an XML news reader based off of senocular Squirrel XML news.
I'm using Fuse and wanted to target the dynamic text and or background portions of the headline section.
However, this movie clip is attached to the menu_mc so I'm stumped as to what I should exactly target for the fuse sequence (or any mx.transition/zigo engine based code-tweening process for that matter).
I've attached the files in a .zip for people to look at (and possibly conquer my problem!
View 3 Replies
Jun 12, 2009
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 Replies
Jun 22, 2011
I 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 ?
View 0 Replies
Oct 21, 2009
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]....
View 3 Replies
Sep 4, 2010
I am trying to create a news scroller such as the one on espn.com where you have a scrolling news component that can contain images and or videos and links to news stories stored in the database.
View 2 Replies
Jun 26, 2009
I followed Lee's video tutorial titled "ActionScript 3 XML Basics" to create a RSS Reader.It's awesome but I'd like to be able to have a button that uses the links from the XML to go to a site and read the whole story from the feed. If the Text Area component can be used to link to the whole story I'm ok with that too. I just can't figure out what code I need to use. Obviously it's AS3 and I'm using CS3.Here's the code that I have (it's straight from Lee's Video):
Code: Select allvar loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onLoaded);
lb.addEventListener(Event.CHANGE, itemChange);
[code].....
View 5 Replies
Aug 25, 2009
Here is what I'm trying to do: recreate the news ticker from [url]...
HEre is the trick: The client wants to be able to change the news themselves via an external .txt file, the also want each piece of news to link and the link will change..
I've got the text loading into the .swf just fine, but I have no idea how I can make the news pieces hot to a dynamically changing link that will be changed by them
View 6 Replies
Mar 5, 2009
i have an swf placed into a html doc - the swf creates thumbnails and links that create a sort of videowall effect - the links come via xml. i am using lightwindow to create an overlay that displays the links/images/video etc... so here is the problem - if i open it with firefox on a mac - and choose say the youtube link - it opens lightwindow brings in the flv briefly - then the flv vanishes leaving a white void where the player should.
but if i add the same link to the html and click it, that works as it should do - ie the youtube flv apprears and you can click and play it etc... Safari on a mac works a treat - and loads and then plays the flv. is this just a bug in FF for the mac - or mac&pc? doesn't FF like flash and youtube together or something? or is there a work around? my tester is here could any pc heads tell me if the lightwindow works at all on their windows browsers? and tell me what versions you are on?
View 2 Replies
Nov 23, 2010
I am looking to create a horizontal news scroller. In fact I once found one on the web but failed to bookmark it now I can't find it again. I have attached an image of what it needs to look like. It will load text from an external source and have links to the full news story.
View 0 Replies
Jun 5, 2008
I found a script at on the web that emulates the news scroller found atI would like to add images to each news headline so it can replicate the effect found at
Code:
stop();
//
[code].....
View 2 Replies
Dec 15, 2009
[URL]I'm looking to make a page like this (go to the NEWS page).Does anyone know how to do this, or if there are any components out there that do this? I am familiar with making a standard xml page with just text, but I'm not sure how to add the videos and photos.
View 21 Replies
Jul 24, 2011
How should I go about scraping this flash video off of this site URL...
View 1 Replies
Nov 10, 2009
I am trying to create a news rotator that pulls info and images from an XML file.I made something similar a while back which pulled just the headlines which worked great and I am trying to adapt this same idea to a current project. pull all the info from the XML and push them into separate arrays based on the type of information it is. ie title, description, image etc.From there I have a function which is supposed to display the all of the info and another which cycles through it based on a timer.Like I said before, this worked great with just the headlines, but when trying to add images its getting thrown off. The function which intends to parse the data and pushing it into separate arrays.
Code:
function onLoaded(evt:Event):void {
xml = new XML(evt.target.data);
var il:XMLList = xml.channel.item;
[code]....
I'm aware that it has something to do with either how the info for the images is being parsed (or not), and/or how I am going about displaying it.I was able to write a separate function which displayed one image as intended, but then wouldn't cycle through as the news changed.
View 1 Replies
May 17, 2010
I am working on the news ticker module (AS2) where I have to fetch news from xml and populate that news headings into four text fields and these 4 headings will stay for a while and fade until last record. this process will continue.
View 0 Replies
Aug 5, 2009
I am loading an external swf file into my swf file in CS4 with AS2. The reason I am doing this is that the external swf file contains a sequence of images and I tried to convert it to flv video but using many tricks and software out there (like converting to AVI and then to FLV) but there was always LOSS in quality. My question is! Is there a SWF player component much like FLV player component, because I need to give the user the ability to stop, pause, rewind etc.... the loaded external swf file?
View 2 Replies
May 19, 2011
I've been asked to write a standalone slideshow app which supports images (jpg, etc), video (divx, avi) and webpages (embedded html, rss).
I've done some digging and it looks like flash with flash air could be used to produce a standalone app which would run on both windows and Linux.
Before I start this long (and difficult) process, are my assumptions correct?
View 5 Replies
Jul 17, 2009
I wanted to add a second news box under the first one and have it pull the first two news items in the xml file and have it displayed on the movie. Currently it is putting the first news item in both news boxes.ction script so that the second box is actually the second "<news> tag". From the tutorial I removed the <info> <author> and <comment> tags.
View 0 Replies
Oct 2, 2010
How can I make such a News-Ticker as on URL...(The nice box, which has 4 advertisements is ment)I´m making a website for a friend and want to add something like this. Unfortunately its the first time I´m using Flash.
View 3 Replies
May 10, 2010
I am having a major problem with the news slide show I want to make, Mainly It's a news slide show where the images source is an external folder connects to flash using Xml.Everything is working, but what I want is to make buttons related to the current slides where it changes it's appearance as the slide changes.
I've tried alot, but I guess I am lacking some knowledge when it comes to action script.
View 2 Replies
Sep 1, 2010
I am in the process of building a web site and am running into an issue with dynamic loading text.I am trying to make a scrolling news section with a stage of 200 W x 250 LCreated a movie clip with the following coding:
var myTextLoader:URLLoader = new URLLoader();var myTextField_txt:TextField = new TextField();myTextField_txt.wordWrap=true;
myTextLoader.addEventListener(Event.COMPLETE, onLoaded);
function onLoaded(e:Event):void {myTextField_txt.text = e.target.data;addChild(myTextField_txt);}
myTextLoader.load(new URLRequest("myText.txt"));
Then set the clip (which is 250 W x 600 L) on the main stage, moving upwards, creating the auto scroll effect.The problem I am running into is that I can't figure out how to make the text use the whole width of the text box I created. It only uses half of the width, creating columbs like this:
Hello and
welcome
to our new
[code]...
The text box itself is at least twice the width of the sentences, but they aren't using the full width.
View 5 Replies
Jan 26, 2011
Is there a way to perfectly load a Facebook News Feed inside Flash?Haven't been able to find anything so far..
View 5 Replies
Mar 30, 2009
Is there a way to create a url link on an image loaded from an xml file. So for example in my photo gallery, I have my set of thumbnails which when clicked on would show the larger image. I'd like to click on the larger image and have another window popup and go to the proper url with an even larger image.[code]...
View 1 Replies
Feb 24, 2011
I have recently downloaded a flash website template.In this particular template, there is a flash slideshow with 5 images. Would like to know how can i add link to the 5 images in the flash?
The source code for the flash is as follows :
<td style="BACKGROUND-COLOR: #f7f7f7; WIDTH: 585px; HEIGHT: 224px"
valign="middle"
align="center"><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="609" height="224">
[code]....
View 1 Replies
Sep 2, 2010
I have been working on a dynamic loading news ticker for a site and have been running into two separate problems:
The first, creating a movie clip, inserting the following code:
var myTextLoader:URLLoader = new URLLoader();
var myTextField_txt:TextField = new TextField();
myTextField_txt.wordWrap = true;
myTextField_txt.autoSize=TextFieldAutoSize.LEFT;
[Code] .....
And having the clip load the text from the text file listed. In this version, everything is working fine except I don't have the ability to change the font, size, and color of the text using only flash and the text document, (to my understanding).
The second, creating two .fla files, one with the embedded font I want to display named font.fla, and the other blank named fontloader.fla. Also create an .as file in the folder with the following code:
package {
import flash.display.Loader;
import flash.display.MovieClip;
import flash.events.Event;
import flash.net.URLRequest;
[Code] .....
In this second scenario, the problem is that I can't figure out a way to make the dynamic text scroll vertically and loop, (Was trying to figure out a way to save the fontloader.fla as a movie clip, then importing it into a new .fla and just using a motion tween on the clip, but so far I'm confused by it). This second scenario is also not my first choice, because loading the text straight from a text file would make the news section very easy to update for those who don't have any design experience.
View 3 Replies
Jun 10, 2003
I put together a "photo gallery" using the tutorial I found at kirupa:
[URL]
and i was just wondering what kind of function would I need to make each one of the images clickable AND go to separate url's. I figured out that I would NEED a function and a separate array that would link up the URL's to the Images but I don't know how to really make the images clickable in the first place.
View 4 Replies
Jun 7, 2006
links not showing up from my external xml file? I am trying to load an xml file that contains news, its basically an rss feed xml file i am trying to use a CSS file to make the links and images show up but to no avail. What do i have to do for the links to be clickable rather than just show up like <a-href="etc....
View 1 Replies
Aug 20, 2009
I am new to editing video. I am looking to add a replay link and a go to url link once my movie plays through. I am using Flash CS3 pro.
View 9 Replies
Mar 9, 2009
I'm new to XML and am having trouble figuring out the following:
1. Loading an image from XML into flash, then resizing the image with actionscript in flash
2. The correct way to load text and URL links from an XML file
View 3 Replies