Loader class can load image from ByteArray. I used this method before a year ago to set a part of a screen for Screen Sharing application. Right now I was having a case where I need to create an image from Base64 encoded string. I am using following code to do this ::
var str:String = [...]
Archive for April 8th, 2009
8 Apr
Loading Image using Loader.loadBytes()
8 Apr
Built-In Context Menu Items on Flash TextField
Is there any way to hide default context menu items on Flash TextField? Some one will try to answer with ContextMenu.hideBuiltInItems() function, but this function does not really work with Flash TextField. It does not hide the built in items.
So following code does work but not as expected ::
var myContextMenu:ContextMenu = new ContextMenu();
myContextMenu.hideBuiltInItems();
var txt:TextField = [...]
Recent Comments