플래시에서 클립보드 사용
문자열을 넘겨주면 이를 사용자 컴퓨터의 클립보드에 복사하고 v2 Alert component를 통해 사용자에게 클립보드에 복사된 문자열리 무엇인지 알려준다.
function copyToClipboard(str:String) {
System.setClipboard(str);
var alertString = 'String \''+str+'\' has copied to your clipboard.\n';
alertString +='To paste, press \'ctrl + v\'.';
mx.controls.Alert.show(alertString, 'Information');
};
About this entry
You’re currently reading “플래시에서 클립보드 사용,” an entry on multiplicité
- Published:
- Tuesday, April 19th, 2005 at 2:16 pm
- This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Korea.
- Author:
- vizualizer
- Category:
- techne
No comments
Jump to comment form | comments rss