ActionScript 2.0 :: Create A Log In For Updating News Without DB?
Apr 6, 2005
I am creating a flash app for a soccer website I'm doing for me school. What I have so far is a main section where news can be viewed and stuff.I have another part of the app that allows for someone to log in and add new news for everyone to see on the main screen. Is this possible without FlashCom and/or db?
View 4 Replies
Similar Posts:
Apr 6, 2005
I am creating a flash app for a soccer website I'm doing for me school. What I have so far is a main section where news can be viewed and stuff. I have another part of the app that allows for someone to log in and add new news for everyone to see on the main screen. Is this possible without FlashCom and/or db?
View 4 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
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
Aug 1, 2007
how to create a dynamic news ticker like one of these? Only that it would scroll longer sentences? Of course the first idea is just load single line TextField and tween it across the screen beneath a mask. I don't like this because
a) It's retarded
b) Your swf width is quite long even if you don't see it, it's there.
c) It's retarded
I'm trying to think up a better solution. So far I haven't thought of anything better (does that mean I'm retarded?). Some other brain stormed ideas could be parsing each word in the String into it's own Sprite, as BitmapData, and sort of train tweening those, that was you can dispose each after it's cleared the screen. This seems like too much work, and potentially draining on the system's resources, having to create new instances, and repeteadly add them to the display list, and such.
View 10 Replies
Jun 14, 2005
how to create a news section using xml in flash?
View 2 Replies
May 12, 2009
I wanting to create a basic news scroll / ticker like this http:[url]....What's the best way of achieving this to get a continuous smooth animation.
View 3 Replies
Aug 2, 2006
I'm trying to create a dynamic news section that works off of a XML file and I'm running into some problems. Here's the code I'm using right now
Code:
//load XML
xmlContent = new XML();[code]....
It seems to duplicate the movies correctly, but it won't load the XML into the corresponding text boxes I've created. I've included a link to the source files as well if anyone has a minute to take a look.http:[url]....getting the date from the attributes of the news item I'd like it to go in the "date_txt" box within the news module clip.
View 3 Replies
Sep 9, 2010
I'm working on a project and attempting to create a dynamic news page by loading from an XML file. Everything seems to display fine for some people, for others it loads every dynamic text field with an instance path such as "_level0.instance1.instance30.instance45.conte ntMa in.Body1".
Here's the code I'm using:
Code:
function loadXML(loaded) {
if (loaded) {
_global.atitle1 =
[Code].....
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
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
Apr 3, 2012
I want to design a web page that will display a visual aid representing real time data. Real time for me means updating at least every few seconds, or literally realtime/event based if that is possible. The data displayed will be displayed in a rather visual/graphical way rather than simple text or a table.
I do not have a lot of knowledge of web development other than a little knowledge of HTML, so I do not know what options are available to create a web page that does what I want. My search has seemed to point towards Flash as being the technology best suited to do this, but I have also seen several articles which caution against flash (but mention no alternative).
The main alternative contender instead of Flash seems to be Comet style programming which I understand would likely utilize (in my case at least) a system called "long polling" to update data regularly. This could work, however the nature of the way I would like the information displayed leads me to believe that flash might be better than this as it sounds like longpolling is well suited for simple display of text inofrmation based on results, whereas I will need certain details of the visual display to change as well depending on results.
My research has also lead me to believe that an ASP.NET or PHP page would almost do what I want, but my understanding is that these two frameworks'/ languages' purpose is more along the lines of generation of a unique web page when loading rather than updating it as someone is looking at it.To make sure it is clear: communiciation is COMPLETELY one way in my imaginary web page. the user's display needs to update but they in no way send data back.What tools are best suited to create a webpage which will update/display (in a visual manner) data in real time in as someone is viewing it?
edit:
after finding this article: How does facebook, gmail send the real time notification?, I am thinking Comet could still be a really good option as I can just use it really as the messenger of events rather than having the direct result displayed as text or something. Still looking for advice on which way may be easier though due to my impression that Flash may be easier to program the graphics in a dynamic way.
View 1 Replies
Oct 5, 2006
I'm trying to create a flash xml editor based on senocular's news editor but I am having some trouble getting the xml file to load. My xml file is structured as below[code]...
View 2 Replies
May 25, 2009
Loading news via xml and then scrolling the news.
View 1 Replies
Dec 30, 2005
im trying to make my own news class with xml and i can't get it to work, all my text field says is "undefined";
here is my code:
Code:
_global.News = function(xml_file, txt_holder) {
this.xml_file = xml_file;
this.text_holder = txt_holder;
[Code]....
View 1 Replies
Mar 2, 2007
I have UP and DOWN buttons and i want them to scroll my newsMC when rolledOver.this is the code in emptyMC on a second frame:
Code:
if (_root.up) {
_root.newsMC._y += 10;[code]....
It works,but only after i roll over the UP button then both UP and DOWN work.If i go over down button first nothing happens
View 1 Replies
Nov 20, 2008
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 Replies
Dec 23, 2008
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:
[Code]...
View 5 Replies
Oct 18, 2004
I just want a horizontal news ticker that loops a bunch of news headlines that are housed in an xml file. the headlines will link to pages will the full news story.
View 1 Replies
Jun 23, 2010
I 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 Replies
Nov 27, 2006
Could anyone recommend a nice and free Flash News Ticker?
View 6 Replies
May 1, 2009
I'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 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
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
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
Apr 22, 2010
I am action script handicapped so bare with me. I know very basic action script functions like go to frame stop, play ect So complicated flash code does not really work for me unless it is explain easy and clear step by step. I know the animation portion of flash which helps me get by. I need to know how to pause a scrolling text as simple as possible when I click mouse over it.
I created a button (which is really displayed as text so that I can link to a website url) (SEE IMAGE)
The text is animated from frame 1 off screen to frame 400 top off canvas off screen. I did this the animation way instead of the coding way. So it should scroll from bottom to top (which I animated with frames), link to a new site (which I figured out), and pause on mouse over and play on mouse off.
View 3 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
Mar 1, 2004
I'm trying to make a news system, loaded from XML ... headers dyn created, onreleases ... so far..sorting the xml data (on DATE; xx/xx/xx) and storing it into an array for further violence I just found out something about this:
[AS]
var myArray:Array = new Array();
myArray.push({day: "18", month: "02", year:"04"});
trace(myArray);
[/AS]
View 6 Replies
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
Oct 10, 2006
how to create a simple horizontal news ticker [URL].
View 14 Replies