VerkkoNet

Creating custom context menu in Flash using AS3.0 - Flash Tutorials5m26s

Creating custom context menu in Flash using AS3.0 - Flash Tutorials

This video is about creating a custom right click menu to the flash project. Website: http://samsolomonprabu.com/ Here's the source code: ----------------------------- var myContextMenu:ContextMenu = new ContextMenu(); myContextMenu.hideBuiltInItems(); var menu1:ContextMenuItem = new ContextMenuItem(-@ created by sam-); myContextMenu.customItems.push(menu1); this.contextMenu = myContextMenu; menu1.addEventListener(ContextMenuEvent.­MENU_ITEM_SELECT,loadMyProfile); function loadMyProfile(e:ContextMenuEvent):void{ navigateToURL(new URLRequest(-http:-- www.facebook.com -ultr­a_sam-)); }

CountDown Clock in flash using AS 3.0 - Flash Tutorials7m19s

CountDown Clock in flash using AS 3.0 - Flash Tutorials

This tutorial will help you to create a countdown clock. Hope you learn something new. Website: http://samsolomonprabu.com/ Code: var today:Date = new Date; var christmas:Date = new Date(2013,11,25); var milliseconds:Number = christmas.getTime() - today.getTime(); var seconds:Number = Math.floor(milliseconds / 1000); var minutes:Number = Math.floor(seconds / 60); var hours:Number = Math.floor(minutes / 60); var days:Number = Math.floor(hours / 24); hours %= 24; minutes %= 60; seconds %= 60; countDown_txt.text = days + ":" + hours + ":" + minutes + ":" + seconds;

Controlling objects by keyboard and mouse in Flash using AS3.0 - Flash Tutorials12m15s

Controlling objects by keyboard and mouse in Flash using AS3.0 - Flash Tutorials

In this vide, you can learn to work with mouse and keyboard, and controlling objects with mouse and keyboard in Flash using AS3.0 Website: http://samsolomonprabu.com/ Here's the source code: --------------------------- import flash.events.MouseEvent; import flash.events.KeyboardEvent; upbtn.addEventListener(MouseEvent.CLICK, moveUpwards); downbtn.addEventListener(MouseEvent.CLIC­K, moveDownwards); rightbtn.addEventListener(MouseEvent.CLI­CK, moveRight); leftbtn.addEventListener(MouseEvent.CLIC­K, moveLeft); stage.addEventListener(KeyboardEvent.KEY­_DOWN, onKeyPress); function onKeyPress(e:KeyboardEvent):void{ if(e.keyCode == 38){ baseball.y -= 10; }else if(e.keyCode == 40){ baseball.y += 10; }else if(e.keyCode == 37){ baseball.x -= 10; }else if(e.keyCode == 39){ baseball.x += 10; } } function moveUpwards(e:MouseEvent):void{ baseball.y -= 10; } function moveDownwards(e:MouseEvent):void{ baseball.y += 10; } function moveRight(e:MouseEvent):void{ baseball.x += 10; } function moveLeft(e:MouseEvent):void{ baseball.x -= 10; }

Circle Animation to Mouse Move event in Flash using AS3.0 - Flash Tutorials6m05s

Circle Animation to Mouse Move event in Flash using AS3.0 - Flash Tutorials

This video tutor is about creating nice effect to the mouse cursor in flash using AS3.0 Code Website: http://samsolomonprabu.com/ Here's the source code: --------------------------- import flash.display.MovieClip; import flash.events.Event; stage.addEventListener(Event.ENTER_FRAME­, circleEffect); function circleEffect(e:Event):void{ for(var i:int = 0; i - 4; i++){ var obj:circle = new circle(); obj.x = mouseX; obj.y = mouseY; obj.rotation = Math.random() * 360; stage.addChild(obj); } }

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

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

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

Analog Clock in flash using AS3.0 - Flash Tutorials6m00s

Analog Clock in flash using AS3.0 - Flash Tutorials

This is the basic steps to create analog clock in flash using AS3.0, Website: http://samsolomonprabu.com/ Code: var time:Date = new Date(); second_mc.rotation = time.getSeconds() * 6; minute_mc.rotation = time.getMinutes() * 6; hour_mc.rotation = time.getHours() * 30;