Button pressing, text display, Programme making

[CENTER]
sjpower vbmenu_register(“postmenu_2110827”, true);
Registered User
[/CENTER]
[FONT=Verdana][SIZE=1]Location: [/SIZE][/FONT] [FONT=Verdana][SIZE=1]Posts: 1[/SIZE][/FONT]

				 		 	 	 	 	 	 		 			 			 				 				**Button pressing, text display, Programme making** 			
		 			 		 		 		 		 I'm fairly new to actionscript and I need to write a script which allow the user to press a directional button on screen which then creates a list on screen. (e.g. up,up,left,up,right...etc..) Another button then activates this "program" to move an object on screen. Can anybody guide me to the areas I should be looking at. At present I am having trouble displaying the list on screen and creating a program out of it. Thanks