------------------------------------------------------------------------------------------------------------------
READ MORE:
http://technoargia.free.fr/swftools/
http://wiki.swftools.org/wiki/References
KEYBOARD SIMULATOR AS2 - YouTube
https://www.youtube.com/watch?v=pzx2500L99Y
8 mins ago - Uploaded by SAVE MONEY
KEYBOARD SIMULATOR AS2. SAVE MONEY .... Minix Neo A2 Lite Gyro Remote Review - a HTPC remote .------------------------------------------------------------------------------------------------------------------
CODE:
CODE COPY FROM VB 2010 > MICROSOFT WORD 2007
USE ONE TEXT BOX GIVE INSTANCE NAME TextBox1
------------------------------------------------------------------------------------------------------------------
function Num(){
if (etatnum != "1"){
numOn();
_menu = "true";
}
else{
numOff();
_menu = "false";
}
_quality = "BEST";
}
function numOff(){
_root.createEmptyMovieClip("num_del", 300);
_root.attachMovie("num_off", "num_del", 300);
etatnum = 0;
}
function lockOn(){
_root.createEmptyMovieClip("num_lock", 400);
_root.attachMovie("lock_on", "num_lock", 400);
etatlock = "On";
}
function lockOff(){
_root.createEmptyMovieClip("num_lock", 400);
_root.attachMovie("lock_off", "num_lock", 400);
etatlock = "Off";
}
var etatnum;
var etatreel_num
= Key.isToggled(144);
var etatlock;
var etatvideo;
_quality = "BEST";
_focusrect = false;
useHandCursor = false;
TextBox1.embedFonts
= 0;
var monStyle2 = new TextFormat();
monstyle2.bold = false;
monStyle2.font = "_sans";
monStyle2.size = "25";
monStyle2.tabStops
= "10";
TextBox1.setnewTextFormat(monStyle2);
TextBox1.setTextFormat(monStyle2);
waitouches = new Object();
waitouches.onKeyDown
= function (){
keydownrun = true;
_root.kd =
Key.getCode();
if (Key.getCode()
== 40){
_root.testPlayerMove(1,
0);
}
else if (Key.getCode()
== 38){
_root.testPlayerMove(-1,
0);
}
else{
if (Key.getCode()
== 20){}
else{}
_root.createEmptyMovieClip("video", 1000);
etatvideo = 0;
}
Key.getCode();
updateAfterEvent();
};
waitouches.onKeyUp
= function (){
if
(!Key.isToggled(144)){
numOff();
}
else{
numOn();
}
if
(!Key.isToggled(20)){
lockOff();
}
else{
lockOn();
}
};
Key.addListener(waitouches);
stop ();
EmoticonEmoticon