Tuesday, July 22, 2008

Google Search Box with Error Message


A Google search box made with Adobe flash CS3.
 you can change target frame (same window, new window, etc) in this file. Just like normal search at Google.com you can press the search button or you can just press enter to start the search.
Feel free to add it on your website .


Download Source : Click here

Customize right click menu in Flash





Step1: Open New document in flash (Ctrl + N)

Step2: Select first frame, right-click and paste the below code in first frame


//text
Mytext.text = "Right Click";
//INITIALIZATION
var contextM = new ContextMenu();
contextM.hideBuiltInItems();
// set Site link
var MyWebSite = new ContextMenuItem("Visite us!", goMyWebSite);
contextM.customItems.push(MyWebSite);
function goMyWebSite() {
getURL("http://www.yourweblink.com", _self);
}
//Mail
var MyForum = new ContextMenuItem("Our Forum!", goToMyForm);
contextM.customItems.push(MyForum);
function goToMyForm() {
getURL("http://www.yourweblink.com/form");
}
//contextMight
var Mycopyvar = new ContextMenuItem("contextMight © yourWebSite.com", goMycopyvar);
contextM.customItems.push(Mycopyvar);
function goMycopyvar() {
}
this.menu = contextM;


Step3: Create a secound layer & create a dynamic text field on stage , give the intence name of text feild Mytext.


Download Source : Click here

Monday, July 21, 2008

Flash Analog Clock


Note: This clock is taking the time off your local computer and displaying it on the web page through Flash. This is not perfect as I don't know if your clock is correct. There are other ways of finding out the time but they are much more complicated and not necessarily more accurate. So I have gone for a very simple method of finding out the time. It works and is not too difficult to create.

Download source: Click here