From bb5ec98fa4cfa10823ef7af98abae7d5e5d7b161 Mon Sep 17 00:00:00 2001 From: indr Date: Tue, 7 Aug 2018 16:34:08 +0800 Subject: [PATCH] feat: add Adobe Animate publish profile and template to distribution archive --- ....apr => Adobe-Animate-Publish-Profile.apr} | Bin ...ml => Adobe-Animate-Publish-Template.html} | 0 dist/Adobe-Animate-Publish-Profile.apr | Bin 0 -> 2354 bytes dist/Adobe-Animate-Publish-Template.html | 53 ++++++++++++++++++ dist/webcg-adobe-animate-adapter-1.0.0.zip | Bin 117591 -> 121243 bytes scripts/postbuild.sh | 2 +- scripts/prebuild.sh | 1 + 7 files changed, 55 insertions(+), 1 deletion(-) rename adobe-animate/{WebCG-Publish-Profile.apr => Adobe-Animate-Publish-Profile.apr} (100%) rename adobe-animate/{WebCG-HTML-Template.html => Adobe-Animate-Publish-Template.html} (100%) create mode 100644 dist/Adobe-Animate-Publish-Profile.apr create mode 100644 dist/Adobe-Animate-Publish-Template.html diff --git a/adobe-animate/WebCG-Publish-Profile.apr b/adobe-animate/Adobe-Animate-Publish-Profile.apr similarity index 100% rename from adobe-animate/WebCG-Publish-Profile.apr rename to adobe-animate/Adobe-Animate-Publish-Profile.apr diff --git a/adobe-animate/WebCG-HTML-Template.html b/adobe-animate/Adobe-Animate-Publish-Template.html similarity index 100% rename from adobe-animate/WebCG-HTML-Template.html rename to adobe-animate/Adobe-Animate-Publish-Template.html diff --git a/dist/Adobe-Animate-Publish-Profile.apr b/dist/Adobe-Animate-Publish-Profile.apr new file mode 100644 index 0000000000000000000000000000000000000000..a8eac8e08de52ddaf0a5b0d38095ca1109878922 GIT binary patch literal 2354 zcmZ`*X*3iJ7an6shL8qh$=C)lgzO<}Sw>^um&g)EV(hyZipsvGEbm0t&|oYj(s(s0 zTNwL9_Q+D0p;y1Y?|aYJy+7``=iKxBxX*c>^Pr6BLFWKK029DhYuBV5Vp!Hr4*-<2 z0RT_{0AS3m737UT1>W|&<>w(2hW5kT32se7_rdt^ zMD@(eo60%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SuwBw(+ad|q z0k@SEPw5KlQ2g8VWgG)rl*!ni1{Vbq&^Qme`XZK_!p-FcAso$0m*pe|8=b6LArW$x zL!JB@mo+7JA~BP;HJ9ciZ514qqjlH?_K&CGbYK>69D>dOl)<;z92(H~mbouW=7G(x zc2+LiAq8gDlG;1l8T9&Q;Or|x)1T{@$vVi|s&~!!_*_n#*|*orFs$<~lmG#(#O}Gr z$tt$8G-TVMT>9?YU`476jdk>4=%_WsiyB^niZ9oIiRG)UhPi)eoJ5HYN2;vc+x#q8 z93w9gd-fb9#Z}@Ey{DSQa^!D!{A#SKS0?Ue7t5!yQ)LiOe99B{C_)GvhO4ErIq&-2o*^lq`GID0q$xsJmu5!i|i zIwQ(!V;Y?3y1$ySFxD9vF!V`$orpM3>=xqORgXtO-`(ypD;?xPe%yM$sf9A80|Eel ujw2`j^k4PIaPn`Me|y}2Ft$&!&i{w`?RY3-2FBmFz>|J-G9NJg-u?lUbw*VH literal 0 HcmV?d00001 diff --git a/dist/Adobe-Animate-Publish-Template.html b/dist/Adobe-Animate-Publish-Template.html new file mode 100644 index 0000000..213da0d --- /dev/null +++ b/dist/Adobe-Animate-Publish-Template.html @@ -0,0 +1,53 @@ + + + + + + +$TITLE + + +$CENTER_STYLE +$CREATEJS_LIBRARY_SCRIPTS +$ANIMATE_CC_SCRIPTS +$SCRIPT_START +var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation; +function init() { + canvas = document.getElementById("$CANVAS_ID"); + anim_container = document.getElementById("$ANIM_CONTAINER_ID"); + dom_overlay_container = document.getElementById("dom_overlay_container"); + $CREATE_LOADER + $LOAD_MANIFEST + $PRELOAD_ASSETS +} +$HANDLE_FILE_LOAD_START + $HANDLE_FILE_LOAD_BODY +$HANDLE_FILE_LOAD_END +$HANDLE_COMPLETE_START + //This function is always called, irrespective of the content. You can use the variable "stage" after it is created in token create_stage. + $CREATE_STAGE + //Registers the "tick" event listener. + $START_ANIMATION + //Code to support hidpi screens and responsive scaling. + $RESP_HIDPI +$HANDLE_COMPLETE_END +$PLAYSOUND +$SCRIPT_END + + + +
+ +
+
+
+ $PRELOADER_DIV + + diff --git a/dist/webcg-adobe-animate-adapter-1.0.0.zip b/dist/webcg-adobe-animate-adapter-1.0.0.zip index 5b178690eedd20303440f421f31753d500bf6db3..95065df8581b27e290e6d743a17b9c691ab44e87 100644 GIT binary patch delta 3877 zcma)<1yB@TyT+F;MY>A~VJTsyL4hSiIz_s6*(H~57LblV4N?n8BT~|=f*?o>60$7P zDJ6|k7q55jo&WdU@0;(PbIzPOGw(d_%$a%S`F+hG%6UtK)KSO7rvU%}#DE9kM4F4+ zd<@gX0Dve70B{$;0#LAXwSfpKxWJvQJt2ZRUN%l}5162iyDJp#1QD`ExEmUf0Pswo z!%cs0FJCeM4*mun0Px>OkP$?OhLqksgFtQ5SkWKHT0!1KNiU|SL4%!imfaGT9OAgekQ7$H8|^0LvOH7D zc74bpkg=SB?;<=4J~w{N4J*qllGy1#7Zhz1)n&virtkAF^i8p>+KQ`YK`6h}_=TNV znFxEiGjkNOuY&~_#Pwj2`_&4?@6{;NRB$z)PR^CRKr9#EtJEXOVGJ127eE$h2QW## zG|<^KbC95;q!7&a-;pLlpH185 z!4!S+4wj_tKd8&f!24&y`jD-c%s*vI(D!0eS2PACS*tdr^*T@uaud=GBt!mMt?rd< z!$;?=3`E?`Mp0~-65@Rxss0~(zA{jM=)5I^WUm`#7?!BRwxST``6WD~8L%auF>)7M2C%*^Ge~779ffOv+ z`LEMP-6|H^@{y?-cI*!Vgm&)EB&EC|kp%Q+jb<5&N3bS>hFaqa3PC|H2hRi&ECN zj5^t(w>XY1;SU+vuddXRD@)i~kucn-i8Iq#oIxMT3C0YrJ|sNr&6!ix_KW`2B(##H z4c=0{bivnAd2EyJWl6KG^mu#UQ;cL0D~GyDs0Sh0)`Kz27cnXv>JAK0F%bWd)+ojJ zcoK^P3-9${Aba+LGRyGrh@fYYQ$I+$acY${Somb&n{v>Y4M}hK%MBvDgzo*KupR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1TH_V%L+le=Os zA=mD<;T)VIf1);kE!f(23u%K(jl{&3vr-pXey_33C7vs`BeFW%ed>YI6fgG0@L{6s zEuRQYmit`8<3Y6#&vp0Ik&!40eC*C}`DwJw)>KZe=Zcvn{`m97u}lF;#>F*}bIR8l z*%%c@91N_V8T?5{G$FN)^#f*1KGR`y*qBbED7@3c8`j|6k{i+5NBA{bx#}ScD?{_W)=|!1_lm>OO=0pCO7d~uw}+Z$7IHCKERvI$pRKs7uRA3ihx9$ zBgD5yh%+ubpa_yt?wNDKlaqm=UXg)8i9rHr3%Favc>m%7O) z12${A)lEhz_oYBR<*7-@>AESYWhMFfImLRVxhZ;C#i1b(4bi0)+zgB?FPIq^z(jyI SD;vmgCLlZvr0Y(BtN{SIbT#<^ diff --git a/scripts/postbuild.sh b/scripts/postbuild.sh index 13bf691..eff1f21 100755 --- a/scripts/postbuild.sh +++ b/scripts/postbuild.sh @@ -2,5 +2,5 @@ cp dist/*.umd.js docs/ cd dist -zip webcg-adobe-animate-adapter-$npm_package_version.zip *.js +zip webcg-adobe-animate-adapter-$npm_package_version.zip * cd .. diff --git a/scripts/prebuild.sh b/scripts/prebuild.sh index 2738067..7371358 100755 --- a/scripts/prebuild.sh +++ b/scripts/prebuild.sh @@ -3,3 +3,4 @@ mkdir -p dist rm -rf dist/* cp node_modules/webcg-framework/dist/webcg-devtools.umd.js dist/ +cp adobe-animate/* dist/