is it possible to do a custom ContextMenu on a Dynamic Textfield? I want to keep the open and copy items but i want to add some extra stuff… I read the tutorial on contextmenus but cant figure this out. If this is not possible, is it possible to copy a string to the cache via Actionscript? as this is what im after really
Nope…, or at least not within the confines of Flash. The customized context menu only occurs clicking static parts of the field, where Flash is in control. You can’t do it.
how about copying the string to cache?
System.setClipboard()
Availability
Authoring: Flash MX 2004.
Playback: SWF files published for Flash Player 6 or later, playing in Flash Player 7 or later.
Usage
System.setClipboard(string)
Parameters
string A plain-text string of characters to place on the system clipboard, replacing its current contents (if any). If you pass a string literal, as opposed to a variable of type string, enclose the literal in quotation marks.
Returns
A Boolean value of true if the text was successfully placed on the clipboard, false otherwise.
Description
Method; replaces the contents of the system clipboard with a specified text string.