Thursday, March 4, 2010

Viewer Clipboard data in Windows XP

Recently ran into a bug which required me to have empty clipboard data. The suggested way was to restart the machine if there's already something on the clipboard. Surfed the net and found better way to do that :

1) Go to Administrative Tools->Services
2) Start (if not already running) following services Netword DDE and Network DDE DSDM and CLIPBOOK
3) Go to Start->run and run Clipbrd.

You'll find clipbook viewer app launched with your current clipboard data. Go to Edit->delete and your clipboard data is removed!

Tuesday, February 23, 2010

Ant scripts not running/debugging in Flex builder issue

There are few Ant scripts that I need to run in my Flex builder environment. I had Ant installed for sure, it was only the scripts in one of the projects which terminated without proper error messages. Found follow steps to be helpful:
1) Right click on the script -> debug as -> 2 Ant build ( Edit, Configure & Launch) dialog appears.
2) Go to the JRE tab and select the Runtime JRE as Run in the same JRE as the workspace.

The scripts worked then!

Friday, December 18, 2009

Non-breaking spaces in flex application

Alt+0160 works as 'the' extended character code to insert non-breaking spaces in Flex application on Windows.

One catch here though, sometimes, even though we add this special character into our properties file, or actionscript/mxml code. Its still not rendered(the space vanishes!). This is because the font that you might have embedded into your application, and with is used as the font family for the rendered text, might not be supporting this extended character.

For me, I had to do the following to make it work:
1) Open font.fla into Flash Professional.
2) Select the font symbol, at the bottom you'll find 'Embed' button. Click on it, dialog opens, press Alt+0160 to add this character into the list.
3) Export swf and use it in my app.

Monday, June 16, 2008

Review: The Happening

The movie is supposedly a horror movie. But since I was not once scared while watching the movie, it obviously fails to be a horror. Good acting by the main actor, Mark Wahlberg( I liked him in We Own the Nights too). Movie is all about nature's deadly response to humans' caused global-warming( and everything else). People dying all around, killing themselves for no just reason...you will feel miserable rather than shocking. For no reasons did the main characters survive, (maybe because inside the director's mind is a true Indian who will do every (un)just thing to save the hero-heroine, afterall love should be the winner. Anyways, bad movie for a good weekend.

Debugging javascript In Safari

1) Download the latest webkit.
2) Launch webkit
4) Go to Debug and click 'Show Web Inspector'
3) Start your application from the File Open Menu.
4) In the web inspector dialog you can go to the Scripts window and put breakpoints to whereever you want to.