05-23-2013 04:46 PM
I would like to allow users to share text they selected in a textfield (I'm using the "native" StageText) to other apps such as BBM or EMAIL.
How to enable the SHARE entry in the menu list? Currently there are only options for COPY, PASTE in the list...
Any example is really appreciated!
05-28-2013 07:38 AM
05-30-2013 09:06 AM
yes. this example would be a share via BBM
var byteData:ByteArray = new ByteArray(); byteData.writeUTFBytes("This is some text to share."); var request:InvokeRequest = new InvokeRequest(); request.mimeType = "text/plain"; request.target = "sys.bbm.sharehandler"; request.action = InvokeAction.SHARE; request.data = byteData; InvokeManager.invokeManager.invoke(request);
you may have to search the forum a bit, if your classes are not found