20 Apr 2005
When someone comments on my blog, I make sure it’s not spam and then I allow comments to appear on my blog.
My blog is getting over thousand spam comments every week and while deleting such comments today, I deleted some of the genuine comments by Manish, David Urech, Dinesh and Gaurav. By mistake some checkboxes left checked while deleting commments...MT interface sucks :(
Guys, please don’t mind and keep commenting here. I am thinking of ways to stop this approval-kind-of-process and let comments appear as soon as they are posted.
Any suggestions and guidence to stop this comment spamming are welcome.
Thanks...
18 Apr 2005
Adobe is acquiring Macromedia.
Read more about it here , here and here.
08 Apr 2005
This is interesting to see that David Temkin of Laszlo Systems seems to be reading flexcoders posts. He posted the link of one of the flexcoders thread (Flex1.5 Price).
Frankly speaking, I had not followed that thread completely, I have been busy in work. But I am confident that this increase in price will not affect decision makers because Macromedia Flex is full of features and it is worth buying.
06 Apr 2005
ALT + A = 197
ALT + B = 166
ALT + C = 199
---
A = 65
B = 66
C = 67
Happy coding... - id: 5739 author: jorge author_email: [email protected] author_url: http://jgutierrez.wordpress.com/ date: ‘2009-08-07 01:09:14 +0530’ date_gmt: ‘2009-08-06 20:09:14 +0530’ content: “thank for the script ;) \r\nI use the script of zied and work correctly” - id: 7350 author: Prasad author_email: [email protected] author_url: ‘’ date: ‘2010-02-22 14:44:00 +0530’ date_gmt: ‘2010-02-22 09:14:00 +0530’ content: “Hi,\r\n Ihave tried the ZIED code, Its not working. Can any one help me. My Sample Code attached.\r\n\r\n\r\n\r\n\r\n\t\r\n\r\n” - id: 7353 author: perjabs author_email: [email protected] author_url: ‘’ date: ‘2010-02-24 18:07:00 +0530’ date_gmt: ‘2010-02-24 12:37:00 +0530’ content: “Hi, I am Prasad, I am trying to implement your code, But the CTRL F & CTRL S is not triggering. Code below and Let me know your feedback. I am Using sdk 3.3 & flash player 10.\r\n\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n\t\r\n\r\n\t\r\n\r\n” - id: 7488 author: Rameshkaveti9 author_email: [email protected] author_url: ‘’ date: ‘2010-11-08 17:05:00 +0530’ date_gmt: ‘2010-11-08 11:35:00 +0530’ content: “Hello,\r\n i tried this one but it’s not getting the out put plz help me here is my code\r\n\r\nvar bCTRLPressed:Boolean = event.altKey;\r\n\t\t\t\r\n\r\n\t\t\tif( bCTRLPressed)\r\n\t\t\t{\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tvar curKeyCode:int = event.keyCode;\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif(curKeyCode==78)\r\n\t\t\t{\r\n\t\t\t\r\n\t\t\tModuleload(‘fooditem’,1);\r\n\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\t}\r\nI am using Flex3 and flashplayer 10 “ ---
Again someone on flexcoders wanted to assign keyboard shortcuts for UI components/controls in his application. Following was my response with quick and dirty example..
Suppose you want to assign some keyboard shortcuts to each
control on screen so that when shortcut key is pressed, control gets
focussed and pressing enter/space execute associated action. For example, pressing space key while a button is focussed, would be broadcast button’s click event.
You can easily achieve this by using Key object, as demonstrated in code later.
I am assuming:
- user would press CTRL + 1, CTRL + 2 ...to focus a control on screen.
- user can press SPACE key to execute associated action with the controls
like Button, CheckBox, RadioButton or any button kind of component.
- user can use arrow keys to change values in list type of controls like
ComboBox
- user can type in textfield like control.…
Following example has some controls on screen and pressing CTRL + 1 .. CTRL\
- 5 shifts the focus to corresponding control.…
Following code is quick & dirty and just for demo, you can always write a ShortcutManager class in very OO way, which is more easier to use and managable...
###KeyObjectDemo.mxml###
var keyListener:Object;
function debugTrace(msg)
{
_ta.text+= msg + newline;
}
function initApp()
{
keyListener = new Object();
keyListener.onKeyDown = mx.utils.Delegate.create(this, mx.utils.Delegate.create(this,shorcutHandler));
Key.addListener(keyListener);
}
function shorcutHandler()
{
var bControlPressed:Boolean = Key.isDown(Key.CONTROL);
if(bControlPressed) {
if(Key.isDown(49)) { debugTrace("CTRL + 1");
my_input.setFocus();
}else if(Key.isDown(50)) { debugTrace("CTRL + 2");
my_btn.setFocus();
}else if(Key.isDown(51)) { debugTrace("CTRL + 3");
my_radio.setFocus();
}else if(Key.isDown(52)) { debugTrace("CTRL + 4");
my_check.setFocus();
}else if(Key.isDown(53)) { debugTrace("CTRL + 5");
my_combo.setFocus();
}
}
}
mx:Script>
Indiamx:String>
USAmx:String>
Australiamx:String>
mx:Array>
mx:dataProvider>
mx:ComboBox>
mx:VBox>
mx:Application>
06 Apr 2005
Someone on flexcoders asked about printing a Custom component using PrintJob.
I wrote a quick and dirty example. The idea is to create instance of component in main application, print it and delete it when printing is done.
##PrinJobExample.mxml###
[CDATA[
import Help;
var helpRef;
function testPrintJob():Void
{
helpRef= createChild(Help, "help");
//wait untill help is created & rendered completely...
helpRef.addEventListener("creationComplete",mx.utils.Delegate.create(this, printHelp));
}
function printHelp()
{
var printJob:PrintJob= new PrintJob();
printJob.start();
printJob.addPage(helpRef);
printJob.send();
delete printJob;
destroyChild(helpRef);
}
]]
##Help.mxml###
06 Apr 2005
It seems Macromedia Flash Player would have On2 Video Codec also. On2 Video Codec seems to be better than Sorenson’s.
http://biz.yahoo.com/prnews/050405/latu124.html?.v=5
24 Mar 2005
According to this article, if you like 80% work in your day-to-day job, you can tolerate the rest(20%) of boring/bad/crap work...
via [http://www.poynter.org/column.asp?id=52&aid=79367]
24 Mar 2005
- Be grateful
- Take care of yourself
- Be creative
- Move
- Get someone to take care of you
- Read inspirational material
- Contribute
- Get some time
- Be in nature
- Be happy
via [http://divatribe.com/articles/paries_happiness.shtml]
I do some of above things and I never do some of above things. I should start doing some of above things..
23 Mar 2005
Wooho! I am going to Mumbai this weekend...I am very excited that I would see my friends and Mumbai again...
I just spent around one and half year there while working at Tata Interactive Systems(TIS) and I fell in love with Mumbai city...
I am planning to visit TIS and meet some collegue cum friends. I will be there for three days (26, 26 & 28), hope its a nice break.
20 Mar 2005
Symantec has released a public beta of their Mobile Security software for Symbian 60/80 series. It’s really nice move. I am not aware of any other company providing an anti-virus software for Symbian or Nokia 60/80 series.
I just installed it on my Nokia 6600, it works fine. It has features like auto-protect, firewall & live-update.
These days mobile viruses are getting very common, I remember a few days back my phone(Nokia 6600) was bombarded by many Bluetooth messages containing some kind of .sis file, it might have been a self-distributing virus.
Mobile is happening and next big thing. Early starters would have advantage in coming time. There is so much to happen, it’s all about providing applications which solve some problems. For example, a scientific calculator which has a very usable UI and which solves problems with accuracy. UI would play a key role in success of these applications.
Greeting cards, ring tones, wall papers, games etc are some thing any multimedia designers/developers can start making for Mobile devices, India has market for these(entertainment etc) things now.