Guest User

Untitled

a guest
Mar 17th, 2020
571
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 67.85 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <!--
  3.     NOTES:
  4.     1. All tokens are represented by '$' sign in the template.
  5.     2. You can write your code only wherever mentioned.
  6.     3. All occurrences of existing tokens will be replaced by their appropriate values.
  7.     4. Blank lines will be removed automatically.
  8.     5. Remove unnecessary comments before creating your template.
  9. -->
  10. <html>
  11. <head>
  12. <meta charset="UTF-8">
  13. <meta name="authoring-tool" content="Adobe_Animate_CC">
  14. <title>ResultatFramstilling_HTML5_Eng</title>
  15. <!-- write your code here -->
  16. <script src="https://code.createjs.com/1.0.0/createjs.min.js"></script>
  17. <script>
  18. (function (cjs, an) {
  19. var p; // shortcut to reference prototypes
  20. var lib={};var ss={};var img={};
  21. lib.ssMetadata = [
  22.         {name:"ResultatFramstilling_HTML5_Eng_atlas_", frames: [[0,0,2000,1600]]},
  23.         {name:"ResultatFramstilling_HTML5_Eng_atlas_2", frames: [[0,0,1600,2000]]},
  24.         {name:"ResultatFramstilling_HTML5_Eng_atlas_3", frames: [[0,0,2048,1536]]},
  25.         {name:"ResultatFramstilling_HTML5_Eng_atlas_4", frames: [[0,0,1920,1620]]},
  26.         {name:"ResultatFramstilling_HTML5_Eng_atlas_5", frames: [[0,0,2000,1333]]},
  27.         {name:"ResultatFramstilling_HTML5_Eng_atlas_6", frames: [[0,0,1348,1735]]},
  28.         {name:"ResultatFramstilling_HTML5_Eng_atlas_7", frames: [[0,0,1308,1592]]},
  29.         {name:"ResultatFramstilling_HTML5_Eng_atlas_8", frames: [[0,0,1312,1553]]},
  30.         {name:"ResultatFramstilling_HTML5_Eng_atlas_9", frames: [[0,0,1364,1371]]},
  31.         {name:"ResultatFramstilling_HTML5_Eng_atlas_10", frames: [[0,0,1231,1483]]},
  32.         {name:"ResultatFramstilling_HTML5_Eng_atlas_11", frames: [[0,807,1351,1097],[0,0,1991,805]]},
  33.         {name:"ResultatFramstilling_HTML5_Eng_atlas_12", frames: [[0,0,1355,893],[0,895,1160,996]]},
  34.         {name:"ResultatFramstilling_HTML5_Eng_atlas_13", frames: [[1766,315,233,39],[0,735,1331,551],[0,0,1362,733],[1333,735,690,534],[1766,242,248,71],[1685,1432,363,71],[389,1718,368,57],[0,1718,387,66],[909,1657,378,71],[1125,1756,373,51],[1465,1644,376,110],[759,1730,364,53],[544,1667,195,37],[0,1288,907,377],[1364,402,577,129],[1766,0,240,240],[909,1288,955,142],[389,1777,226,26],[1685,1505,268,28],[1766,356,253,31],[1289,1657,98,97],[0,1667,542,49],[1364,643,575,50],[1465,1539,406,103],[1941,643,102,48],[1364,0,400,400],[909,1539,554,116],[1364,533,622,108],[909,1432,774,105]]}
  35. ];
  36. // symbols:
  37. (lib.CachedBmp_21 = function() {
  38.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_11"]);
  39.     this.gotoAndStop(0);
  40. }).prototype = p = new cjs.Sprite();
  41. (lib.CachedBmp_20 = function() {
  42.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_7"]);
  43.     this.gotoAndStop(0);
  44. }).prototype = p = new cjs.Sprite();
  45. (lib.CachedBmp_19 = function() {
  46.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_8"]);
  47.     this.gotoAndStop(0);
  48. }).prototype = p = new cjs.Sprite();
  49. (lib.CachedBmp_18 = function() {
  50.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_9"]);
  51.     this.gotoAndStop(0);
  52. }).prototype = p = new cjs.Sprite();
  53. (lib.CachedBmp_17 = function() {
  54.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_12"]);
  55.     this.gotoAndStop(0);
  56. }).prototype = p = new cjs.Sprite();
  57. (lib.CachedBmp_16 = function() {
  58.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  59.     this.gotoAndStop(0);
  60. }).prototype = p = new cjs.Sprite();
  61. (lib.CachedBmp_15 = function() {
  62.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  63.     this.gotoAndStop(1);
  64. }).prototype = p = new cjs.Sprite();
  65. (lib.CachedBmp_14 = function() {
  66.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_6"]);
  67.     this.gotoAndStop(0);
  68. }).prototype = p = new cjs.Sprite();
  69. (lib.CachedBmp_13 = function() {
  70.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  71.     this.gotoAndStop(2);
  72. }).prototype = p = new cjs.Sprite();
  73. (lib.CachedBmp_12 = function() {
  74.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  75.     this.gotoAndStop(3);
  76. }).prototype = p = new cjs.Sprite();
  77. (lib.CachedBmp_11 = function() {
  78.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  79.     this.gotoAndStop(4);
  80. }).prototype = p = new cjs.Sprite();
  81. (lib.CachedBmp_10 = function() {
  82.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  83.     this.gotoAndStop(5);
  84. }).prototype = p = new cjs.Sprite();
  85. (lib.CachedBmp_9 = function() {
  86.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  87.     this.gotoAndStop(6);
  88. }).prototype = p = new cjs.Sprite();
  89. (lib.CachedBmp_8 = function() {
  90.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  91.     this.gotoAndStop(7);
  92. }).prototype = p = new cjs.Sprite();
  93. (lib.CachedBmp_7 = function() {
  94.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  95.     this.gotoAndStop(8);
  96. }).prototype = p = new cjs.Sprite();
  97. (lib.CachedBmp_6 = function() {
  98.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  99.     this.gotoAndStop(9);
  100. }).prototype = p = new cjs.Sprite();
  101. (lib.CachedBmp_5 = function() {
  102.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  103.     this.gotoAndStop(10);
  104. }).prototype = p = new cjs.Sprite();
  105. (lib.CachedBmp_4 = function() {
  106.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  107.     this.gotoAndStop(11);
  108. }).prototype = p = new cjs.Sprite();
  109. (lib.CachedBmp_3 = function() {
  110.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  111.     this.gotoAndStop(12);
  112. }).prototype = p = new cjs.Sprite();
  113. (lib.CachedBmp_2 = function() {
  114.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  115.     this.gotoAndStop(13);
  116. }).prototype = p = new cjs.Sprite();
  117. (lib.CachedBmp_1 = function() {
  118.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  119.     this.gotoAndStop(14);
  120. }).prototype = p = new cjs.Sprite();
  121. (lib.Artboard1 = function() {
  122.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_4"]);
  123.     this.gotoAndStop(0);
  124. }).prototype = p = new cjs.Sprite();
  125. (lib.byggforsk_hus_piktogram = function() {
  126.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  127.     this.gotoAndStop(15);
  128. }).prototype = p = new cjs.Sprite();
  129. (lib.Byggforskserien = function() {
  130.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  131.     this.gotoAndStop(16);
  132. }).prototype = p = new cjs.Sprite();
  133. (lib.Dok_av_eksisterende_bygninger = function() {
  134.     this.initialize(img.Dok_av_eksisterende_bygninger);
  135. }).prototype = p = new cjs.Bitmap();
  136. p.nominalBounds = new cjs.Rectangle(0,0,2343,2324);
  137. (lib.DokLink1 = function() {
  138.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  139.     this.gotoAndStop(17);
  140. }).prototype = p = new cjs.Sprite();
  141. (lib.DokLink2 = function() {
  142.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  143.     this.gotoAndStop(18);
  144. }).prototype = p = new cjs.Sprite();
  145. (lib.DokLink3 = function() {
  146.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  147.     this.gotoAndStop(19);
  148. }).prototype = p = new cjs.Sprite();
  149. (lib.ExitButton = function() {
  150.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  151.     this.gotoAndStop(20);
  152. }).prototype = p = new cjs.Sprite();
  153. (lib.Flomjordskred_13_20001100just_Banner = function() {
  154.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_11"]);
  155.     this.gotoAndStop(1);
  156. }).prototype = p = new cjs.Sprite();
  157. (lib.Forvaltning_av_exsisterende_Bygninger = function() {
  158.     this.initialize(img.Forvaltning_av_exsisterende_Bygninger);
  159. }).prototype = p = new cjs.Bitmap();
  160. p.nominalBounds = new cjs.Rectangle(0,0,2343,2324);
  161. (lib.klima2015tak_300 = function() {
  162.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_10"]);
  163.     this.gotoAndStop(0);
  164. }).prototype = p = new cjs.Sprite();
  165. (lib.Kompakte_Tak_OgTerasser = function() {
  166.     this.initialize(img.Kompakte_Tak_OgTerasser);
  167. }).prototype = p = new cjs.Bitmap();
  168. p.nominalBounds = new cjs.Rectangle(0,0,2343,2324);
  169. (lib.KomTakLink1 = function() {
  170.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  171.     this.gotoAndStop(21);
  172. }).prototype = p = new cjs.Sprite();
  173. (lib.KomTakLink2 = function() {
  174.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  175.     this.gotoAndStop(22);
  176. }).prototype = p = new cjs.Sprite();
  177. (lib.Label = function() {
  178.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  179.     this.gotoAndStop(23);
  180. }).prototype = p = new cjs.Sprite();
  181. (lib.Leikeplass = function() {
  182.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_12"]);
  183.     this.gotoAndStop(1);
  184. }).prototype = p = new cjs.Sprite();
  185. (lib.Link = function() {
  186.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  187.     this.gotoAndStop(24);
  188. }).prototype = p = new cjs.Sprite();
  189. (lib.MasterfigurKlima2050_20150318 = function() {
  190.     this.initialize(img.MasterfigurKlima2050_20150318);
  191. }).prototype = p = new cjs.Bitmap();
  192. p.nominalBounds = new cjs.Rectangle(0,0,3176,2044);
  193. (lib.ovaselogo = function() {
  194.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  195.     this.gotoAndStop(25);
  196. }).prototype = p = new cjs.Sprite();
  197. (lib.Skred = function() {
  198.     this.initialize(img.Skred);
  199. }).prototype = p = new cjs.Bitmap();
  200. p.nominalBounds = new cjs.Rectangle(0,0,2343,2324);
  201. (lib.SkredLink1 = function() {
  202.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  203.     this.gotoAndStop(26);
  204. }).prototype = p = new cjs.Sprite();
  205. (lib.SkredLink2 = function() {
  206.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  207.     this.gotoAndStop(27);
  208. }).prototype = p = new cjs.Sprite();
  209. (lib.SkredLink3 = function() {
  210.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
  211.     this.gotoAndStop(28);
  212. }).prototype = p = new cjs.Sprite();
  213. (lib.Tak = function() {
  214.     this.initialize(img.Tak);
  215. }).prototype = p = new cjs.Bitmap();
  216. p.nominalBounds = new cjs.Rectangle(0,0,2343,2325);
  217. (lib.Tak_fig_20171218 = function() {
  218.     this.initialize(img.Tak_fig_20171218);
  219. }).prototype = p = new cjs.Bitmap();
  220. p.nominalBounds = new cjs.Rectangle(0,0,2405,1546);
  221. (lib.Taktekking = function() {
  222.     this.initialize(img.Taktekking);
  223. }).prototype = p = new cjs.Bitmap();
  224. p.nominalBounds = new cjs.Rectangle(0,0,2343,2325);
  225. (lib.Tutorial = function() {
  226.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_"]);
  227.     this.gotoAndStop(0);
  228. }).prototype = p = new cjs.Sprite();
  229. (lib.urbaneuterom_bg = function() {
  230.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_5"]);
  231.     this.gotoAndStop(0);
  232. }).prototype = p = new cjs.Sprite();
  233. (lib.Utvendig_Kledning = function() {
  234.     this.initialize(img.Utvendig_Kledning);
  235. }).prototype = p = new cjs.Bitmap();
  236. p.nominalBounds = new cjs.Rectangle(0,0,2343,2324);
  237. (lib.ValidTextFrame = function() {
  238.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_2"]);
  239.     this.gotoAndStop(0);
  240. }).prototype = p = new cjs.Sprite();
  241. (lib.VAR_Anlegg = function() {
  242.     this.initialize(img.VAR_Anlegg);
  243. }).prototype = p = new cjs.Bitmap();
  244. p.nominalBounds = new cjs.Rectangle(0,0,2343,2324);
  245. (lib.Vignett = function() {
  246.     this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_3"]);
  247.     this.gotoAndStop(0);
  248. }).prototype = p = new cjs.Sprite();
  249. // helper functions:
  250. function mc_symbol_clone() {
  251.     var clone = this._cloneProps(new this.constructor(this.mode, this.startPosition, this.loop));
  252.     clone.gotoAndStop(this.currentFrame);
  253.     clone.paused = this.paused;
  254.     clone.framerate = this.framerate;
  255.     return clone;
  256. }
  257. function getMCSymbolPrototype(symbol, nominalBounds, frameBounds) {
  258.     var prototype = cjs.extend(symbol, cjs.MovieClip);
  259.     prototype.clone = mc_symbol_clone;
  260.     prototype.nominalBounds = nominalBounds;
  261.     prototype.frameBounds = frameBounds;
  262.     return prototype;
  263.     }
  264. (lib.VARTextFrame = function(mode,startPosition,loop) {
  265.     this.initialize(mode,startPosition,loop,{});
  266.     // Layer_1
  267.     this.instance = new lib.CachedBmp_21();
  268.     this.instance.setTransform(62.1,56.7,0.5,0.5);
  269.     this.instance_1 = new lib.ValidTextFrame();
  270.     this.instance_1.setTransform(0,0,0.5,0.5);
  271.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  272.     this._renderFirstFrame();
  273. }).prototype = getMCSymbolPrototype(lib.VARTextFrame, new cjs.Rectangle(0,0,800,1000), null);
  274. (lib.UtKledningTF = function(mode,startPosition,loop) {
  275.     this.initialize(mode,startPosition,loop,{});
  276.     // Layer_1
  277.     this.instance = new lib.Vignett();
  278.     this.instance.setTransform(100,357,0.293,0.293);
  279.     this.instance_1 = new lib.CachedBmp_20();
  280.     this.instance_1.setTransform(74,67.8,0.5,0.5);
  281.     this.instance_2 = new lib.ValidTextFrame();
  282.     this.instance_2.setTransform(0,0,0.5,0.5);
  283.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
  284.     this._renderFirstFrame();
  285. }).prototype = getMCSymbolPrototype(lib.UtKledningTF, new cjs.Rectangle(0,0,800,1000), null);
  286. (lib.TakTextFrame = function(mode,startPosition,loop) {
  287.     this.initialize(mode,startPosition,loop,{});
  288.     // Layer_1
  289.     this.instance = new lib.klima2015tak_300();
  290.     this.instance.setTransform(175,180,0.3655,0.3656);
  291.     this.instance_1 = new lib.CachedBmp_19();
  292.     this.instance_1.setTransform(72.05,62.75,0.5,0.5);
  293.     this.instance_2 = new lib.ValidTextFrame();
  294.     this.instance_2.setTransform(0,0,0.5,0.5);
  295.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
  296.     this._renderFirstFrame();
  297. }).prototype = getMCSymbolPrototype(lib.TakTextFrame, new cjs.Rectangle(0,0,800,1000), null);
  298. (lib.TakDekkingTextFrame = function(mode,startPosition,loop) {
  299.     this.initialize(mode,startPosition,loop,{});
  300.     // Layer_1
  301.     this.instance = new lib.Tak_fig_20171218();
  302.     this.instance.setTransform(62,205,0.2807,0.2807);
  303.     this.instance_1 = new lib.CachedBmp_18();
  304.     this.instance_1.setTransform(58,67.2,0.5,0.5);
  305.     this.instance_2 = new lib.ValidTextFrame();
  306.     this.instance_2.setTransform(0,0,0.5,0.5);
  307.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
  308.     this._renderFirstFrame();
  309. }).prototype = getMCSymbolPrototype(lib.TakDekkingTextFrame, new cjs.Rectangle(0,0,800,1000), null);
  310. (lib.SkredTextFrame = function(mode,startPosition,loop) {
  311.     this.initialize(mode,startPosition,loop,{});
  312.     // Layer_1
  313.     this.instance = new lib.Flomjordskred_13_20001100just_Banner();
  314.     this.instance.setTransform(100,525,0.3013,0.3013);
  315.     this.instance_1 = new lib.CachedBmp_17();
  316.     this.instance_1.setTransform(64.5,64.8,0.5,0.5);
  317.     this.instance_2 = new lib.ValidTextFrame();
  318.     this.instance_2.setTransform(0,0,0.5,0.5);
  319.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
  320.     this._renderFirstFrame();
  321. }).prototype = getMCSymbolPrototype(lib.SkredTextFrame, new cjs.Rectangle(0,0,800,1000), null);
  322. (lib.KomTakTextFrame = function(mode,startPosition,loop) {
  323.     this.initialize(mode,startPosition,loop,{});
  324.     // Layer_1
  325.     this.instance = new lib.CachedBmp_16();
  326.     this.instance.setTransform(61,862.8,0.5,0.5);
  327.     this.instance_1 = new lib.urbaneuterom_bg();
  328.     this.instance_1.setTransform(61,417,0.3375,0.3375);
  329.     this.instance_2 = new lib.CachedBmp_15();
  330.     this.instance_2.setTransform(70.35,69.75,0.5,0.5);
  331.     this.instance_3 = new lib.ValidTextFrame();
  332.     this.instance_3.setTransform(0,0,0.5,0.5);
  333.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_3},{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
  334.     this._renderFirstFrame();
  335. }).prototype = getMCSymbolPrototype(lib.KomTakTextFrame, new cjs.Rectangle(0,0,800,1000), null);
  336. (lib.ForvaltningTF = function(mode,startPosition,loop) {
  337.     this.initialize(mode,startPosition,loop,{});
  338.     // Layer_1
  339.     this.instance = new lib.Artboard1();
  340.     this.instance.setTransform(63,302,0.3516,0.3516);
  341.     this.instance_1 = new lib.CachedBmp_14();
  342.     this.instance_1.setTransform(66,68.7,0.5,0.5);
  343.     this.instance_2 = new lib.ValidTextFrame();
  344.     this.instance_2.setTransform(0,0,0.5,0.5);
  345.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
  346.     this._renderFirstFrame();
  347. }).prototype = getMCSymbolPrototype(lib.ForvaltningTF, new cjs.Rectangle(0,0,800,1000), null);
  348. (lib.DokTF = function(mode,startPosition,loop) {
  349.     this.initialize(mode,startPosition,loop,{});
  350.     // Layer_1
  351.     this.instance = new lib.Leikeplass();
  352.     this.instance.setTransform(85,404,0.5422,0.5423);
  353.     this.instance_1 = new lib.CachedBmp_13();
  354.     this.instance_1.setTransform(57,79.75,0.5,0.5);
  355.     this.instance_2 = new lib.ValidTextFrame();
  356.     this.instance_2.setTransform(0,0,0.5,0.5);
  357.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
  358.     this._renderFirstFrame();
  359. }).prototype = getMCSymbolPrototype(lib.DokTF, new cjs.Rectangle(0,0,800,1000), null);
  360. (lib.ByggforskTF = function(mode,startPosition,loop) {
  361.     this.initialize(mode,startPosition,loop,{});
  362.     // Layer_1
  363.     this.instance = new lib.Byggforskserien();
  364.     this.instance.setTransform(50,349,0.3141,0.3144);
  365.     this.instance_1 = new lib.CachedBmp_12();
  366.     this.instance_1.setTransform(27,45,0.5,0.5);
  367.     this.instance_2 = new lib.ValidTextFrame();
  368.     this.instance_2.setTransform(0,0,0.25,0.25);
  369.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
  370.     this._renderFirstFrame();
  371. }).prototype = getMCSymbolPrototype(lib.ByggforskTF, new cjs.Rectangle(0,0,400,500), null);
  372. (lib.VARLabel = function(mode,startPosition,loop) {
  373.     this.initialize(mode,startPosition,loop,{});
  374.     // Layer_1
  375.     this.instance = new lib.CachedBmp_11();
  376.     this.instance.setTransform(38,7.7,0.5,0.5);
  377.     this.instance_1 = new lib.Label();
  378.     this.instance_1.setTransform(0,0,0.4926,0.4927);
  379.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  380.     this._renderFirstFrame();
  381. }).prototype = getMCSymbolPrototype(lib.VARLabel, new cjs.Rectangle(0,0,200,50.8), null);
  382. (lib.UtKledningLabel = function(mode,startPosition,loop) {
  383.     this.initialize(mode,startPosition,loop,{});
  384.     // Layer_1
  385.     this.instance = new lib.CachedBmp_10();
  386.     this.instance.setTransform(8.9,8.85,0.5,0.5);
  387.     this.instance_1 = new lib.Label();
  388.     this.instance_1.setTransform(0,0,0.4926,0.4927);
  389.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  390.     this._renderFirstFrame();
  391. }).prototype = getMCSymbolPrototype(lib.UtKledningLabel, new cjs.Rectangle(0,0,200,50.8), null);
  392. (lib.TakLabel = function(mode,startPosition,loop) {
  393.     this.initialize(mode,startPosition,loop,{});
  394.     // Layer_1
  395.     this.instance = new lib.CachedBmp_9();
  396.     this.instance.setTransform(7.95,7.7,0.5,0.5);
  397.     this.instance_1 = new lib.Label();
  398.     this.instance_1.setTransform(0,0,0.4926,0.4927);
  399.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  400.     this._renderFirstFrame();
  401. }).prototype = getMCSymbolPrototype(lib.TakLabel, new cjs.Rectangle(0,0,200,50.8), null);
  402. (lib.TakDekkingLabel = function(mode,startPosition,loop) {
  403.     this.initialize(mode,startPosition,loop,{});
  404.     // Layer_1
  405.     this.instance = new lib.CachedBmp_8();
  406.     this.instance.setTransform(3.3,7.7,0.5,0.5);
  407.     this.instance_1 = new lib.Label();
  408.     this.instance_1.setTransform(0,0,0.4926,0.4927);
  409.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  410.     this._renderFirstFrame();
  411. }).prototype = getMCSymbolPrototype(lib.TakDekkingLabel, new cjs.Rectangle(0,0,200,50.8), null);
  412. (lib.SkredLabel = function(mode,startPosition,loop) {
  413.     this.initialize(mode,startPosition,loop,{});
  414.     // Layer_1
  415.     this.instance = new lib.CachedBmp_7();
  416.     this.instance.setTransform(6,6.7,0.5,0.5);
  417.     this.instance_1 = new lib.Label();
  418.     this.instance_1.setTransform(0,0,0.4926,0.4927);
  419.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  420.     this._renderFirstFrame();
  421. }).prototype = getMCSymbolPrototype(lib.SkredLabel, new cjs.Rectangle(0,0,200,50.8), null);
  422. (lib.KomTakLabel = function(mode,startPosition,loop) {
  423.     this.initialize(mode,startPosition,loop,{});
  424.     // Layer_1
  425.     this.instance = new lib.CachedBmp_6();
  426.     this.instance.setTransform(6.7,12.7,0.5,0.5);
  427.     this.instance_1 = new lib.Label();
  428.     this.instance_1.setTransform(0,0,0.4926,0.4927);
  429.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  430.     this._renderFirstFrame();
  431. }).prototype = getMCSymbolPrototype(lib.KomTakLabel, new cjs.Rectangle(0,0,200,50.8), null);
  432. (lib.ForvaltningLabel = function(mode,startPosition,loop) {
  433.     this.initialize(mode,startPosition,loop,{});
  434.     // Layer_1
  435.     this.instance = new lib.CachedBmp_5();
  436.     this.instance.setTransform(6.1,-1.5,0.5,0.5);
  437.     this.instance_1 = new lib.Label();
  438.     this.instance_1.setTransform(0,0,0.4926,0.4927);
  439.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  440.     this._renderFirstFrame();
  441. }).prototype = getMCSymbolPrototype(lib.ForvaltningLabel, new cjs.Rectangle(0,-1.5,200,55), null);
  442. (lib.DokLabel = function(mode,startPosition,loop) {
  443.     this.initialize(mode,startPosition,loop,{});
  444.     // Layer_1
  445.     this.instance = new lib.CachedBmp_4();
  446.     this.instance.setTransform(9.1,12.2,0.5,0.5);
  447.     this.instance_1 = new lib.Label();
  448.     this.instance_1.setTransform(0,0,0.4926,0.4927);
  449.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  450.     this._renderFirstFrame();
  451. }).prototype = getMCSymbolPrototype(lib.DokLabel, new cjs.Rectangle(0,0,200,50.8), null);
  452. (lib.ByggforskLabel = function(mode,startPosition,loop) {
  453.     this.initialize(mode,startPosition,loop,{});
  454.     // Layer_1
  455.     this.instance = new lib.CachedBmp_3();
  456.     this.instance.setTransform(1.45,4.5,0.5,0.5);
  457.     this.instance_1 = new lib.Label();
  458.     this.instance_1.setTransform(0,0,0.2463,0.2675);
  459.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  460.     this._renderFirstFrame();
  461. }).prototype = getMCSymbolPrototype(lib.ByggforskLabel, new cjs.Rectangle(0,0,100,27.6), null);
  462. (lib.ByggforskLink = function(mode,startPosition,loop) {
  463.     this.initialize(mode,startPosition,loop,{});
  464.     // Layer_1
  465.     this.instance = new lib.Link();
  466.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  467.     this._renderFirstFrame();
  468. }).prototype = p = new cjs.MovieClip();
  469. p.nominalBounds = new cjs.Rectangle(0,0,102,48);
  470. (lib.VARBtn = function(mode,startPosition,loop) {
  471.     this.initialize(mode,startPosition,loop,{});
  472.     // Layer_1
  473.     this.instance = new lib.VAR_Anlegg();
  474.     this.instance.setTransform(-59,-58,0.0491,0.0491);
  475.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  476.     this._renderFirstFrame();
  477. }).prototype = p = new cjs.MovieClip();
  478. p.nominalBounds = new cjs.Rectangle(-59,-58,115,114.1);
  479. (lib.UtKledningBtn = function(mode,startPosition,loop) {
  480.     this.initialize(mode,startPosition,loop,{});
  481.     // Layer_1
  482.     this.instance = new lib.Utvendig_Kledning();
  483.     this.instance.setTransform(-58,-58,0.0491,0.0491);
  484.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  485.     this._renderFirstFrame();
  486. }).prototype = p = new cjs.MovieClip();
  487. p.nominalBounds = new cjs.Rectangle(-58,-58,115,114.1);
  488. (lib.Tutorial_1 = function(mode,startPosition,loop) {
  489.     this.initialize(mode,startPosition,loop,{});
  490.     // Layer_1
  491.     this.instance = new lib.CachedBmp_2();
  492.     this.instance.setTransform(-223.9,-171.8,0.5,0.5);
  493.     this.instance_1 = new lib.Tutorial();
  494.     this.instance_1.setTransform(-250,-200,0.25,0.25);
  495.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  496.     this._renderFirstFrame();
  497. }).prototype = p = new cjs.MovieClip();
  498. p.nominalBounds = new cjs.Rectangle(-250,-200,500,400);
  499. (lib.TakDekBtn = function(mode,startPosition,loop) {
  500.     this.initialize(mode,startPosition,loop,{});
  501.     // Layer_1
  502.     this.instance = new lib.Taktekking();
  503.     this.instance.setTransform(-58,-59,0.0491,0.0491);
  504.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  505.     this._renderFirstFrame();
  506. }).prototype = p = new cjs.MovieClip();
  507. p.nominalBounds = new cjs.Rectangle(-58,-59,115,114.2);
  508. (lib.TakBtn = function(mode,startPosition,loop) {
  509.     this.initialize(mode,startPosition,loop,{});
  510.     // Layer_1
  511.     this.instance = new lib.Tak();
  512.     this.instance.setTransform(-59,-57,0.0491,0.0491);
  513.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  514.     this._renderFirstFrame();
  515. }).prototype = p = new cjs.MovieClip();
  516. p.nominalBounds = new cjs.Rectangle(-59,-57,115,114.2);
  517. (lib.Start = function(mode,startPosition,loop) {
  518.     this.initialize(mode,startPosition,loop,{});
  519.     // Layer_1
  520.     this.instance = new lib.CachedBmp_1();
  521.     this.instance.setTransform(55,20.15,0.5,0.5);
  522.     this.instance_1 = new lib.Label();
  523.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  524.     this._renderFirstFrame();
  525. }).prototype = p = new cjs.MovieClip();
  526. p.nominalBounds = new cjs.Rectangle(0,0,406,103);
  527. (lib.SkredLinkBtn3 = function(mode,startPosition,loop) {
  528.     this.initialize(mode,startPosition,loop,{});
  529.     // Layer_1
  530.     this.instance = new lib.SkredLink3();
  531.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  532.     this._renderFirstFrame();
  533. }).prototype = p = new cjs.MovieClip();
  534. p.nominalBounds = new cjs.Rectangle(0,0,774,105);
  535. (lib.SkredLinkBtn2 = function(mode,startPosition,loop) {
  536.     this.initialize(mode,startPosition,loop,{});
  537.     // Layer_1
  538.     this.instance = new lib.SkredLink2();
  539.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  540.     this._renderFirstFrame();
  541. }).prototype = p = new cjs.MovieClip();
  542. p.nominalBounds = new cjs.Rectangle(0,0,622,108);
  543. (lib.SkredLinkbtn1 = function(mode,startPosition,loop) {
  544.     this.initialize(mode,startPosition,loop,{});
  545.     // Layer_1
  546.     this.instance = new lib.SkredLink1();
  547.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  548.     this._renderFirstFrame();
  549. }).prototype = p = new cjs.MovieClip();
  550. p.nominalBounds = new cjs.Rectangle(0,0,554,116);
  551. (lib.SkredBtn = function(mode,startPosition,loop) {
  552.     this.initialize(mode,startPosition,loop,{});
  553.     // Layer_1
  554.     this.instance = new lib.Skred();
  555.     this.instance.setTransform(-58,-58,0.0491,0.0491);
  556.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  557.     this._renderFirstFrame();
  558. }).prototype = p = new cjs.MovieClip();
  559. p.nominalBounds = new cjs.Rectangle(-58,-58,115,114.1);
  560. (lib.OvaseLogo = function(mode,startPosition,loop) {
  561.     this.initialize(mode,startPosition,loop,{});
  562.     // Layer_1
  563.     this.instance = new lib.ovaselogo();
  564.     this.instance.setTransform(0,0,0.875,0.875);
  565.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  566.     this._renderFirstFrame();
  567. }).prototype = p = new cjs.MovieClip();
  568. p.nominalBounds = new cjs.Rectangle(0,0,350,350);
  569. (lib.KomTakLinkBtn2 = function(mode,startPosition,loop) {
  570.     this.initialize(mode,startPosition,loop,{});
  571.     // Layer_1
  572.     this.instance = new lib.KomTakLink2();
  573.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  574.     this._renderFirstFrame();
  575. }).prototype = p = new cjs.MovieClip();
  576. p.nominalBounds = new cjs.Rectangle(0,0,575,50);
  577. (lib.KomTakLinkBtn1 = function(mode,startPosition,loop) {
  578.     this.initialize(mode,startPosition,loop,{});
  579.     // Layer_1
  580.     this.instance = new lib.KomTakLink1();
  581.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  582.     this._renderFirstFrame();
  583. }).prototype = p = new cjs.MovieClip();
  584. p.nominalBounds = new cjs.Rectangle(0,0,542,49);
  585. (lib.KomTakBtn = function(mode,startPosition,loop) {
  586.     this.initialize(mode,startPosition,loop,{});
  587.     // Layer_1
  588.     this.instance = new lib.Kompakte_Tak_OgTerasser();
  589.     this.instance.setTransform(-57,-58,0.0491,0.0491);
  590.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  591.     this._renderFirstFrame();
  592. }).prototype = p = new cjs.MovieClip();
  593. p.nominalBounds = new cjs.Rectangle(-57,-58,115,114.1);
  594. (lib.Klima2050Link5 = function(mode,startPosition,loop) {
  595.     this.initialize(mode,startPosition,loop,{});
  596.     // Layer_1
  597.     this.instance = new lib.Link();
  598.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  599.     this._renderFirstFrame();
  600. }).prototype = p = new cjs.MovieClip();
  601. p.nominalBounds = new cjs.Rectangle(0,0,102,48);
  602. (lib.Klima2050Link4 = function(mode,startPosition,loop) {
  603.     this.initialize(mode,startPosition,loop,{});
  604.     // Layer_1
  605.     this.instance = new lib.Link();
  606.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  607.     this._renderFirstFrame();
  608. }).prototype = p = new cjs.MovieClip();
  609. p.nominalBounds = new cjs.Rectangle(0,0,102,48);
  610. (lib.Klima2050Link2 = function(mode,startPosition,loop) {
  611.     this.initialize(mode,startPosition,loop,{});
  612.     // Layer_1
  613.     this.instance = new lib.Link();
  614.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  615.     this._renderFirstFrame();
  616. }).prototype = p = new cjs.MovieClip();
  617. p.nominalBounds = new cjs.Rectangle(0,0,102,48);
  618. (lib.Klima2050Link1 = function(mode,startPosition,loop) {
  619.     this.initialize(mode,startPosition,loop,{});
  620.     // Layer_1
  621.     this.instance = new lib.Link();
  622.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  623.     this._renderFirstFrame();
  624. }).prototype = p = new cjs.MovieClip();
  625. p.nominalBounds = new cjs.Rectangle(0,0,102,48);
  626. (lib.ForvaltningBtn = function(mode,startPosition,loop) {
  627.     this.initialize(mode,startPosition,loop,{});
  628.     // Layer_1
  629.     this.instance = new lib.Forvaltning_av_exsisterende_Bygninger();
  630.     this.instance.setTransform(-57,-57,0.0491,0.0491);
  631.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  632.     this._renderFirstFrame();
  633. }).prototype = p = new cjs.MovieClip();
  634. p.nominalBounds = new cjs.Rectangle(-57,-57,115,114.1);
  635. (lib.ExitButton_1 = function(mode,startPosition,loop) {
  636.     this.initialize(mode,startPosition,loop,{});
  637.     // Layer_1
  638.     this.instance = new lib.ExitButton();
  639.     this.instance.setTransform(0,0,0.5,0.5004);
  640.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  641.     this._renderFirstFrame();
  642. }).prototype = p = new cjs.MovieClip();
  643. p.nominalBounds = new cjs.Rectangle(0,0,49,48.6);
  644. (lib.DokLink3Btn = function(mode,startPosition,loop) {
  645.     this.initialize(mode,startPosition,loop,{});
  646.     // Layer_1
  647.     this.instance = new lib.DokLink3();
  648.     this.instance.setTransform(0,0,0.759,0.7578);
  649.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  650.     this._renderFirstFrame();
  651. }).prototype = p = new cjs.MovieClip();
  652. p.nominalBounds = new cjs.Rectangle(0,0,192,23.5);
  653. (lib.DokLink2Btn = function(mode,startPosition,loop) {
  654.     this.initialize(mode,startPosition,loop,{});
  655.     // Layer_1
  656.     this.instance = new lib.DokLink2();
  657.     this.instance.setTransform(0,0,0.7686,0.7707);
  658.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  659.     this._renderFirstFrame();
  660. }).prototype = p = new cjs.MovieClip();
  661. p.nominalBounds = new cjs.Rectangle(0,0,206,21.6);
  662. (lib.DokLink1Btn = function(mode,startPosition,loop) {
  663.     this.initialize(mode,startPosition,loop,{});
  664.     // Layer_1
  665.     this.instance = new lib.DokLink1();
  666.     this.instance.setTransform(0,0,0.7832,0.7796);
  667.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  668.     this._renderFirstFrame();
  669. }).prototype = p = new cjs.MovieClip();
  670. p.nominalBounds = new cjs.Rectangle(0,0,177,20.3);
  671. (lib.DokBtn = function(mode,startPosition,loop) {
  672.     this.initialize(mode,startPosition,loop,{});
  673.     // Layer_1
  674.     this.instance = new lib.Dok_av_eksisterende_bygninger();
  675.     this.instance.setTransform(-58,-57,0.0491,0.0491);
  676.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  677.     this._renderFirstFrame();
  678. }).prototype = p = new cjs.MovieClip();
  679. p.nominalBounds = new cjs.Rectangle(-58,-57,115,114.1);
  680. (lib.ByggforskBtn = function(mode,startPosition,loop) {
  681.     this.initialize(mode,startPosition,loop,{});
  682.     // Layer_1
  683.     this.instance = new lib.byggforsk_hus_piktogram();
  684.     this.instance.setTransform(-28,-28,0.2396,0.2396);
  685.     this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  686.     this._renderFirstFrame();
  687. }).prototype = p = new cjs.MovieClip();
  688. p.nominalBounds = new cjs.Rectangle(-28,-28,57.5,57.5);
  689. (lib.Tut = function(mode,startPosition,loop) {
  690.     this.initialize(mode,startPosition,loop,{});
  691.     // Layer_1
  692.     this.tutscreen = new lib.Tutorial_1();
  693.     this.tutscreen.name = "tutscreen";
  694.     this.tutscreen.setTransform(1250,1000,1,1,0,0,0,1000,800);
  695.     new cjs.ButtonHelper(this.tutscreen, 0, 1, 1);
  696.     this.timeline.addTween(cjs.Tween.get(this.tutscreen).wait(1));
  697.     this._renderFirstFrame();
  698. }).prototype = getMCSymbolPrototype(lib.Tut, new cjs.Rectangle(0,0,500,400), null);
  699. // stage content:
  700. (lib.ResultatFramstilling_HTML5_Eng = function(mode,startPosition,loop) {
  701.     this.initialize(mode,startPosition,loop,{});
  702.     // timeline functions:
  703.     this.frame_0 = function() {
  704.         this.stop();
  705.         this.StartBtn.addEventListener("click", fl_MouseClickHandler_4.bind(this));
  706.         function fl_MouseClickHandler_4()
  707.         {
  708.             this.gotoAndStop(11);
  709.         }
  710.         this.Exit.addEventListener("click", fl_MouseClickHandler_6.bind(this));
  711.         function fl_MouseClickHandler_6()
  712.         {
  713.             this.gotoAndStop(11);
  714.         }
  715.         this.KomTakB.addEventListener("mouseout", fl_MouseOutHandler_2.bind(this));
  716.         function fl_MouseOutHandler_2()
  717.         {
  718.             if(this.currentFrame == 20)
  719.                 this.gotoAndStop(11);
  720.             if(this.currentFrame == 21)
  721.                 this.gotoAndStop(11);
  722.             if(this.currentFrame == 22)
  723.                 this.gotoAndStop(11);
  724.             if(this.currentFrame == 23)
  725.                 this.gotoAndStop(11);
  726.             if(this.currentFrame == 24)
  727.                 this.gotoAndStop(11);
  728.             if(this.currentFrame == 25)
  729.                 this.gotoAndStop(11);
  730.         }
  731.         this.SkredB.addEventListener("mouseout", fl_MouseOutHandler_3.bind(this));
  732.         function fl_MouseOutHandler_3()
  733.         {
  734.             if(this.currentFrame == 30)
  735.                 this.gotoAndStop(11);
  736.             if(this.currentFrame == 31)
  737.                 this.gotoAndStop(11);
  738.             if(this.currentFrame == 32)
  739.                 this.gotoAndStop(11);
  740.             if(this.currentFrame == 33)
  741.                 this.gotoAndStop(11);
  742.             if(this.currentFrame == 34)
  743.                 this.gotoAndStop(11);
  744.             if(this.currentFrame == 35)
  745.                 this.gotoAndStop(11);
  746.         }
  747.         this.TakB.addEventListener("mouseout", fl_MouseOutHandler_4.bind(this));
  748.         function fl_MouseOutHandler_4()
  749.         {
  750.             if(this.currentFrame == 40)
  751.                 this.gotoAndStop(11);
  752.             if(this.currentFrame == 41)
  753.                 this.gotoAndStop(11);
  754.             if(this.currentFrame == 42)
  755.                 this.gotoAndStop(11);
  756.             if(this.currentFrame == 43)
  757.                 this.gotoAndStop(11);
  758.             if(this.currentFrame == 44)
  759.                 this.gotoAndStop(11);
  760.             if(this.currentFrame == 45)
  761.                 this.gotoAndStop(11);
  762.         }
  763.         this.TakDB.addEventListener("mouseout", fl_MouseOutHandler_5.bind(this));
  764.         function fl_MouseOutHandler_5()
  765.         {
  766.             if(this.currentFrame == 50)
  767.                 this.gotoAndStop(11);
  768.             if(this.currentFrame == 51)
  769.                 this.gotoAndStop(11);
  770.             if(this.currentFrame == 52)
  771.                 this.gotoAndStop(11);
  772.             if(this.currentFrame == 53)
  773.                 this.gotoAndStop(11);
  774.             if(this.currentFrame == 54)
  775.                 this.gotoAndStop(11);
  776.             if(this.currentFrame == 55)
  777.                 this.gotoAndStop(11);
  778.         }
  779.         this.VARB.addEventListener("mouseout", fl_MouseOutHandler_6.bind(this));
  780.         function fl_MouseOutHandler_6()
  781.         {
  782.             if(this.currentFrame == 60)
  783.                 this.gotoAndStop(11);
  784.             if(this.currentFrame == 61)
  785.                 this.gotoAndStop(11);
  786.             if(this.currentFrame == 62)
  787.                 this.gotoAndStop(11);
  788.             if(this.currentFrame == 63)
  789.                 this.gotoAndStop(11);
  790.             if(this.currentFrame == 64)
  791.                 this.gotoAndStop(11);
  792.             if(this.currentFrame == 65)
  793.                 this.gotoAndStop(11);
  794.         }
  795.         this.UtKledningB.addEventListener("mouseout", fl_MouseOutHandler_7.bind(this));
  796.         function fl_MouseOutHandler_7()
  797.         {
  798.             if(this.currentFrame == 70)
  799.                 this.gotoAndStop(11);
  800.             if(this.currentFrame == 71)
  801.                 this.gotoAndStop(11);
  802.             if(this.currentFrame == 72)
  803.                 this.gotoAndStop(11);
  804.             if(this.currentFrame == 73)
  805.                 this.gotoAndStop(11);
  806.             if(this.currentFrame == 74)
  807.                 this.gotoAndStop(11);
  808.             if(this.currentFrame == 75)
  809.                 this.gotoAndStop(11);
  810.         }
  811.         this.ForvaltningB.addEventListener("mouseout", fl_MouseOutHandler_8.bind(this));
  812.         function fl_MouseOutHandler_8()
  813.         {
  814.             if(this.currentFrame == 80)
  815.                 this.gotoAndStop(11);
  816.             if(this.currentFrame == 81)
  817.                 this.gotoAndStop(11);
  818.             if(this.currentFrame == 82)
  819.                 this.gotoAndStop(11);
  820.             if(this.currentFrame == 83)
  821.                 this.gotoAndStop(11);
  822.             if(this.currentFrame == 84)
  823.                 this.gotoAndStop(11);
  824.             if(this.currentFrame == 85)
  825.                 this.gotoAndStop(11);
  826.         }
  827.         this.DokB.addEventListener("mouseout", fl_MouseOutHandler_9.bind(this));
  828.         function fl_MouseOutHandler_9()
  829.         {
  830.             if(this.currentFrame == 90)
  831.                 this.gotoAndStop(11);
  832.             if(this.currentFrame == 91)
  833.                 this.gotoAndStop(11);
  834.             if(this.currentFrame == 92)
  835.                 this.gotoAndStop(11);
  836.             if(this.currentFrame == 93)
  837.                 this.gotoAndStop(11);
  838.             if(this.currentFrame == 94)
  839.                 this.gotoAndStop(11);
  840.             if(this.currentFrame == 95)
  841.                 this.gotoAndStop(11);
  842.         }
  843.         this.ByggforskB.addEventListener("mouseout", fl_MouseOutHandler_10.bind(this));
  844.         function fl_MouseOutHandler_10()
  845.         {
  846.             if(this.currentFrame == 100)
  847.                 this.gotoAndStop(11);
  848.             if(this.currentFrame == 101)
  849.                 this.gotoAndStop(11);
  850.             if(this.currentFrame == 102)
  851.                 this.gotoAndStop(11);
  852.             if(this.currentFrame == 103)
  853.                 this.gotoAndStop(11);
  854.             if(this.currentFrame == 104)
  855.                 this.gotoAndStop(11);
  856.             if(this.currentFrame == 105)
  857.                 this.gotoAndStop(11);
  858.         }
  859.     }
  860.     this.frame_11 = function() {
  861.         this.stop();
  862.         this.KomTakB.addEventListener("click", fl_MouseClickHandler_5.bind(this));
  863.         function fl_MouseClickHandler_5()
  864.         {
  865.             if(this.currentFrame == 11)
  866.                 this.gotoAndPlay(20);
  867.             if(this.currentFrame == 25)
  868.                 this.gotoAndStop(26);
  869.             if(this.currentFrame == 35)
  870.                 this.gotoAndPlay(20);
  871.             if(this.currentFrame == 45)
  872.                 this.gotoAndPlay(20);
  873.             if(this.currentFrame == 55)
  874.                 this.gotoAndPlay(20);
  875.             if(this.currentFrame == 65)
  876.                 this.gotoAndPlay(20);
  877.             if(this.currentFrame == 75)
  878.                 this.gotoAndPlay(20);
  879.             if(this.currentFrame == 85)
  880.                 this.gotoAndPlay(20);
  881.             if(this.currentFrame == 95)
  882.                 this.gotoAndPlay(20);
  883.         }
  884.         this.SkredB.addEventListener("click", fl_MouseClickHandler_7.bind(this));
  885.         function fl_MouseClickHandler_7()
  886.         {
  887.             if(this.currentFrame == 11)
  888.                 this.gotoAndPlay(30);
  889.             if(this.currentFrame == 35)
  890.                 this.gotoAndStop(36);
  891.             if(this.currentFrame == 25)
  892.                 this.gotoAndPlay(30);
  893.             if(this.currentFrame == 45)
  894.                 this.gotoAndPlay(30);
  895.             if(this.currentFrame == 55)
  896.                 this.gotoAndPlay(30);
  897.             if(this.currentFrame == 65)
  898.                 this.gotoAndPlay(30);
  899.             if(this.currentFrame == 75)
  900.                 this.gotoAndPlay(30);
  901.             if(this.currentFrame == 85)
  902.                 this.gotoAndPlay(30);
  903.             if(this.currentFrame == 95)
  904.                 this.gotoAndPlay(30);
  905.         }
  906.         this.TakB.addEventListener("click", fl_MouseClickHandler_8.bind(this));
  907.         function fl_MouseClickHandler_8()
  908.         {
  909.             if(this.currentFrame == 11)
  910.                 this.gotoAndPlay(40);
  911.             if(this.currentFrame == 45)
  912.                 this.gotoAndStop(46);
  913.             if(this.currentFrame == 35)
  914.                 this.gotoAndPlay(40);
  915.             if(this.currentFrame == 25)
  916.                 this.gotoAndPlay(40);
  917.             if(this.currentFrame == 55)
  918.                 this.gotoAndPlay(40);
  919.             if(this.currentFrame == 65)
  920.                 this.gotoAndPlay(40);
  921.             if(this.currentFrame == 75)
  922.                 this.gotoAndPlay(40);
  923.             if(this.currentFrame == 85)
  924.                 this.gotoAndPlay(40);
  925.             if(this.currentFrame == 95)
  926.                 this.gotoAndPlay(40);
  927.         }
  928.         this.TakDB.addEventListener("click", fl_MouseClickHandler_9.bind(this));
  929.         function fl_MouseClickHandler_9()
  930.         {
  931.             if(this.currentFrame == 11)
  932.                 this.gotoAndPlay(50);
  933.             if(this.currentFrame == 55)
  934.                 this.gotoAndStop(56);
  935.             if(this.currentFrame == 35)
  936.                 this.gotoAndPlay(50);
  937.             if(this.currentFrame == 45)
  938.                 this.gotoAndPlay(50);
  939.             if(this.currentFrame == 25)
  940.                 this.gotoAndPlay(50);
  941.             if(this.currentFrame == 65)
  942.                 this.gotoAndPlay(50);
  943.             if(this.currentFrame == 75)
  944.                 this.gotoAndPlay(50);
  945.             if(this.currentFrame == 85)
  946.                 this.gotoAndPlay(50);
  947.             if(this.currentFrame == 95)
  948.                 this.gotoAndPlay(50);
  949.         }
  950.         this.VARB.addEventListener("click", fl_MouseClickHandler_10.bind(this));
  951.         function fl_MouseClickHandler_10()
  952.         {
  953.             if(this.currentFrame == 11)
  954.                 this.gotoAndPlay(60);
  955.             if(this.currentFrame == 65)
  956.                 this.gotoAndStop(66);
  957.             if(this.currentFrame == 35)
  958.                 this.gotoAndPlay(60);
  959.             if(this.currentFrame == 45)
  960.                 this.gotoAndPlay(60);
  961.             if(this.currentFrame == 55)
  962.                 this.gotoAndPlay(60);
  963.             if(this.currentFrame == 25)
  964.                 this.gotoAndPlay(60);
  965.             if(this.currentFrame == 75)
  966.                 this.gotoAndPlay(60);
  967.             if(this.currentFrame == 85)
  968.                 this.gotoAndPlay(60);
  969.             if(this.currentFrame == 95)
  970.                 this.gotoAndPlay(60);
  971.         }
  972.         this.UtKledningB.addEventListener("click", fl_MouseClickHandler_11.bind(this));
  973.         function fl_MouseClickHandler_11()
  974.         {
  975.             if(this.currentFrame == 11)
  976.                 this.gotoAndPlay(70);
  977.             if(this.currentFrame == 75)
  978.                 this.gotoAndStop(76);
  979.             if(this.currentFrame == 35)
  980.                 this.gotoAndPlay(70);
  981.             if(this.currentFrame == 45)
  982.                 this.gotoAndPlay(70);
  983.             if(this.currentFrame == 55)
  984.                 this.gotoAndPlay(70);
  985.             if(this.currentFrame == 65)
  986.                 this.gotoAndPlay(70);
  987.             if(this.currentFrame == 25)
  988.                 this.gotoAndPlay(70);
  989.             if(this.currentFrame == 85)
  990.                 this.gotoAndPlay(70);
  991.             if(this.currentFrame == 95)
  992.                 this.gotoAndPlay(70);
  993.         }
  994.         this.ForvaltningB.addEventListener("click", fl_MouseClickHandler_12.bind(this));
  995.         function fl_MouseClickHandler_12()
  996.         {  
  997.             if(this.currentFrame == 11)
  998.                 this.gotoAndPlay(80);
  999.             if(this.currentFrame == 85)
  1000.                 this.gotoAndStop(86);
  1001.             if(this.currentFrame == 35)
  1002.                 this.gotoAndPlay(80);
  1003.             if(this.currentFrame == 45)
  1004.                 this.gotoAndPlay(80);
  1005.             if(this.currentFrame == 55)
  1006.                 this.gotoAndPlay(80);
  1007.             if(this.currentFrame == 65)
  1008.                 this.gotoAndPlay(80);
  1009.             if(this.currentFrame == 75)
  1010.                 this.gotoAndPlay(80);
  1011.             if(this.currentFrame == 25)
  1012.                 this.gotoAndPlay(80);
  1013.             if(this.currentFrame == 95)
  1014.                 this.gotoAndPlay(80);
  1015.         }
  1016.         this.DokB.addEventListener("click", fl_MouseClickHandler_13.bind(this));
  1017.         function fl_MouseClickHandler_13()
  1018.         {  
  1019.             if(this.currentFrame == 11)
  1020.                 this.gotoAndPlay(90);
  1021.             if(this.currentFrame == 95)
  1022.                 this.gotoAndStop(96);
  1023.             if(this.currentFrame == 35)
  1024.                 this.gotoAndPlay(90);
  1025.             if(this.currentFrame == 45)
  1026.                 this.gotoAndPlay(90);
  1027.             if(this.currentFrame == 55)
  1028.                 this.gotoAndPlay(90);
  1029.             if(this.currentFrame == 65)
  1030.                 this.gotoAndPlay(90);
  1031.             if(this.currentFrame == 75)
  1032.                 this.gotoAndPlay(90);
  1033.             if(this.currentFrame == 85)
  1034.                 this.gotoAndPlay(90);
  1035.             if(this.currentFrame == 25)
  1036.                 this.gotoAndPlay(90);
  1037.         }
  1038.         this.ByggforskB.addEventListener("click", fl_MouseClickHandler_14.bind(this));
  1039.         function fl_MouseClickHandler_14()
  1040.         {  
  1041.             if(this.currentFrame == 11)
  1042.                 this.gotoAndPlay(100);
  1043.             if(this.currentFrame == 105)
  1044.                 this.gotoAndStop(106);
  1045.             if(this.currentFrame == 35)
  1046.                 this.gotoAndPlay(100);
  1047.             if(this.currentFrame == 45)
  1048.                 this.gotoAndPlay(100);
  1049.             if(this.currentFrame == 55)
  1050.                 this.gotoAndPlay(100);
  1051.             if(this.currentFrame == 65)
  1052.                 this.gotoAndPlay(100);
  1053.             if(this.currentFrame == 75)
  1054.                 this.gotoAndPlay(100);
  1055.             if(this.currentFrame == 85)
  1056.                 this.gotoAndPlay(100);
  1057.             if(this.currentFrame == 25)
  1058.                 this.gotoAndPlay(100);
  1059.             if(this.currentFrame == 95)
  1060.                 this.gotoAndPlay(100);
  1061.         }
  1062.     }
  1063.     this.frame_25 = function() {
  1064.         this.stop();
  1065.     }
  1066.     this.frame_26 = function() {
  1067.         this.KTL1.addEventListener("click", fl_ClickToGoToWebPage);
  1068.         function fl_ClickToGoToWebPage() {
  1069.             window.open("http://www.urbaneuterom.no", "_blank");
  1070.         }
  1071.         this.KTL2.addEventListener("click", fl_ClickToGoToWebPage_2);
  1072.         function fl_ClickToGoToWebPage_2() {
  1073.             window.open("http://www.klima2050.no/z4_upgrading-to-bluegreen-roofs", "_blank");
  1074.         }
  1075.     }
  1076.     this.frame_35 = function() {
  1077.         this.stop();
  1078.     }
  1079.     this.frame_36 = function() {
  1080.         this.SLB1.addEventListener("click", fl_ClickToGoToWebPage_3);
  1081.         function fl_ClickToGoToWebPage_3() {
  1082.             window.open("http://www.klima2050.no/z9_larimit", "_blank");
  1083.         }
  1084.         this.SLB2.addEventListener("click", fl_ClickToGoToWebPage_999);
  1085.         function fl_ClickToGoToWebPage_999() {
  1086.             window.open("http://www.klima2050.no/z10_earlywarning-landslides", "_blank");
  1087.         }
  1088.         this.SLB3.addEventListener("click", fl_ClickToGoToWebPage_888);
  1089.         function fl_ClickToGoToWebPage_888() {
  1090.             window.open("http://www.klima2050.no/z11_framework-climaterisks", "_blank");
  1091.         }
  1092.     }
  1093.     this.frame_45 = function() {
  1094.         this.stop();
  1095.     }
  1096.     this.frame_46 = function() {
  1097.         this.K2050L1.addEventListener("click", fl_ClickToGoToWebPage_4);
  1098.         function fl_ClickToGoToWebPage_4() {
  1099.             window.open("http://www.klima2050.no/z1-roof-convection-barrier", "_blank");
  1100.         }
  1101.     }
  1102.     this.frame_55 = function() {
  1103.         this.stop();
  1104.     }
  1105.     this.frame_56 = function() {
  1106.         this.K2050L2.addEventListener("click", fl_ClickToGoToWebPage_5);
  1107.         function fl_ClickToGoToWebPage_5() {
  1108.             window.open("http://www.klima2050.no/z2_roof-air-gap-design", "_blank");
  1109.         }
  1110.     }
  1111.     this.frame_65 = function() {
  1112.         this.stop();
  1113.     }
  1114.     this.frame_66 = function() {
  1115.         this.OvaseButton.addEventListener("click", fl_ClickToGoToWebPage_6);
  1116.         function fl_ClickToGoToWebPage_6() {
  1117.             window.open("https://ovase.no", "_blank");
  1118.         }
  1119.     }
  1120.     this.frame_75 = function() {
  1121.         this.stop();
  1122.     }
  1123.     this.frame_76 = function() {
  1124.         this.K2050L4.addEventListener("click", fl_ClickToGoToWebPage_7);
  1125.         function fl_ClickToGoToWebPage_7() {
  1126.             window.open("http://www.klima2050.no/z3_brick-masonry", "_blank");
  1127.         }
  1128.     }
  1129.     this.frame_85 = function() {
  1130.         this.stop();
  1131.     }
  1132.     this.frame_86 = function() {
  1133.         this.K2050L5.addEventListener("click", fl_ClickToGoToWebPage_8);
  1134.         function fl_ClickToGoToWebPage_8() {
  1135.             window.open("http://www.klima2050.no/z5_climate-adaptation-network", "_blank");
  1136.         }
  1137.     }
  1138.     this.frame_95 = function() {
  1139.         this.stop();
  1140.     }
  1141.     this.frame_96 = function() {
  1142.         this.DK1Btn.addEventListener("click", fl_ClickToGoToWebPage_10);
  1143.         function fl_ClickToGoToWebPage_10() {
  1144.             window.open("http://www.klima2050.no/z6_identified-barriers", "_blank");
  1145.         }
  1146.         this.DK2Btn.addEventListener("click", fl_ClickToGoToWebPage_11);
  1147.         function fl_ClickToGoToWebPage_11() {
  1148.             window.open("http://www.klima2050.no/z7_guidance-documents", "_blank");
  1149.         }
  1150.         this.DK3Btn.addEventListener("click", fl_ClickToGoToWebPage_12);
  1151.         function fl_ClickToGoToWebPage_12() {
  1152.             window.open("http://www.klima2050.no/z8_sharing-loss-data", "_blank");
  1153.         }
  1154.     }
  1155.     this.frame_105 = function() {
  1156.         this.stop();
  1157.     }
  1158.     this.frame_106 = function() {
  1159.         this.ByggforskLinkBtn.addEventListener("click", fl_ClickToGoToWebPage_13);
  1160.         function fl_ClickToGoToWebPage_13() {
  1161.             window.open("http://www.klima2050.no/byggforskserien", "_blank");
  1162.         }
  1163.     }
  1164.     // actions tween:
  1165.     this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(11).call(this.frame_11).wait(14).call(this.frame_25).wait(1).call(this.frame_26).wait(9).call(this.frame_35).wait(1).call(this.frame_36).wait(9).call(this.frame_45).wait(1).call(this.frame_46).wait(9).call(this.frame_55).wait(1).call(this.frame_56).wait(9).call(this.frame_65).wait(1).call(this.frame_66).wait(9).call(this.frame_75).wait(1).call(this.frame_76).wait(9).call(this.frame_85).wait(1).call(this.frame_86).wait(9).call(this.frame_95).wait(1).call(this.frame_96).wait(9).call(this.frame_105).wait(1).call(this.frame_106).wait(94));
  1166.     // ExitBtn
  1167.     this.Exit = new lib.ExitButton_1();
  1168.     this.Exit.name = "Exit";
  1169.     this.Exit.setTransform(587.25,19.15,0.5,0.5,0,0,0,24.5,24.3);
  1170.     this.Exit._off = true;
  1171.     new cjs.ButtonHelper(this.Exit, 0, 1, 1);
  1172.     this.timeline.addTween(cjs.Tween.get(this.Exit).wait(26).to({_off:false},0).to({_off:true},3).wait(7).to({_off:false},0).to({_off:true},3).wait(7).to({_off:false},0).to({_off:true},3).wait(7).to({_off:false},0).to({_off:true},3).wait(7).to({_off:false},0).to({_off:true},3).wait(7).to({_off:false},0).to({_off:true},3).wait(7).to({_off:false},0).to({_off:true},3).wait(7).to({_off:false},0).to({_off:true},3).wait(7).to({_off:false,x:587.75},0).to({_off:true},3).wait(91));
  1173.     // Text_Link
  1174.     this.KTL2 = new lib.KomTakLinkBtn2();
  1175.     this.KTL2.name = "KTL2";
  1176.     this.KTL2.setTransform(404.75,169.5,0.5,0.5,0,0,0,287.5,25);
  1177.     new cjs.ButtonHelper(this.KTL2, 0, 1, 1);
  1178.     this.KTL1 = new lib.KomTakLinkBtn1();
  1179.     this.KTL1.name = "KTL1";
  1180.     this.KTL1.setTransform(396.5,123.75,0.5,0.5,0,0,0,271,24.5);
  1181.     new cjs.ButtonHelper(this.KTL1, 0, 1, 1);
  1182.     this.SLB3 = new lib.SkredLinkBtn3();
  1183.     this.SLB3.name = "SLB3";
  1184.     this.SLB3.setTransform(419.4,238.85,0.4005,0.3966,0,0,0,393,51.3);
  1185.     new cjs.ButtonHelper(this.SLB3, 0, 1, 1);
  1186.     this.SLB2 = new lib.SkredLinkBtn2();
  1187.     this.SLB2.name = "SLB2";
  1188.     this.SLB2.setTransform(262.95,152.8,0.3997,0.3958,0,0,0,0.9,0.7);
  1189.     new cjs.ButtonHelper(this.SLB2, 0, 1, 1);
  1190.     this.SLB1 = new lib.SkredLinkbtn1();
  1191.     this.SLB1.name = "SLB1";
  1192.     this.SLB1.setTransform(374.85,109.9,0.4026,0.399,0,0,0,280.4,60.6);
  1193.     new cjs.ButtonHelper(this.SLB1, 0, 1, 1);
  1194.     this.K2050L1 = new lib.Klima2050Link1();
  1195.     this.K2050L1.name = "K2050L1";
  1196.     this.K2050L1.setTransform(362.5,415,0.5,0.5,0,0,0,51,24);
  1197.     new cjs.ButtonHelper(this.K2050L1, 0, 1, 1);
  1198.     this.K2050L2 = new lib.Klima2050Link2();
  1199.     this.K2050L2.name = "K2050L2";
  1200.     this.K2050L2.setTransform(360,371.45,0.5,0.5,0,0,0,51,24.1);
  1201.     new cjs.ButtonHelper(this.K2050L2, 0, 1, 1);
  1202.     this.K2050L4 = new lib.Klima2050Link4();
  1203.     this.K2050L4.name = "K2050L4";
  1204.     this.K2050L4.setTransform(364,427,0.5,0.5,0,0,0,51,24);
  1205.     new cjs.ButtonHelper(this.K2050L4, 0, 1, 1);
  1206.     this.K2050L5 = new lib.Klima2050Link5();
  1207.     this.K2050L5.name = "K2050L5";
  1208.     this.K2050L5.setTransform(359.5,463.3,0.5,0.5,0,0,0,51,24);
  1209.     new cjs.ButtonHelper(this.K2050L5, 0, 1, 1);
  1210.     this.DK3Btn = new lib.DokLink3Btn();
  1211.     this.DK3Btn.name = "DK3Btn";
  1212.     this.DK3Btn.setTransform(345,196.8,1,1,0,0,0,96,11.8);
  1213.     new cjs.ButtonHelper(this.DK3Btn, 0, 1, 1);
  1214.     this.DK2Btn = new lib.DokLink2Btn();
  1215.     this.DK2Btn.name = "DK2Btn";
  1216.     this.DK2Btn.setTransform(352,149.8,1,1,0,0,0,103,10.8);
  1217.     new cjs.ButtonHelper(this.DK2Btn, 0, 1, 1);
  1218.     this.DK1Btn = new lib.DokLink1Btn();
  1219.     this.DK1Btn.name = "DK1Btn";
  1220.     this.DK1Btn.setTransform(337.65,103.3,1,1,0,0,0,88.5,10.1);
  1221.     new cjs.ButtonHelper(this.DK1Btn, 0, 1, 1);
  1222.     this.ByggforskLinkBtn = new lib.ByggforskLink();
  1223.     this.ByggforskLinkBtn.name = "ByggforskLinkBtn";
  1224.     this.ByggforskLinkBtn.setTransform(460.6,306.9,0.4706,0.4687,0,0,0,51,24.3);
  1225.     new cjs.ButtonHelper(this.ByggforskLinkBtn, 0, 1, 1);
  1226.     this.timeline.addTween(cjs.Tween.get({}).to({state:[]}).to({state:[{t:this.KTL1},{t:this.KTL2}]},26).to({state:[]},3).to({state:[{t:this.SLB1},{t:this.SLB2},{t:this.SLB3}]},7).to({state:[]},3).to({state:[{t:this.K2050L1}]},7).to({state:[]},3).to({state:[{t:this.K2050L2}]},7).to({state:[]},3).to({state:[{t:this.K2050L4}]},17).to({state:[]},3).to({state:[{t:this.K2050L5}]},7).to({state:[]},3).to({state:[{t:this.DK1Btn},{t:this.DK2Btn},{t:this.DK3Btn}]},7).to({state:[]},3).to({state:[{t:this.ByggforskLinkBtn}]},7).to({state:[]},3).wait(91));
  1227.     // ByggforskText
  1228.     this.Byggforsk_TF = new lib.ByggforskTF();
  1229.     this.Byggforsk_TF.name = "Byggforsk_TF";
  1230.     this.Byggforsk_TF.setTransform(400,257,1,1,0,0,0,200,250);
  1231.     this.Byggforsk_TF._off = true;
  1232.     this.timeline.addTween(cjs.Tween.get(this.Byggforsk_TF).wait(106).to({_off:false},0).to({_off:true},3).wait(91));
  1233.     // DokumentasjonText
  1234.     this.D_TF = new lib.DokTF();
  1235.     this.D_TF.name = "D_TF";
  1236.     this.D_TF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
  1237.     this.D_TF._off = true;
  1238.     this.timeline.addTween(cjs.Tween.get(this.D_TF).wait(96).to({_off:false},0).to({_off:true},3).wait(101));
  1239.     // ForvaltningText
  1240.     this.FTF = new lib.ForvaltningTF();
  1241.     this.FTF.name = "FTF";
  1242.     this.FTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
  1243.     this.FTF._off = true;
  1244.     this.timeline.addTween(cjs.Tween.get(this.FTF).wait(86).to({_off:false},0).to({_off:true},3).wait(111));
  1245.     // UtKledningText
  1246.     this.UTKTF = new lib.UtKledningTF();
  1247.     this.UTKTF.name = "UTKTF";
  1248.     this.UTKTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
  1249.     this.UTKTF._off = true;
  1250.     this.timeline.addTween(cjs.Tween.get(this.UTKTF).wait(76).to({_off:false},0).to({_off:true},3).wait(121));
  1251.     // VARText
  1252.     this.OvaseButton = new lib.OvaseLogo();
  1253.     this.OvaseButton.name = "OvaseButton";
  1254.     this.OvaseButton.setTransform(391,383.5,0.5,0.5,0,0,0,175,175);
  1255.     new cjs.ButtonHelper(this.OvaseButton, 0, 1, 1);
  1256.     this.VARTF = new lib.VARTextFrame();
  1257.     this.VARTF.name = "VARTF";
  1258.     this.VARTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
  1259.     this.timeline.addTween(cjs.Tween.get({}).to({state:[]}).to({state:[{t:this.VARTF},{t:this.OvaseButton}]},66).to({state:[]},3).wait(131));
  1260.     // TakDekkingText
  1261.     this.TakDTF = new lib.TakDekkingTextFrame();
  1262.     this.TakDTF.name = "TakDTF";
  1263.     this.TakDTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
  1264.     this.TakDTF._off = true;
  1265.     this.timeline.addTween(cjs.Tween.get(this.TakDTF).wait(56).to({_off:false},0).to({_off:true},3).wait(141));
  1266.     // TakText
  1267.     this.TakTF = new lib.TakTextFrame();
  1268.     this.TakTF.name = "TakTF";
  1269.     this.TakTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
  1270.     this.TakTF._off = true;
  1271.     this.timeline.addTween(cjs.Tween.get(this.TakTF).wait(46).to({_off:false},0).to({_off:true},3).wait(151));
  1272.     // SkredText
  1273.     this.SkredTF = new lib.SkredTextFrame();
  1274.     this.SkredTF.name = "SkredTF";
  1275.     this.SkredTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
  1276.     this.SkredTF._off = true;
  1277.     this.timeline.addTween(cjs.Tween.get(this.SkredTF).wait(36).to({_off:false},0).to({_off:true},3).wait(161));
  1278.     // KompakteTakText
  1279.     this.KomTakTF = new lib.KomTakTextFrame();
  1280.     this.KomTakTF.name = "KomTakTF";
  1281.     this.KomTakTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
  1282.     this.KomTakTF._off = true;
  1283.     this.timeline.addTween(cjs.Tween.get(this.KomTakTF).wait(26).to({_off:false},0).to({_off:true},3).wait(171));
  1284.     // ByggforskLbl
  1285.     this.ByggforskL = new lib.ByggforskLabel();
  1286.     this.ByggforskL.name = "ByggforskL";
  1287.     this.ByggforskL.setTransform(106,39.8,1,1,0,0,0,50,13.8);
  1288.     this.ByggforskL.alpha = 0;
  1289.     this.ByggforskL._off = true;
  1290.     this.timeline.addTween(cjs.Tween.get(this.ByggforskL).wait(100).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(91));
  1291.     // ByggforskButton
  1292.     this.ByggforskB = new lib.ByggforskBtn();
  1293.     this.ByggforskB.name = "ByggforskB";
  1294.     this.ByggforskB.setTransform(134.3,121.05,1,1,0,0,0,28.8,28.8);
  1295.     this.ByggforskB._off = true;
  1296.     new cjs.ButtonHelper(this.ByggforskB, 0, 1, 1);
  1297.     this.timeline.addTween(cjs.Tween.get(this.ByggforskB).wait(11).to({_off:false},0).wait(89).to({scaleX:1.1739,scaleY:1.1739,x:139.25,y:126.05},5).wait(4).to({scaleX:1,scaleY:1,x:134.3,y:121.05},0).wait(91));
  1298.     // DokumentasjonLbl
  1299.     this.DokL = new lib.DokLabel();
  1300.     this.DokL.name = "DokL";
  1301.     this.DokL.setTransform(293,126.75,0.5,0.5,0,0,0,100,25.4);
  1302.     this.DokL.alpha = 0;
  1303.     this.DokL._off = true;
  1304.     this.timeline.addTween(cjs.Tween.get(this.DokL).wait(90).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(101));
  1305.     // DokumentasjonButton
  1306.     this.DokB = new lib.DokBtn();
  1307.     this.DokB.name = "DokB";
  1308.     this.DokB.setTransform(322,208.65,0.5,0.4996,0,0,0,57.5,57.1);
  1309.     this.DokB._off = true;
  1310.     new cjs.ButtonHelper(this.DokB, 0, 1, 1);
  1311.     this.timeline.addTween(cjs.Tween.get(this.DokB).wait(11).to({_off:false},0).wait(79).to({regY:57,scaleY:0.5,y:208.75},0).to({regY:57.1,scaleX:0.587,scaleY:0.5868,x:327,y:213.7},5).wait(4).to({regY:57,scaleX:0.5,scaleY:0.5,x:322,y:208.75},0).wait(101));
  1312.     // ForvaltningLbl
  1313.     this.ForvaltningL = new lib.ForvaltningLabel();
  1314.     this.ForvaltningL.name = "ForvaltningL";
  1315.     this.ForvaltningL.setTransform(65.3,415.5,0.5,0.5,0,0,0,100.1,25.4);
  1316.     this.ForvaltningL.alpha = 0;
  1317.     this.ForvaltningL._off = true;
  1318.     this.timeline.addTween(cjs.Tween.get(this.ForvaltningL).wait(80).to({_off:false},0).to({regX:100,x:65.25,y:415.45,alpha:1},5).to({_off:true},4).wait(111));
  1319.     // ForvaltningButton
  1320.     this.ForvaltningB = new lib.ForvaltningBtn();
  1321.     this.ForvaltningB.name = "ForvaltningB";
  1322.     this.ForvaltningB.setTransform(93.8,497.5,0.5,0.5,0,0,0,57.6,57.1);
  1323.     this.ForvaltningB._off = true;
  1324.     new cjs.ButtonHelper(this.ForvaltningB, 0, 1, 1);
  1325.     this.timeline.addTween(cjs.Tween.get(this.ForvaltningB).wait(11).to({_off:false},0).wait(69).to({regY:57.2,scaleX:0.587,scaleY:0.5866,x:98.8,y:502.45},5).wait(4).to({regY:57.1,scaleX:0.5,scaleY:0.4998,x:93.8,y:497.45},0).wait(111));
  1326.     // UtKledningLbl
  1327.     this.UtKledningL = new lib.UtKledningLabel();
  1328.     this.UtKledningL.name = "UtKledningL";
  1329.     this.UtKledningL.setTransform(528.75,243.55,0.5,0.5,0,0,0,100.1,25.4);
  1330.     this.UtKledningL.alpha = 0;
  1331.     this.UtKledningL._off = true;
  1332.     this.timeline.addTween(cjs.Tween.get(this.UtKledningL).wait(70).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(121));
  1333.     // UtKledningButton
  1334.     this.UtKledningB = new lib.UtKledningBtn();
  1335.     this.UtKledningB.name = "UtKledningB";
  1336.     this.UtKledningB.setTransform(529,293.55,0.5,0.5,0,0,0,0.1,0);
  1337.     this.UtKledningB._off = true;
  1338.     new cjs.ButtonHelper(this.UtKledningB, 0, 1, 1);
  1339.     this.timeline.addTween(cjs.Tween.get(this.UtKledningB).wait(11).to({_off:false},0).wait(59).to({regY:0.1,scaleX:0.587,scaleY:0.5868,y:293.6},5).wait(4).to({regY:0,scaleX:0.5,scaleY:0.5,y:293.55},0).wait(121));
  1340.     // VARLbl
  1341.     this.VARL = new lib.VARLabel();
  1342.     this.VARL.name = "VARL";
  1343.     this.VARL.setTransform(78.5,301.2,0.5,0.5,0,0,0,100,25.4);
  1344.     this.VARL.alpha = 0;
  1345.     this.VARL._off = true;
  1346.     this.timeline.addTween(cjs.Tween.get(this.VARL).wait(60).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(130).to({_off:false,alpha:0},0).wait(1));
  1347.     // VARButton
  1348.     this.VARB = new lib.VARBtn();
  1349.     this.VARB.name = "VARB";
  1350.     this.VARB.setTransform(107.75,385.9,0.5,0.5,0,0,0,57.5,57);
  1351.     this.VARB._off = true;
  1352.     new cjs.ButtonHelper(this.VARB, 0, 1, 1);
  1353.     this.timeline.addTween(cjs.Tween.get(this.VARB).wait(11).to({_off:false},0).wait(49).to({regX:57.6,regY:57.1,scaleX:0.587,scaleY:0.5868,x:112.8,y:390.85},5).wait(4).to({regX:57.5,regY:57,scaleX:0.5,scaleY:0.5,x:107.75,y:385.9},0).wait(131));
  1354.     // TakDekkingLbl
  1355.     this.TakDL = new lib.TakDekkingLabel();
  1356.     this.TakDL.name = "TakDL";
  1357.     this.TakDL.setTransform(232.5,243.7,0.5,0.5,0,0,0,100,25.4);
  1358.     this.TakDL.alpha = 0;
  1359.     this.TakDL._off = true;
  1360.     this.timeline.addTween(cjs.Tween.get(this.TakDL).wait(50).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(141));
  1361.     // TakDekkingButton
  1362.     this.TakDB = new lib.TakDekBtn();
  1363.     this.TakDB.name = "TakDB";
  1364.     this.TakDB.setTransform(264.5,329.3,0.5,0.5,0,0,0,57.5,57.1);
  1365.     this.TakDB._off = true;
  1366.     new cjs.ButtonHelper(this.TakDB, 0, 1, 1);
  1367.     this.timeline.addTween(cjs.Tween.get(this.TakDB).wait(11).to({_off:false},0).wait(39).to({scaleX:0.587,scaleY:0.5869,x:269.5,y:334.25},5).wait(4).to({scaleX:0.5,scaleY:0.5,x:264.5,y:329.3},0).wait(141));
  1368.     // TakLbl
  1369.     this.TakL = new lib.TakLabel();
  1370.     this.TakL.name = "TakL";
  1371.     this.TakL.setTransform(332.5,300.7,0.5,0.5,0,0,0,100,25.4);
  1372.     this.TakL.alpha = 0;
  1373.     this.TakL._off = true;
  1374.     this.timeline.addTween(cjs.Tween.get(this.TakL).wait(40).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(151));
  1375.     // TakButton
  1376.     this.TakB = new lib.TakBtn();
  1377.     this.TakB.name = "TakB";
  1378.     this.TakB.setTransform(361.95,385.4,0.5,0.5,0,0,0,57.6,57.1);
  1379.     this.TakB._off = true;
  1380.     new cjs.ButtonHelper(this.TakB, 0, 1, 1);
  1381.     this.timeline.addTween(cjs.Tween.get(this.TakB).wait(11).to({_off:false},0).wait(29).to({scaleX:0.587,scaleY:0.5869,x:366.95,y:390.35},5).wait(4).to({scaleX:0.5,scaleY:0.5,x:361.95,y:385.4},0).wait(151));
  1382.     // SkredLbl
  1383.     this.SkredL = new lib.SkredLabel();
  1384.     this.SkredL.name = "SkredL";
  1385.     this.SkredL.setTransform(363.5,415.7,0.5,0.5,0,0,0,100,25.4);
  1386.     this.SkredL.alpha = 0;
  1387.     this.SkredL._off = true;
  1388.     this.timeline.addTween(cjs.Tween.get(this.SkredL).wait(30).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(161));
  1389.     // SkredButton
  1390.     this.SkredB = new lib.SkredBtn();
  1391.     this.SkredB.name = "SkredB";
  1392.     this.SkredB.setTransform(392.25,498,0.5,0.5,0,0,0,57.5,57.1);
  1393.     this.SkredB._off = true;
  1394.     new cjs.ButtonHelper(this.SkredB, 0, 1, 1);
  1395.     this.timeline.addTween(cjs.Tween.get(this.SkredB).wait(11).to({_off:false},0).wait(19).to({regX:57.6,scaleX:0.587,scaleY:0.5868,x:397.25,y:502.95},5).wait(4).to({regX:57.5,scaleX:0.5,scaleY:0.5,x:392.25,y:498},0).wait(161));
  1396.     // KompakteTakLbl
  1397.     this.KomTakL = new lib.KomTakLabel();
  1398.     this.KomTakL.name = "KomTakL";
  1399.     this.KomTakL.setTransform(690,233.7,0.5,0.5,0,0,0,100,25.4);
  1400.     this.KomTakL.alpha = 0;
  1401.     this.KomTakL._off = true;
  1402.     this.timeline.addTween(cjs.Tween.get(this.KomTakL).wait(20).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(171));
  1403.     // KompakteTakButton
  1404.     this.KomTakB = new lib.KomTakBtn();
  1405.     this.KomTakB.name = "KomTakB";
  1406.     this.KomTakB.setTransform(718.4,313.4,0.5,0.4998,0,0,0,57.6,57.1);
  1407.     this.KomTakB._off = true;
  1408.     new cjs.ButtonHelper(this.KomTakB, 0, 1, 1);
  1409.     this.timeline.addTween(cjs.Tween.get(this.KomTakB).wait(11).to({_off:false},0).wait(9).to({scaleX:0.587,scaleY:0.5866,x:723.4,y:318.35},5).wait(4).to({scaleX:0.5,scaleY:0.4998,x:718.4,y:313.4},0).wait(171));
  1410.     // Layer_1
  1411.     this.StartBtn = new lib.Start();
  1412.     this.StartBtn.name = "StartBtn";
  1413.     this.StartBtn.setTransform(400,310.75,0.5,0.5,0,0,0,203,51.5);
  1414.     new cjs.ButtonHelper(this.StartBtn, 0, 1, 1);
  1415.     this.instance = new lib.Tut();
  1416.     this.instance.setTransform(587.5,407.25,0.5,0.5,0,0,0,625,500);
  1417.     this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance},{t:this.StartBtn}]}).to({state:[]},11).wait(189));
  1418.     // Background
  1419.     this.instance_1 = new lib.MasterfigurKlima2050_20150318();
  1420.     this.instance_1.setTransform(0,0,0.2519,0.2517);
  1421.     this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(200));
  1422.     this._renderFirstFrame();
  1423. }).prototype = p = new cjs.MovieClip();
  1424. p.nominalBounds = new cjs.Rectangle(400,257.5,400,257);
  1425. // library properties:
  1426. lib.properties = {
  1427.     id: '12A4092B2735D445B72D12DE68D30F73',
  1428.     width: 800,
  1429.     height: 515,
  1430.     fps: 30,
  1431.     color: "#FFFFFF",
  1432.     opacity: 1.00,
  1433.     manifest: [
  1434.         {src:"images/Dok_av_eksisterende_bygninger.jpg", id:"Dok_av_eksisterende_bygninger"},
  1435.         {src:"images/Forvaltning_av_exsisterende_Bygninger.jpg", id:"Forvaltning_av_exsisterende_Bygninger"},
  1436.         {src:"images/Kompakte_Tak_OgTerasser.jpg", id:"Kompakte_Tak_OgTerasser"},
  1437.         {src:"images/MasterfigurKlima2050_20150318.jpg", id:"MasterfigurKlima2050_20150318"},
  1438.         {src:"images/Skred.jpg", id:"Skred"},
  1439.         {src:"images/Tak.jpg", id:"Tak"},
  1440.         {src:"images/Tak_fig_20171218.jpg", id:"Tak_fig_20171218"},
  1441.         {src:"images/Taktekking.jpg", id:"Taktekking"},
  1442.         {src:"images/Utvendig_Kledning.jpg", id:"Utvendig_Kledning"},
  1443.         {src:"images/VAR_Anlegg.jpg", id:"VAR_Anlegg"},
  1444.         {src:"images/ResultatFramstilling_HTML5_Eng_atlas_.png", id:"ResultatFramstilling_HTML5_Eng_atlas_"},
  1445.         {src:"images/ResultatFramstilling_HTML5_Eng_atlas_2.png", id:"ResultatFramstilling_HTML5_Eng_atlas_2"},
  1446.         {src:"images/ResultatFramstilling_HTML5_Eng_atlas_3.png", id:"ResultatFramstilling_HTML5_Eng_atlas_3"},
  1447.         {src:"images/ResultatFramstilling_HTML5_Eng_atlas_4.png", id:"ResultatFramstilling_HTML5_Eng_atlas_4"},
  1448.         {src:"images/ResultatFramstilling_HTML5_Eng_atlas_5.png", id:"ResultatFramstilling_HTML5_Eng_atlas_5"},
  1449.         {src:"images/ResultatFramstilling_HTML5_Eng_atlas_6.png", id:"ResultatFramstilling_HTML5_Eng_atlas_6"},
  1450.         {src:"images/ResultatFramstilling_HTML5_Eng_atlas_7.png", id:"ResultatFramstilling_HTML5_Eng_atlas_7"},
  1451.         {src:"images/ResultatFramstilling_HTML5_Eng_atlas_8.png", id:"ResultatFramstilling_HTML5_Eng_atlas_8"},
  1452.         {src:"images/ResultatFramstilling_HTML5_Eng_atlas_9.png", id:"ResultatFramstilling_HTML5_Eng_atlas_9"},
  1453.         {src:"images/ResultatFramstilling_HTML5_Eng_atlas_10.png", id:"ResultatFramstilling_HTML5_Eng_atlas_10"},
  1454.         {src:"images/ResultatFramstilling_HTML5_Eng_atlas_11.png", id:"ResultatFramstilling_HTML5_Eng_atlas_11"},
  1455.         {src:"images/ResultatFramstilling_HTML5_Eng_atlas_12.png", id:"ResultatFramstilling_HTML5_Eng_atlas_12"},
  1456.         {src:"images/ResultatFramstilling_HTML5_Eng_atlas_13.png", id:"ResultatFramstilling_HTML5_Eng_atlas_13"}
  1457.     ],
  1458.     preloads: []
  1459. };
  1460. // bootstrap callback support:
  1461. (lib.Stage = function(canvas) {
  1462.     createjs.Stage.call(this, canvas);
  1463. }).prototype = p = new createjs.StageGL();
  1464. p.setAutoPlay = function(autoPlay) {
  1465.     this.tickEnabled = autoPlay;
  1466. }
  1467. p.play = function() { this.tickEnabled = true; this.getChildAt(0).gotoAndPlay(this.getTimelinePosition()) }
  1468. p.stop = function(ms) { if(ms) this.seek(ms); this.tickEnabled = false; }
  1469. p.seek = function(ms) { this.tickEnabled = true; this.getChildAt(0).gotoAndStop(lib.properties.fps * ms / 1000); }
  1470. p.getDuration = function() { return this.getChildAt(0).totalFrames / lib.properties.fps * 1000; }
  1471. p.getTimelinePosition = function() { return this.getChildAt(0).currentFrame / lib.properties.fps * 1000; }
  1472. an.bootcompsLoaded = an.bootcompsLoaded || [];
  1473. if(!an.bootstrapListeners) {
  1474.     an.bootstrapListeners=[];
  1475. }
  1476. an.bootstrapCallback=function(fnCallback) {
  1477.     an.bootstrapListeners.push(fnCallback);
  1478.     if(an.bootcompsLoaded.length > 0) {
  1479.         for(var i=0; i<an.bootcompsLoaded.length; ++i) {
  1480.             fnCallback(an.bootcompsLoaded[i]);
  1481.         }
  1482.     }
  1483. };
  1484. an.compositions = an.compositions || {};
  1485. an.compositions['12A4092B2735D445B72D12DE68D30F73'] = {
  1486.     getStage: function() { return exportRoot.stage; },
  1487.     getLibrary: function() { return lib; },
  1488.     getSpriteSheet: function() { return ss; },
  1489.     getImages: function() { return img; }
  1490. };
  1491. an.compositionLoaded = function(id) {
  1492.     an.bootcompsLoaded.push(id);
  1493.     for(var j=0; j<an.bootstrapListeners.length; j++) {
  1494.         an.bootstrapListeners[j](id);
  1495.     }
  1496. }
  1497. an.getComposition = function(id) {
  1498.     return an.compositions[id];
  1499. }
  1500. an.makeResponsive = function(isResp, respDim, isScale, scaleType, domContainers) {     
  1501.     var lastW, lastH, lastS=1;     
  1502.     window.addEventListener('resize', resizeCanvas);       
  1503.     resizeCanvas();    
  1504.     function resizeCanvas() {          
  1505.         var w = lib.properties.width, h = lib.properties.height;           
  1506.         var iw = window.innerWidth, ih=window.innerHeight;         
  1507.         var pRatio = window.devicePixelRatio || 1, xRatio=iw/w, yRatio=ih/h, sRatio=1;         
  1508.         if(isResp) {                
  1509.             if((respDim=='width'&&lastW==iw) || (respDim=='height'&&lastH==ih)) {                    
  1510.                 sRatio = lastS;                
  1511.             }              
  1512.             else if(!isScale) {                
  1513.                 if(iw<w || ih<h)                       
  1514.                     sRatio = Math.min(xRatio, yRatio);             
  1515.             }              
  1516.             else if(scaleType==1) {                
  1517.                 sRatio = Math.min(xRatio, yRatio);             
  1518.             }              
  1519.             else if(scaleType==2) {                
  1520.                 sRatio = Math.max(xRatio, yRatio);             
  1521.             }          
  1522.         }          
  1523.         domContainers[0].width = w * pRatio * sRatio;          
  1524.         domContainers[0].height = h * pRatio * sRatio;         
  1525.         domContainers.forEach(function(container) {            
  1526.             container.style.width = w * sRatio + 'px';             
  1527.             container.style.height = h * sRatio + 'px';        
  1528.         });        
  1529.         stage.scaleX = pRatio*sRatio;          
  1530.         stage.scaleY = pRatio*sRatio;          
  1531.         lastW = iw; lastH = ih; lastS = sRatio;            
  1532.         stage.tickOnUpdate = false;            
  1533.         stage.update();            
  1534.         stage.tickOnUpdate = true;     
  1535.     }
  1536. }
  1537. })(createjs = createjs||{}, AdobeAn = AdobeAn||{});
  1538. var createjs, AdobeAn;
  1539. </script>
  1540. <script>
  1541. var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation;
  1542. function init() {
  1543.     canvas = document.getElementById("canvas");
  1544.     anim_container = document.getElementById("animation_container");
  1545.     dom_overlay_container = document.getElementById("dom_overlay_container");
  1546.     var comp=AdobeAn.getComposition("12A4092B2735D445B72D12DE68D30F73");
  1547.     var lib=comp.getLibrary();
  1548.     var loader = new createjs.LoadQueue(false);
  1549.     loader.addEventListener("fileload", function(evt){handleFileLoad(evt,comp)});
  1550.     loader.addEventListener("complete", function(evt){handleComplete(evt,comp)});
  1551.     var lib=comp.getLibrary();
  1552.     loader.loadManifest(lib.properties.manifest);
  1553. }
  1554. function handleFileLoad(evt, comp) {
  1555.     var images=comp.getImages();   
  1556.     if (evt && (evt.item.type == "image")) { images[evt.item.id] = evt.result; }   
  1557. }
  1558. function handleComplete(evt,comp) {
  1559.     //This function is always called, irrespective of the content. You can use the variable "stage" after it is created in token create_stage.
  1560.     var lib=comp.getLibrary();
  1561.     var ss=comp.getSpriteSheet();
  1562.     var queue = evt.target;
  1563.     var ssMetadata = lib.ssMetadata;
  1564.     for(i=0; i<ssMetadata.length; i++) {
  1565.         ss[ssMetadata[i].name] = new createjs.SpriteSheet( {"images": [queue.getResult(ssMetadata[i].name)], "frames": ssMetadata[i].frames} )
  1566.     }
  1567.     exportRoot = new lib.ResultatFramstilling_HTML5_Eng();
  1568.     stage = new lib.Stage(canvas);
  1569.     stage.enableMouseOver();   
  1570.     //Registers the "tick" event listener.
  1571.     fnStartAnimation = function() {
  1572.         stage.addChild(exportRoot);
  1573.         createjs.Ticker.framerate = lib.properties.fps;
  1574.         createjs.Ticker.addEventListener("tick", stage);
  1575.     }      
  1576.     //Code to support hidpi screens and responsive scaling.
  1577.     AdobeAn.makeResponsive(false,'both',false,1,[canvas,anim_container,dom_overlay_container]);
  1578.     AdobeAn.compositionLoaded(lib.properties.id);
  1579.     fnStartAnimation();
  1580. }
  1581. </script>
  1582. <!-- write your code here -->
  1583. </head>
  1584. <body onload="init();" style="margin:0px;">
  1585.     <div id="animation_container" style="background-color:rgba(255, 255, 255, 1.00); width:800px; height:515px">
  1586.         <canvas id="canvas" width="800" height="515" style="position: absolute; display: block; background-color:rgba(255, 255, 255, 1.00);"></canvas>
  1587.         <div id="dom_overlay_container" style="pointer-events:none; overflow:hidden; width:800px; height:515px; position: absolute; left: 0px; top: 0px; display: block;">
  1588.         </div>
  1589.     </div>
  1590. </body>
  1591. </html>
Advertisement
Add Comment
Please, Sign In to add comment