Keyboard Event Snippets


When a KeyboardEvent fires, you can test which key was pressed because that event contains information you can write logic against.

22 February, 2011   

Simple usage: var xmlLoader:LoadXMLUtil = new LoadXMLUtil("pathtoxml.xml"); xmlLoader.addEventListener(Event.COMPLETE, onLoaderComplete); private function onLoaderComplete(event:Event):void{ trace("Loaded XML: "); trace(xmlLoader.xml); }

14 May, 2014   

Html Code example for hCalendar

06 November, 2013   

Example shows how to handle window closing events. This is a very basic event handling when you are working on a UI Application.

JavaScript Code example to protect Your Web Page Content

10 April, 2012   

Protect your web page content with JavaScript code

04 July, 2011   

Animation with threads by John E. Grayson

30 January, 2013   

JQueryUI Search Auto complete Jump Menu with data from remote URL

29 June, 2011   

There are times when you need to access the stage property before onCreationComplete. Here are two ways to do it.

06 November, 2013   

This Java code example on how to hide a frame when closed

26 November, 2015   

Show the currently active processes.

30 January, 2013   

jQuery code example for animated scroll

13 August, 2011   

Although there really isn't any foolproof way to protect your web page content, this JavaScript will discourage the more novice Internet users from copying your content. An alert box will appear displaying your copyright information when the right mouse button is clicked. However, this script will not completely protect your content from more...

15 September, 2011   

Here are example of Different computer-output tags

22 August, 2012   

This JavaScript code within your web page HTML between your HEAD tags

07 September, 2019   

Normally the tab key moves to the next focusable thing. This inserts a tab character in instead.

17 November, 2011   

Example for some HTML <em> <strong> <dfn> <code> <samp> <kbd> <var> <cite> Tags

Scribble an applet of intermediate complexity, used as an example in the introductory chapter. Click and scribble in the window.

01 March, 2011   

Mouse Move Paint . A simple program for drawing using mouse move event in vb.net 2005 version... This code is compatible with : VB 2005, VB 2008, VB 2010 Steps For Creation:- --------------------------- 1. Change the background color of the form1 as white. 2. Then, double click the form and change the event as mouse move click event. 3. Now,...

28 January, 2019   

Usually, when one event loads, it writes over any previous ones. Using this snippet, you can add several events to one page without any problems.