Pages

Thursday, September 20, 2007

New presentation tool from google :)

I use google docs,google reader regularly. While browsing across the bolgs came to know about the presentation tool from google, The Great-google's presentaion tool is awesome.

Tuesday, September 11, 2007

air's adl.exe

When we open the air app the adl.exe get executed and runs in background.
I was trying to create multiple windows and playing with its visibility and close event.

When one window is made invisible without closing it.There is no way to open the
window again..(because its was not closed , just made invisible.)

If you are facing the problem like this.. while development..DO NOT PANIC(As I did).
Closing of flexbuilder or anything else wont help..
Just go to the task manager and end the process "adl.exe"
I am wondering , what is the long form on adl??

Friday, September 7, 2007

Logger

So .. I wrote a logger today for my flex and air app.

If u are creating logger for the first time.. and u are on the XP
You will have to follow the following steps

1) create "mm.cfg" file in

C:\Documents and Settings\user_name

2) then write ur logger and give the trace target..
A help about creating a logger is given at felxbuilder's help
few code snippet here :

import mx.logging.Log;
import mx.logging.ILogger;
var logObj = Log.getLogger(NameofClass); // for name of class u can just pass
// application class also
// mx.core.Application.application

and in main application :

<mx:TraceTarget level="0" includeDate="true" includeTime="true" includeCategory="true" includeLevel="true"> <mx:filters> <mx:Array> <mx:String>*</mx:String> </mx:Array> </mx:filters> </mx:TraceTarget>

and thats it..
then where u will write...
trace("trace me") or logObj.info("trace me")
The messaged is pushed to logfile

The location of the log file is

C:\Documents and Settings\user_name\Application Data\Macromedia\Flash Player\Logs\Flashlog.txt

Yes .. the log folder gets created.

:) info pushes the

google custom search egine

google....

Google's development speed is more than my thinking speed.

Look at the gadget in the side bar..is it not cool?

:)