code it

Making Fiddler Web Debugger work with localhost

When you want Fiddler to track your localhost say


just add a dot (.) after localhost


and Fiddler will start logging the communcation between the computer and localhost.


July 24, 2012 Posted by | HTML, Uncategorized | | Leave a comment

Flash 8 comboBox dropdown issue

While working with an interactivity which consisted of Flash 8 comboBox component – I am across an unusual problem. While the stand-alone SWF file worked fine – but when this SWF was externally loaded into another SWF file – the comboBox dropdown menu did not show-up when the comboBox down arrow button was clicked.

The solution to fix this problem is to set _lockroot = true on the frame where the comboBox has been placed.

January 15, 2012 Posted by | actionscript 2.0, Flash | | Leave a comment

XML to JSON converter

I had few xml files which I needed to be converted into JSON format, while searching on the web if there is already a tool available which does this, i ended up finding some good ones.

online XML to JSON converter

jQuery plugin to convert a XML to JSON

JSON validator + formatter

November 18, 2011 Posted by | HTML, JavaScript, jQuery, JSON | Leave a comment

Flash Resource

Found good website which has listed out all the available resources for Flash

September 8, 2011 Posted by | Flash | Leave a comment

BlueGriffon HTML Editor

Found a nice HTML editor to create… click the link to learn more….

September 8, 2011 Posted by | CSS3, HTML | Leave a comment


PhoneGap is an HTML5 app platform that allows you to author native applications with web technologies and get access to APIs and app stores. PhoneGap leverages web technologies developers already know best… HTML and JavaScript. Learn More

August 2, 2011 Posted by | CSS3, HTML, JavaScript, Mobile | Leave a comment

Disable Text Selection in Browsers Using CSS

To make the text as non-selectable in browsers (except for IE) paste the following style sheet in the HTML page

-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;

For IE 7 and above use on one the following body tag attribute
onselectstart="return false;"

July 17, 2011 Posted by | CSS3, HTML | Leave a comment

Fullscreen Mode in AS2

To enable fullscreen mode using AS2 for a SWF file embedded within HTML page, add the parameter allowFullScreen in the object and embed tags in the HTML page and set its value to true.

param name="allowFullScreen" value="true"

1. This only works for SWF files published for Flash Player 9 and above
2. Full-screen mode does not work if wmode is set to opaque or transparent
3. When in full-screen mode, all keyboard input is disabled except for the keyboard shortcuts which exists the full-screen mode.

add a button with the following code which will toggle the browser window between Fullscreen and Normal mode when clicked

if(Stage.displayState == "normal")
Stage.displayState = "fullscreen"
Stage.displayState = "normal"

June 26, 2011 Posted by | actionscript 2.0, Flash, HTML | 3 Comments

Detecting Devices Using JavaScript

var deviceIphone = “iphone”;
var deviceIpod = “ipod”;

//Initialize our user agent string to lower case.
var uagent = navigator.userAgent.toLowerCase();

// Detects if the current device is an iPhone.
function DetectIphone()
if ( > -1)
return true;
return false;

// Detects if the current device is an iPod Touch.
function DetectIpod()
if ( > -1)
return true;
return false;

// Detects if the current device is an iPhone or iPod Touch.
function DetectIphoneOrIpod()
if (DetectIphone())
return true;
else if (DetectIpod())
return true;
return false;

June 24, 2011 Posted by | HTML, JavaScript, Mobile | Leave a comment

Google Web Toolkit (GWT)

Google Web Toolkit (GWT) is a development toolkit for building and optimizing complex browser-based applications. Its goal is to enable productive development of high-performance web applications without the developer having to be an expert in browser quirks, XMLHttpRequest, and JavaScript. GWT is used by many products at Google, including Google Wave and the new version of AdWords. It’s open source, completely free, and used by thousands of developers around the world.

click here to read….

June 12, 2011 Posted by | HTML, JavaScript | Leave a comment