Thanks for the reply.
Basically, on clicking button, I am trying to open a remote url(abc.html containg flex application) inside HTML which is a child of Window class .Now, my requirement is to support native drag and drop to that html file.
Following is the sample code:
private var url_1: String;
//Window creation complete handler
protected function window1_creationCompleteHandler(event:FlexEvent):void
// TODO Auto-generated method stub
//Open the system notification window
public function openWindow(url:String) :void
// center the window on the screen
var screenBounds:Rectangle = Screen.mainScreen.bounds;
nativeWindow.x = (screenBounds.width - nativeWindow.width) / 2;
nativeWindow.y = (screenBounds.height - nativeWindow.height) / 2;
<mx:HTML id="htmlloader" width="100%" height="100%" verticalScrollPolicy="off"
horizontalScrollPolicy="off" top="0" bottom="0" left="0" right="0"/>
On click of button, I call openWindow method of this window.
You can't drag files from a desktop onto a browser application.
You can only drag and drop from the desktop to AIR applications, here is the documentation for doing it in AIR.
It maybe possible to upload the file and then drag that file into the HTML. However, it wouldn't be a simple drag and drop of the information, you would have to insert whatever text is required for the HTML to point to the location of the uploaded file.