Home » Archive

Articles Archive for December 2009

AIR, ActionScript 2.0, ActionScript 3.0, Design, Flash CS4, Flex »

[16 Dec 2009 | No Comment | ]
Free Flash/Flex Preloaders

Preloaders are much needed for Flash/Flex RIA’s.
Here some of the free preloader animations created by me this morning.

Idea of preloader is indicating the user that some assets are being loaded, and making them to wait.
But we should keep in mind that the user may lost their patience, so keeping the Flash assets filesize minimal is much important while making Flash websites or Flash applications.

ActionScript 3.0 »

[15 Dec 2009 | One Comment | ]
FluidHtml + searchable Flash

FluidHtml is a text-based markup language (like HTML) that lets you dynamically generate fully searchable Flash content. This is an extraordinarily powerful idea. It means that anyone can build fully searchable, highly animated websites, ads, media players and 3D animations quickly and easily.

When we set out to build FluidHtml, we had four basic goals in mind:
1. Address the search and deeplinking problems of FlashÂ… so we can use Flash for websites.
2. Development, operation and support of RIAs should be ordinary, intuitive and consistent with the normal, best practices …

ActionScript 3.0, Flash CS4, Flex, Javascript »

[14 Dec 2009 | No Comment | ]
Dynamic Stage resize + AS3

Changing the size of flash document from Javascript will be handy in many situations like creating Flash widgets like

News scroller
Flash Banners

..
In this article we are going to create that effect.
First we need to import necessary classes.
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.display.MovieClip;
The next step is to align the stage to TOP LEFT and scalemode to no scale.
Means we are aligning the stage to topleft even if we resize it and not scaling the contents on resize
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
The final step is to add Event listener for stage resize
stage.addEventListener(Event.RESIZE, handleResize);
function handleResize(e:Event):void
{
//The …

AIR, ActionScript 3.0, Flash CS4, Flex »

[13 Dec 2009 | No Comment | ]
FlexPMD to audit AS3/Flex source

Now we can create optimized Actionscript and flex code. Adobe has released FlexPMD to audit Actionscript (AS3) or Flex source.
FlexPMD uses a part of PMD, which used to analyse Java sources.
FlexPMD detects unused codes(like functions variables), inefficient code, complex loops..
FlexPMD can be invoked from
* The command line
* Maven
* Ant
* Automator on Mac OS X
* Eclipse new
* TextMate on Mac OS X new
* …

ActionScript 3.0, Flash CS4, Javascript »

[8 Dec 2009 | No Comment | ]
Remove/Hide right click + actionscript

Finally the default menu items from the Flash player can be removed.
Since when I started working in Flash, was thinking is there any option, but finally it came into action.
Now the developer can use this Code to hide the default right click menu in Flash through actionscript and javascript together.
The flash file(SWF) should be embedded inside a HTML page with the javascript file called.
But one sad new is that this will not work with opera browser.
Game developer and RIA – Rich internet Application can leverage this functionalit to hide/remove the …

Google, Webmasters »

[8 Dec 2009 | No Comment | ]
On Mouse move + Google

Just today I noticed when we enter google.com and wait without moveing the mouse you will see only the search textfield and button.
When we move the mouse the remaining options and top navigations accours.
The below function does the trick
onmousemove=”google&&google.fade&&google.fade()”
cheers
Just today I noticed when we enter google.com and wait without moveing the mouse you will see only the search textfield and button.

When we move the mouse the remaining options and top navigations accours.

The below function does the trick

onmousemove=”google&&google.fade&&google.fade()”

cheers

Ethical Hacking »

[4 Dec 2009 | One Comment | ]
Unlock protected PDF

PDF can be protected by the author printing copying or editing. So I am in a need of printing a password protected PDF and after an hour searching in Google.com I found a online tool to break password, bypass printing and copying restrictions
Please use this for ethical hacking and I request not to use for illegal works.

Note:

Accept the terms and conditions

PDF file should not be more than 5MB

To Crack Restricted PDF
http://www.ensode.net/pdf-crack.jsf