Solved! Go to Solution.
My purpose is to have a clickboard function. I loaded
import flash.desktop.Clipboard;
import flash.desktop.ClipboardFormats;
Then created
private var richTextEditor:mx.controls.RichTextEditor = new mx.controls.RichTextEditor();
The 3rd step is
richTextEditor.text = txtX.text;
System.setClipboard(richTextEditor.text);
The 4th step is paste the content on NotePad if it is open.
It works but I want to have NotePad open dynamically.
To open NotePad, I need
import flash.filesystem.File;
But I could not find the swc for the Flash.filesystem.File.
Thanks for your response.
My purpose is to have a clickboard function. I loaded
import flash.desktop.Clipboard;
import flash.desktop.ClipboardFormats;
Then created
private var richTextEditor:mx.controls.RichTextEditor = new mx.controls.RichTextEditor();
The 3rd step is
richTextEditor.text = txtX.text;
System.setClipboard(richTextEditor.text);
The 4th step is paste the content on NotePad if it is open.
It works but I want to have NotePad open dynamically.
To open NotePad, I need
import flash.filesystem.File;
But I could not find the swc for the Flash.filesystem.File.
Thanks for your response.