ActionScript 2.0 :: Keep Upto Date Atomized News List With Flash
Sep 3, 2003whats the best way to keep an up to date automized news list with flash. load something externally? php? can it all just be done with actionscript?
View 11 Replieswhats the best way to keep an up to date automized news list with flash. load something externally? php? can it all just be done with actionscript?
View 11 RepliesWhat is the easiest way to have a dynamic text field display news that has been updated via a form? PHP? what is the easiest to intergrate with action script?
mods: I accidently posted this in the ss scripting forum, sorry; that thread can be deleted.
I'm making a very simple news ticker that uses XML to load four items: copy text, an image, date and a URL. The script was pieced together from tutorials and a bit of self-teaching, so I know it's probably not great. The AS is pasted below. Everything loads just fine, but the button script returns an "undefined" error. I assume this is because the item is no longer found in the array, but I'm not entirely sure. I also think it may be that the loadMovie method isn't working well with a specific item in the array. Also the link does not work. *Note* I know there are probably more advanced ways to tackle this but I'd like to keep this at my learning level so I can grow with it. :-)
[Code]....
I wish to have a standard row with string items except two items,no 1 there is a date field and I need a date selector for it.no 2 in another cell of the row I want to put a drop down list box containing text "40" and "20" or you can manually edit the cell so that it displays what ever input you decide (other than 40 and 20)
View 1 RepliesI 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 RepliesMaking 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!
I have created a thermometer.How to fill the thermometer upto a certain point.
View 6 RepliesI 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 RepliesI've got an animation in a MC which I want to play out as a preloader.For example, it has 100 frames, and I want the animation to play upto the percentage which has been loaded. So, if 40% of the SWF has been loaded, then the animation should have played upto frame 40.
View 1 RepliesI'm using flash CS4 and actionscript 2.0. I have a situation where I need to locate and check the date of an external file (either .exe or .swf) and return that date string to a variable in flash. I then need to display that date to a piece of dynamic text within the flash file. Is there a function within action script that will check and retrieve the file date of an external file.
View 4 RepliesDo you know any way to compare a date to a range of date using the Date class in as2.
For example i want to know a given day (11-12-2009) is among the start and end date of a given range (11-01-2009 to 11-20-2009).
I created a News Ticker in Flash CS3 from a tutorial on your site URL...But it just flashes "undefined" I know I must be messing something up with the location of the XML file or where it's defined in the action script. I don't think I understand the "cache" part of the tutorial or why the file can't be local? I have gone to the suggested links in the tutorial, and being a total novice, I must be missing some main point.
View 3 RepliesI am going to redesign a website and for that website I want there to be a news section on the homepage. The news section should be built in Flash with images representing news headlines animating on a loop however a user should be able to click one of these images and then within the homepage a Flash pop up will appear with the news article. This is similar to sites that have an image gallery with thumbnails of images but when an thumbnail is clicked then the full size image loads within the same webpage. I want a similar effect but in my case, when a full size image is clicked, a text based news article loads.
View 1 RepliesCould anyone recommend a nice and free Flash News Ticker?
View 6 RepliesI'd like to make a news slider for flash that not only shows images and text, but can also play videos that are presented as news, through an XML file or something.A good example is the flash news slider that ea.com uses, which can play videos on clal as well.Can anyone direct me to a tutorial or guide me here on how I cna achieve this through Flash CS4?
View 18 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 ?
how to create a simple horizontal news ticker [URL].
View 14 RepliesI'd like to make a news slider for flash that not only shows images and text, but can also play videos that are presented as news, through an XML file or something.A good example is the flash news slider that ea.com uses, which can play videos on clal as well.how I cna achieve this through Flash CS4?
View 2 RepliesI have a XML file with a few concert dates. In my flash/AS3 file, I would like to show only the up coming event, relative to current date. Like this:
Event 01: 30-05-2010
Event 02: 02-06-2010
Event 03: 05-06-2010
Today is 28-05-2010, so I need to list Event 01. On 01-06-2010 I need to list Event 02. I have the basic AS3 code for listing the XML working, but I'm having trouble filtering the result.
I'm trying build a simple band site using flash and as2. All I want to have is a page listing shows that sorts them according to date and also when the show date has passed drops that entry from view.I can do this easily enough with a database and php but want to learn how to do it in actionscript. Here is what I currently have, shows load from the xml file into a simple textbox:
Code:
scrollBar.target = shows_txt;
showsXML = new XML();
[code]....
I am instantiating a new Date object using the below values.
var thisDate:Date = new Date(2011, 12, 2, 9, 30); But when I did a trace, I got
Mon Jan 2 09:30:00 GMT+0800 2012.Why is the date wrong?
my date of string like (2009-12-03 21:05:00) date with time . so i used to store var newdate:Date=new Date(Date.parse(startdate)); but shows some errors.and also i tried to split string(date) used date function likevar datenumber:Number= (new Date(Date.parse(startdate))).getDate();
View 1 RepliesDoes anyone know how to get actionscript to render a null date value '000:00:00T00:00:00'? I am calling a web service that expects date fields in the SOAP xml. I need some of these dates to serialize as null and I can't see how to produce null. The closest value I can get is '1899-11-30T00:00:00Z'. Below is the code I am using:
[Code]...
I want to integrate a date picker component using action script for date of birth.
View 2 RepliesI want to convert Date(ActionScript 3) to java.util.Date through a xml. First, write a user defined ActionScript class like this.
[Code]...
Finally, In server side of Java, I want to convert this xml to Java class like this for using JAXB Unmarshaller.
[Code]...
Writing in AS3. I cannot write, t:Date = u.data.time; u.data.time is "Mon Oct 31 00:00:00 GMT-0500 2005",because this cannot convert to Date.
View 1 RepliesSimilar to this: [URL]. Where all the latest news are rolling automatically. Is there some special name for that?
View 3 RepliesI 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.
How should I go about scraping this flash video off of this site URL...
View 1 Replieshow to create a news section using xml in flash?
View 2 Replies