Wednesday, May 4, 2011

Tuesday, March 29, 2011

How to enable Flash trace on Windows 7 Pro

First create mm.cfg file under

C:\Users\\mm.cfg and add following lines
--------------------
TraceOutPutFileName=C:\Users\\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt
ErrorReportingEnable=1
TraceOutputFileEnable=1
-----------------------

Now create flashlog.txt file in this directory.

C:\Users\\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt

Also make sure you have Flash Debugger version i.e. Right click on flash base app in browser to see "Debugger" option enable. Otherwise simple "Flash Debugger version" in google will provide valid link to Adobe download page.


Enjoy

Tuesday, January 4, 2011

Android and google voice perfect combo for communcation.

Most of the time you love what Android offers and all the smart phones features. But something always bug when you receive unwanted calls from telemarketers at odd hours (for that matter known people you want to avoid)

Here is the step to block them or send them to voicemail etc...

You must have following to do it (everything is FREE)

1. You must have Gmail account.

2. Enter contact number you want to block in gmail "contact"

3. Now go to www.google.com/voice - Click on Contacts --> select number you want to block on right hand side.

4. Now click on "Edit Google Voice Settings" --> Now in new page you will have options under
"When this contact calls you" with combobox with "Send to voicemail", "Treat as spam", "block caller". Once you set this you don't have to worry about any idiots calling you number of times a day.

Also you want to register you phone in no call registry but sometime that doesn't work but above will work for specific numbers for sure.

Nehul

Sunday, October 3, 2010

How to create Flex button with pulsing effects?

You can create simple Flex button using MXML tag or actionscript but many times you need more on real world project. You can assign some kind of animation or pulsing background to normal Flex button. But to do that you have to create the effects in Flash. Now you have to import that into Flex but do that you need to do the following

1. First create Animation.swf Flash file. It has effects you want to assign to Flex button.

2. Animation.swf contains symbol name. Now you create simple actionscript class call Assets.as


public class Assets{

[Embed(source='assets/animations/Animation.swf#square')]
public static var animation_icon:Class;

}

3. Make sure you have "square" symbol or any other name symbol in Flash file. That symbol will have animation or effects you want to assign to flex button.

4. Now in your Flex or actionscript code where you have created button assign the effects like this

button.setStyle("icon",Assets.animation_icon);

5. You can remove the effects using following
button.styleName = (any normal button style you want to see);


Now you can see the animation or effects in Flex button.

Enjoy.

Monday, August 30, 2010

Do you need additional framework for Flex 3 or 4 development?

I am of strong opinion that you don't need any additional framework for Flex 3 or 4 development. If you follow codebehind in Flex development with custom event handling solve lot problems you try to handle with additional framework (e.g. famous PureMVC & Cairngorm)

more later..

Friday, July 16, 2010

Flex Builder internal error - Right click to find more information

If your project compile perfectly fine one day and next day you get "Flex builder internal error: Right click to find more information" check out following link from Adobe.

Adobe Link for error


Basically chances are very high you might have added new file or changes where you have blank switch statement.

switch(case){

}


You can remove it or add default and project will compile again. Small things but makes life tougher sometime.

Enjoy.