pashminakazi commented on issue #867:
URL: https://github.com/apache/royale-asjs/issues/867#issuecomment-650059079
Ok,If I will create a separate function for preparing data before calling
click handler
Example In that function I will do
private function
PreparingData(name:String,file:mx.utils.ByteArray,status:String):void {
DownloadButton.data = data.at_Bytes;
DownloadButton.defaultFileName = data.at_Name;
}
where i call PreparingData function? and then when i am doing everything in
that function,what should i do in ClickHandler function?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]