Flash Widget(with source) to display live updates
Hey all
This is a small flash banner to display messages from an XML file and auto refreshes to show new updates. Just thought of sharing it.
It is a dynamic XML powered flash CS3 swf file with a few customizing options.
It is useful for displaying your website updates or showing dynamic chat messages.
It auto refreshes the text content with a time interval specified in the xml file. The time gap between each message being displayed can also set in the same xml file.
The swf initially loads updates_setup.xml (shown below)
<data><title>Set your title here</title><data_source>updates.xml</data_source><reload_source_delay>0</reload_source_delay><next_update_delay>10</next_update_delay></data><data><title>Set your title here</title><data_source>updates.xml</data_source><reload_source_delay>0</reload_source_delay><next_update_delay>10</next_update_delay></data>
The <title> tag sets the title of the display widget.
The <data_source> is the relative path to the second xml file which contains the text content to be displayed (see below).
<reload_source_delay> must specify the time(beginning right after the xml loads) in seconds after which the text content auto refreshes itself. Set it to zero, if you want to disable auto refresh. Setting it to a value less than 10 seconds is not desirable.
<next_update_delay> will decide the time interval(beginning right after the previous message is shown) in seconds after which the next message/update is displayed. This value must be greater than the <reload_source_delay>, failing which the text content updates and shows the first update before all the remaining updates are shown.
Next, the swf will load updates.xml file and the updates get displayed
The Zip file attached includes the 2 XML files, the source .fla file and the TweenLite class required for the Tween. Extract all file to a single folder. Then open the .fla file in Adobe Flash CS3/4 if you want to modify it. The full source code is present in updates_class.as.
If you want to upload the files to your website without any modifications, you must upload updates_setup.xml,updates.xml and updates.swf into the same directory and then include a flash embed code in the html file on which you want to display the updates.
P.S: If the widget doesnt display updates on your site.. and just shows “loading..”, it could be that the url path of not pointing to the right XML. If you arent sure what relative and absolute urls are, just try using the url like http://yoursite.com/your_directory/updates.xml.
(1788 hits) Flash Updates Widget Download |
Incoming search terms:
- crorepati flash fla source (1)
- kaun banega crorepati flash source file (1)
- kbc fla (1)
- kbc game flash fla file (1)
- kbc source file by kirankumar (1)
- kbc xml file use in flash (1)
- kon banega crorepati flash game with fla file (1)
- live updates widget for php (1)
- website widget to show live updates from a blog (1)
- kaun banega crorepati flash source -informer com (1)
Print article | This entry was posted by Kiran Kumar on June 15, 2009 at 1:56 am, and is filed under Misc. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
No trackbacks yet.
KBC game : Kaun Banega Crorepati online flash game 2013
about 13 years ago - 2,206 comments
KBC game will load below Game requires Flash plugin 9 New KBC HTML5 game launched This was a simple game I created using SWiSH in 2005. The questions appear randomly with no logic for the levels of difficulty and the “Phone a friend” lifeline is a dummy lifeline with no real purpose. The game was hosted…
Titanium Mobile vs Sencha Touch
about 14 years ago - 9 comments
I just tried out the sencha touch examples on the android 1.6 simulator and the performance is pathetic. Seems like google forgot to properly implement their javascript V8 engine onto their OS. Appcelerator’s Titanium Mobile and Sencha touch are 2 different frameworks which address a totally different set of audiences. Comparing them is like comparing…
Facebook cricket betting application
about 14 years ago - 4 comments
Developed a facebook app for placing virtual bets on cricket matches with teams made from your facebook friends. Made using PHP 5, ExtJS framework, Facebook API
Kaun banega crorepati game (kbc2) (download the game)
about 14 years ago - 300 comments
Update as of 5th June 2011 : Source code for the game has been published on this page. Now you can change the game as you wish, using Swishmax (www.swishzone.com) Update as of 20th Dec 2010 : I have been noticing quite a lot of visitors reaching this page through google search. So drop in…
3ds max animation
about 14 years ago - 4 comments
Playiing with reflection & refraction materials combined with smoke and particles became my new way to pass time. With help from the ’3dsmax 6 Bible’, I learnt a few basics. Here are some of the videos I rendered:
Textoo : iPhone (and now Android) app to send free SMS using web gateways
about 14 years ago - 4 comments
Textoo, the first iPhone/Android app I made to send free SMS to India using web gateways. Made using Titanium SDK and PHP on server side. More info at http://textoo.in
Multi user avatar chat based flash website for Incident 09
about 14 years ago - 18 comments
Website fully built on Flash CS3 & Actionscript 3, Poser,Photoshop, Google sketchup, PHP 5 – Multi user avatar based realtime chat uses PHP backend. Explore 3d map of my college , chat bot, user moderation based on XMPP etc
Swishmax projects & Flash website for Incident 08 using Swish
about 14 years ago - 4 comments
An interactive website made using SwishMax 2.0 for my college’s cultural website Incident08.com. Uses some stylish “after-effects” video transitions between the different page loads.
PHP based CMS with chat
about 14 years ago - 3 comments
I developed a Web based CMS for my college which allows performing standard content management tasks.
The entire CMS was coded from scratch using PHP-MySQL-Javascript. This was one of the first projects I had taken up.
About
about 14 years ago - Comments Off
Hey there, My Name is Kiran Kumar (so is the name of this site) and I am a 23 yr old web developer from Mangalore, India. This blog is a place for me to share my thoughts and my contributions to the open source community. Apart from that, this website is my face on the…
about 15 years ago
I dont want to install CS3 just for this, but it will make a great header for my blog: Any alternatives?
about 15 years ago
Flash CS3 is only required if you want to make any modifications to the source (.fla) file or the actionscript code(in case you want to add more features or to check how it is coded). Otherwise you could just upload it to your site as it is by just specifying the text to be displayed in the XML file…. the xml file can be opened in any simple text editor.
about 15 years ago
Hmmm will try it out then! Thanks