Common methods for indicating important comments

Some common methods for indicating important comments are TODO, BUG, KLUDGE and TRICKY. You can try this in any language, I’m using this in Action Script, PHP, Flex and Javascript and CSS also :P .

1 . // :TODO: Description
Indicates that there is more to do here. Continue reading

Posted in Flash, General, Javascript, PHP, Programming | Tagged , , , , , , , , | Leave a comment

Gmail Drag and Drop attachments onto messages

Google Implemented the new drag and drop feature in Gmail. Click Here

Posted in General | Tagged , | Leave a comment

Change the width and height of video dynamically in Action Script 3.0

In flash action script programming, we use the Video class to load the video files. Then you need to set the width and height at the time of instance creation e.g: new Video(500, 400); If you are building a video player in flash like this method, this would be the width and height of the video area. All the videos are show only at this dimension. So sometimes the video seems  to be stretched to width or height. To overcome this situation to show the actual dimension of the video file, you need to set the width and height according to the file loaded. Continue reading

Posted in Flash | Tagged , , , , | Leave a comment

Dynamic Image Loading and resizing with Action Script 3.0

Here is the Flash Action Script 3.0 code for the dynamic image loading and resizing function. There is no need to create any movieclip or loader component from the library. The script handle all these functions.

Download

Flash Action Script 3.0 Continue reading

Posted in Flash | Tagged , , | Leave a comment

Image Crushing With Smush.it™

We have found many good tools for reducing image size. Often times these tools are specific to particular image formats and work much better in certain circumstances than others. To “smush” really means to try many different image reduction algorithms and figure out which one gives the best result. These are the tools which we frequently used on crushing, ie Imagemagick , pngcrush, jpegtran, gifsicle and finally Smush.it™ online application. Continue reading

Posted in General | Tagged , , | Leave a comment