
Added by roScripts on August-25-2007, 4:25 pm
*OK so everyone's been going on about how to use the standard Windows copy
and paste keys within Flash. Well here's my solution.*/
// Win. Copy and Paste Functionality, V1
// Jesse Stratford, www.actionscript.org
onClipEvent (enterFrame) {
if (Key.isDown(Key.CONTROL) and Key.isDown(67)) {
if (Selection.getFocus() != null) {
copy = Selection.getFocus();
}
} else if (Key.isDown(Key.CONTROL) and Key.isDown(86)) {
if (Selection.getFocus() != null) {
_root[Selection.getFocus()] = eval(copy);
}
}
}
/*This goes on a controller clip somewhere off stage.
To copy click inside a text field and press Ctrl C, to
paste, click the target field and press Crtl V.*/
Added by roScripts on March-26-2008, 5:14 pm
Added by roScripts on March-26-2008, 5:13 pm
Added by roScripts on March-26-2008, 5:09 pm
Added by roScripts on March-26-2008, 5:08 pm
Added by roScripts on March-26-2008, 5:07 pm
2008-06-05 | 06:37 am