Basic Google Search Application in Flash using AS3.0 - Flash Tutorials

VerkkoNetPublished: August 10, 2017
Published: August 10, 2017

In this video lesson, you can learn how to create google search application in flash using AS3.0

Website: http://samsolomonprabu.com/

Here's the source code:
----------------------------
import flash.events.MouseEvent;
import flash.net.URLRequest;
import flash.events.KeyboardEvent;

btnSearch.addEventListener(MouseEvent.CL­ICK, search);

function search(e:MouseEvent):void{
navigateToURL(new URLRequest(-http:--www.google.com-search­?q=- + txtSearch.text));
}

stage.addEventListener(KeyboardEvent.KEY­_DOWN, searchGoogle);

function searchGoogle(e:KeyboardEvent):void{
if(e.keyCode == Keyboard.ENTER){ navigateToURL(new URLRequest(-http:--www.google.com-search­?q=- + txtSearch.text));
}
}

Here you can download the source file:
----------------------------------------­-------
https://docs.google.com/file/d/0B9acnrbUkqsgVFlTb29XY0RLWWc/edit?usp=sharing

Recommend tags
  • action script programming+1
  • as3+1
  • adobe flash+1
  • flash tutorials+1

action script programmingas3adobe flashflash tutorials

Comments

0 comments