Hi, I've finally got fsUtils flash wrapper working in all browsers. Now you can use it in Safari, Google Chrome, Opera, Firefox and Internet Explorer. Below you can see a nice little demo, that I've created on top of it. This demo application represents simple text editor that is using fsUtils to load and save files from your local hard drive. Also I've adjusted couple of things, so now when you open the file, you can get it's original file name along with it's contents. Enjoy it!
Internet Explorer is bad. And it doesn't get any better, because everything that we had to fight against in IE6 still raises issues in the next versions. A couple of months ago I've came across some strange and dark part of IE's past, called: behaviors. Behaviors are proprietary components that encapsulate specific functionality or behavior on a page and according to the Microsoft they represent one of the most exciting new features introduced in Microsoft Internet Explorer 5.5
Nice! Why I didn't know about it before?! You can use their own programming language to implement those behaviors (it's simple, XML - based and component - oriented language), and you're probably familiar with it, because every time when you needed to fix png bugs in old IE6 you had to include that weird htc file, which contains behavior definition.
But, there is another part, called default behaviors, which is always available out of the box, and you don't need to load external files if you want to use them. You can find full list of built - in behaviors here, and I'm going to tell you about one of them, called userData behavior, which is in my opinion, one of the most interesting ones listed in there.
It's also very easy to use. You just need to include GoogleCodeWikiParser.js into your html page and then execute following code which will transform wiki markdown into HTML.
// create an instance of the parser
var wikiParser = new GoogleCodeWikiParser();
// this is necessary in order to keep line breaks in <pre /> and <code /> tags
wikiParser.options.outputSeparator = '\n';
// transform wiki markdown into html
var htmlCode = wikiParser.parse(wikiCode);