wickedboy
12-06-2005, 09:22 PM
I used a function as below but only one of either clipboard or getVariable work at a time...
Application.dragdrop.enable = true;
Application.dragdrop.onDragGetData = function ()
{
return Application.clipboard.paste();
}
{
return FlashPlayer.getVariable("_root.currentSentence");
}
So instead I have been suggested to use the variable below, but I'm not 100% sure how to use it...I would be most gratful if someone could explain how I could use it?
var something = Application.clipboard.paste();
trace(something);
return FlashPlayer.getVariable("_root.currentSentence");
Or is it possible to use both somehow?
WickedBoy
Application.dragdrop.enable = true;
Application.dragdrop.onDragGetData = function ()
{
return Application.clipboard.paste();
}
{
return FlashPlayer.getVariable("_root.currentSentence");
}
So instead I have been suggested to use the variable below, but I'm not 100% sure how to use it...I would be most gratful if someone could explain how I could use it?
var something = Application.clipboard.paste();
trace(something);
return FlashPlayer.getVariable("_root.currentSentence");
Or is it possible to use both somehow?
WickedBoy