Pages

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?

:)


Wednesday, August 22, 2007

Edit in place


WOW! did I know that the UI component in CS3 are editable now. Now my designers wont have problem in editing them in place..the feature in flash 6 is bought back.. In a very systematic way.. all the movieclips in the UI component are linked to the external class in the display package. And hence no code in the timeline. And there by i don't need to worry that my designer delets the code by mistake.. cool and thanks to adobe for bringing back something good.