Arul's Blog On Multimedia, Flash MX, Director And Dreamweaver MX
Recent Entries | Guest Book | QuickView | XML-RSS feed | My Profile | Home
::: About this Blog :::
Welcome to Arul's Blog!
Weblog on Multimedia,
Macromedia Flash MX Flash MX
Macromedia Director Shockwave Studio 8.51 Director
Macromedia Dreamweaver MX Dreamweaver MX
View my profile And me :)
Here I'm going to share my views, opinions and code with you all.

::: Services :::

:. ActionScript Highlighting
:. AS Highlighter v2 new!


::: ActionScript :::
:. toString
:. skipCache
:. getWords
:. getDateFromString
:. colorUtils
:. XMLNode-transformTags
:. Object-copyProperties
:. Object-clone

::: ActionScript 2 :::
:. XMLHighlighter
:. PriorityQueue

::: Archives :::
[September 2002]
[October 2002]
[November 2002]
[December 2002]
[January 2003]
[February 2003]
[March 2003]
[April 2003]
[May 2003]
[June 2003]
[July 2003]
[September 2003]
[October 2003]
[December 2003]
[January 2004]
[February 2004]
[March 2004]
[April 2004]
[May 2004]
[June 2004]
[July 2004]
[December 2004]
[January 2005]
[February 2005]
[March 2005]
[May 2005]
[June 2005]
[July 2005]
[August 2005]
[June 2006]
[July 2006]
[November 2006]
[December 2006]
[January 2007]

::: Time Zone :::
All Times on this blog are
GMT + 5:30 Hours
(Indian Standard Time)

::: Flash Resources :::
:. Flash Components
:. Were-Here Forum
:. Digital Illusion
:. Flashmove Forum
:. Flash Goddess
:. Prototypes
:. Actionscript Toolbox
:. UltraShock
:. Chattyfig
:. Full as a Goog
:. Flog

::: Flashers :::
:. Mike Chambers
:. Greg Burch
:. Branden Hall
:. Samuel Wan
:. Stuart Schoneveld
:. Guy Watson
:. Robin Debreuil
:. Mario Klingemann
:. Moises
:. Aral Balkan
:. Peter Hall
:. Josh Dura
:. Alessandro
:. Brajeshwar
:. Nik Khilnani

::: Small Print :::

© Copyright 2002
R.Arul Kumaran

[Made with Blogger]


Monday, January 12, 2004

Update.Arul's Blog: ActionScript Highlighter Version 2 Released!

Hi Everyone! I'm happy to announce the launch of Actionscipt highligther v2.

I've fixed many of bugs in the previous version (hope I fixed all). Now this new version fully supports Actionscript 2.0 and uses CSS styles to color the keywords so you can easily change it to your favorite colors. Help me by finding the bugs and list them all in the comments.

Have a look at it here!

posted by Arul | link | ^top | next> | add comment
Friday, January 02, 2004

Tips.Flash MX: Solution for skipping files from getting cached by Server and Browser.

Cache is a place to store something more or less temporarily. Web pages we've visited are stored in our browser's cache directory on our hard disk. Likewise, ISPs and Web Servers cache web pages which speeds up access times for users, as the page is being read from the cache memory and not downloaded from the actual web site

It can become a problem when we are loading external content into flash and we update the files more frequently.
Say for example when we are loading an XML file in flash for content, some times we used to wonder why the changes we did in the XML file is not reflected in flash. It is because of Caching which is happening either in the server or in the browser. We have some server side solutions to avoid this problem when the data is dynamic but it won't help when we update the files manually.

We can avoid such problems in flash itself by passing the randomized query string along with the filename. I've written the function which can be used for this purpose. Here is how you can use it.
//sample usage
#include "skipCache.as"
my_xml = new XML();
my_xml.onData = function(dta) {
        trace(dta);
};
my_xml.load("myfile.xml"+getSkipCacheString());
this getSkipCacheString() will return a blank string("") when the swf is running as a local file and returns a random string like "?CacheBuster=0.0308893630281091&timestamp=1073037565155" when the swf is loaded from a web server (i.e, Website)
You can download the actionscript file from here!

posted by Arul | link |<prev. | ^top | next> | comments [1]

footnote:-
Also check the recent entries and feel free to add your comments. I need your comments to improve this blog