{"id":2046,"date":"2016-02-04T01:44:27","date_gmt":"2016-02-04T01:44:27","guid":{"rendered":"http:\/\/www.ericwhite.com\/home2\/bm8qcmjy\/public_html\/blog\/?page_id=2046"},"modified":"2016-02-04T01:52:32","modified_gmt":"2016-02-04T01:52:32","slug":"customizing-the-uploaddownload-buttons-when-using-flash-and-openxmlsdk-for-javascript","status":"publish","type":"page","link":"https:\/\/www.ericwhite.com\/blog\/customizing-the-uploaddownload-buttons-when-using-flash-and-openxmlsdk-for-javascript\/","title":{"rendered":"Customizing the Upload\/Download Buttons when using Flash and OpenXmlSdk for JavaScript"},"content":{"rendered":"<p class=\"Alert\">This functionality is deprecated.  I recommend using HTML5 only.<\/p>\n<p><span class=\"Back\"><a class=\"Back\" href=\"https:\/\/www.ericwhite.com\/blog\/open-xml-sdk-for-javascript\/\">Return to the<br \/>Open XML SDK for JavaScript<br \/>Developer Center<\/a><\/span>If you are writing an Open XML JavaScript application where you are targeting browsers that do not support HTML5, then you need some way to open files from the local hard drive into a JavaScript variable. &nbsp;You also need some way to save the modified Open XML document from a JavaScript variable to your local hard drive. &nbsp;Flash 10 and later enable loading and saving data to local storage. &nbsp;It is easy to create a small interop JavaScript module that uses the Flash module to open and save documents. &nbsp;However, you need to be able to customize the look of the Flash buttons to match the look of your web app. &nbsp;This screen-cast shows how.<\/p>\n<p>Note that if you are using HTML5, you do not need to use Flash to upload and download files into local JavaScript storage.<\/p>\n<p><iframe loading=\"lazy\" title=\"Customizing Upload\/Download Buttons for OpenXmlSdk for JavaScript\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/uBYAiPRmpTI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This functionality is deprecated. I recommend using HTML5 only. Return to theOpen XML SDK for JavaScriptDeveloper CenterIf you are writing an Open XML JavaScript application where you are targeting browsers that do not support HTML5, then you need some way to open files from the local hard drive into a JavaScript variable. &nbsp;You also need [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_s2mail":"","footnotes":""},"class_list":["post-2046","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/pages\/2046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/comments?post=2046"}],"version-history":[{"count":2,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/pages\/2046\/revisions"}],"predecessor-version":[{"id":2050,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/pages\/2046\/revisions\/2050"}],"wp:attachment":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/media?parent=2046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}