Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--
- NOTES:
- 1. All tokens are represented by '$' sign in the template.
- 2. You can write your code only wherever mentioned.
- 3. All occurrences of existing tokens will be replaced by their appropriate values.
- 4. Blank lines will be removed automatically.
- 5. Remove unnecessary comments before creating your template.
- -->
- <html>
- <head>
- <meta charset="UTF-8">
- <meta name="authoring-tool" content="Adobe_Animate_CC">
- <title>ResultatFramstilling_HTML5_Eng</title>
- <!-- write your code here -->
- <script src="https://code.createjs.com/1.0.0/createjs.min.js"></script>
- <script>
- (function (cjs, an) {
- var p; // shortcut to reference prototypes
- var lib={};var ss={};var img={};
- lib.ssMetadata = [
- {name:"ResultatFramstilling_HTML5_Eng_atlas_", frames: [[0,0,2000,1600]]},
- {name:"ResultatFramstilling_HTML5_Eng_atlas_2", frames: [[0,0,1600,2000]]},
- {name:"ResultatFramstilling_HTML5_Eng_atlas_3", frames: [[0,0,2048,1536]]},
- {name:"ResultatFramstilling_HTML5_Eng_atlas_4", frames: [[0,0,1920,1620]]},
- {name:"ResultatFramstilling_HTML5_Eng_atlas_5", frames: [[0,0,2000,1333]]},
- {name:"ResultatFramstilling_HTML5_Eng_atlas_6", frames: [[0,0,1348,1735]]},
- {name:"ResultatFramstilling_HTML5_Eng_atlas_7", frames: [[0,0,1308,1592]]},
- {name:"ResultatFramstilling_HTML5_Eng_atlas_8", frames: [[0,0,1312,1553]]},
- {name:"ResultatFramstilling_HTML5_Eng_atlas_9", frames: [[0,0,1364,1371]]},
- {name:"ResultatFramstilling_HTML5_Eng_atlas_10", frames: [[0,0,1231,1483]]},
- {name:"ResultatFramstilling_HTML5_Eng_atlas_11", frames: [[0,807,1351,1097],[0,0,1991,805]]},
- {name:"ResultatFramstilling_HTML5_Eng_atlas_12", frames: [[0,0,1355,893],[0,895,1160,996]]},
- {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]]}
- ];
- // symbols:
- (lib.CachedBmp_21 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_11"]);
- this.gotoAndStop(0);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_20 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_7"]);
- this.gotoAndStop(0);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_19 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_8"]);
- this.gotoAndStop(0);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_18 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_9"]);
- this.gotoAndStop(0);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_17 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_12"]);
- this.gotoAndStop(0);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_16 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(0);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_15 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(1);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_14 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_6"]);
- this.gotoAndStop(0);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_13 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(2);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_12 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(3);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_11 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(4);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_10 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(5);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_9 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(6);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_8 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(7);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_7 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(8);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_6 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(9);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_5 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(10);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_4 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(11);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_3 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(12);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_2 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(13);
- }).prototype = p = new cjs.Sprite();
- (lib.CachedBmp_1 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(14);
- }).prototype = p = new cjs.Sprite();
- (lib.Artboard1 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_4"]);
- this.gotoAndStop(0);
- }).prototype = p = new cjs.Sprite();
- (lib.byggforsk_hus_piktogram = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(15);
- }).prototype = p = new cjs.Sprite();
- (lib.Byggforskserien = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(16);
- }).prototype = p = new cjs.Sprite();
- (lib.Dok_av_eksisterende_bygninger = function() {
- this.initialize(img.Dok_av_eksisterende_bygninger);
- }).prototype = p = new cjs.Bitmap();
- p.nominalBounds = new cjs.Rectangle(0,0,2343,2324);
- (lib.DokLink1 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(17);
- }).prototype = p = new cjs.Sprite();
- (lib.DokLink2 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(18);
- }).prototype = p = new cjs.Sprite();
- (lib.DokLink3 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(19);
- }).prototype = p = new cjs.Sprite();
- (lib.ExitButton = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(20);
- }).prototype = p = new cjs.Sprite();
- (lib.Flomjordskred_13_20001100just_Banner = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_11"]);
- this.gotoAndStop(1);
- }).prototype = p = new cjs.Sprite();
- (lib.Forvaltning_av_exsisterende_Bygninger = function() {
- this.initialize(img.Forvaltning_av_exsisterende_Bygninger);
- }).prototype = p = new cjs.Bitmap();
- p.nominalBounds = new cjs.Rectangle(0,0,2343,2324);
- (lib.klima2015tak_300 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_10"]);
- this.gotoAndStop(0);
- }).prototype = p = new cjs.Sprite();
- (lib.Kompakte_Tak_OgTerasser = function() {
- this.initialize(img.Kompakte_Tak_OgTerasser);
- }).prototype = p = new cjs.Bitmap();
- p.nominalBounds = new cjs.Rectangle(0,0,2343,2324);
- (lib.KomTakLink1 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(21);
- }).prototype = p = new cjs.Sprite();
- (lib.KomTakLink2 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(22);
- }).prototype = p = new cjs.Sprite();
- (lib.Label = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(23);
- }).prototype = p = new cjs.Sprite();
- (lib.Leikeplass = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_12"]);
- this.gotoAndStop(1);
- }).prototype = p = new cjs.Sprite();
- (lib.Link = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(24);
- }).prototype = p = new cjs.Sprite();
- (lib.MasterfigurKlima2050_20150318 = function() {
- this.initialize(img.MasterfigurKlima2050_20150318);
- }).prototype = p = new cjs.Bitmap();
- p.nominalBounds = new cjs.Rectangle(0,0,3176,2044);
- (lib.ovaselogo = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(25);
- }).prototype = p = new cjs.Sprite();
- (lib.Skred = function() {
- this.initialize(img.Skred);
- }).prototype = p = new cjs.Bitmap();
- p.nominalBounds = new cjs.Rectangle(0,0,2343,2324);
- (lib.SkredLink1 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(26);
- }).prototype = p = new cjs.Sprite();
- (lib.SkredLink2 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(27);
- }).prototype = p = new cjs.Sprite();
- (lib.SkredLink3 = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_13"]);
- this.gotoAndStop(28);
- }).prototype = p = new cjs.Sprite();
- (lib.Tak = function() {
- this.initialize(img.Tak);
- }).prototype = p = new cjs.Bitmap();
- p.nominalBounds = new cjs.Rectangle(0,0,2343,2325);
- (lib.Tak_fig_20171218 = function() {
- this.initialize(img.Tak_fig_20171218);
- }).prototype = p = new cjs.Bitmap();
- p.nominalBounds = new cjs.Rectangle(0,0,2405,1546);
- (lib.Taktekking = function() {
- this.initialize(img.Taktekking);
- }).prototype = p = new cjs.Bitmap();
- p.nominalBounds = new cjs.Rectangle(0,0,2343,2325);
- (lib.Tutorial = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_"]);
- this.gotoAndStop(0);
- }).prototype = p = new cjs.Sprite();
- (lib.urbaneuterom_bg = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_5"]);
- this.gotoAndStop(0);
- }).prototype = p = new cjs.Sprite();
- (lib.Utvendig_Kledning = function() {
- this.initialize(img.Utvendig_Kledning);
- }).prototype = p = new cjs.Bitmap();
- p.nominalBounds = new cjs.Rectangle(0,0,2343,2324);
- (lib.ValidTextFrame = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_2"]);
- this.gotoAndStop(0);
- }).prototype = p = new cjs.Sprite();
- (lib.VAR_Anlegg = function() {
- this.initialize(img.VAR_Anlegg);
- }).prototype = p = new cjs.Bitmap();
- p.nominalBounds = new cjs.Rectangle(0,0,2343,2324);
- (lib.Vignett = function() {
- this.initialize(ss["ResultatFramstilling_HTML5_Eng_atlas_3"]);
- this.gotoAndStop(0);
- }).prototype = p = new cjs.Sprite();
- // helper functions:
- function mc_symbol_clone() {
- var clone = this._cloneProps(new this.constructor(this.mode, this.startPosition, this.loop));
- clone.gotoAndStop(this.currentFrame);
- clone.paused = this.paused;
- clone.framerate = this.framerate;
- return clone;
- }
- function getMCSymbolPrototype(symbol, nominalBounds, frameBounds) {
- var prototype = cjs.extend(symbol, cjs.MovieClip);
- prototype.clone = mc_symbol_clone;
- prototype.nominalBounds = nominalBounds;
- prototype.frameBounds = frameBounds;
- return prototype;
- }
- (lib.VARTextFrame = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.CachedBmp_21();
- this.instance.setTransform(62.1,56.7,0.5,0.5);
- this.instance_1 = new lib.ValidTextFrame();
- this.instance_1.setTransform(0,0,0.5,0.5);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.VARTextFrame, new cjs.Rectangle(0,0,800,1000), null);
- (lib.UtKledningTF = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Vignett();
- this.instance.setTransform(100,357,0.293,0.293);
- this.instance_1 = new lib.CachedBmp_20();
- this.instance_1.setTransform(74,67.8,0.5,0.5);
- this.instance_2 = new lib.ValidTextFrame();
- this.instance_2.setTransform(0,0,0.5,0.5);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.UtKledningTF, new cjs.Rectangle(0,0,800,1000), null);
- (lib.TakTextFrame = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.klima2015tak_300();
- this.instance.setTransform(175,180,0.3655,0.3656);
- this.instance_1 = new lib.CachedBmp_19();
- this.instance_1.setTransform(72.05,62.75,0.5,0.5);
- this.instance_2 = new lib.ValidTextFrame();
- this.instance_2.setTransform(0,0,0.5,0.5);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.TakTextFrame, new cjs.Rectangle(0,0,800,1000), null);
- (lib.TakDekkingTextFrame = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Tak_fig_20171218();
- this.instance.setTransform(62,205,0.2807,0.2807);
- this.instance_1 = new lib.CachedBmp_18();
- this.instance_1.setTransform(58,67.2,0.5,0.5);
- this.instance_2 = new lib.ValidTextFrame();
- this.instance_2.setTransform(0,0,0.5,0.5);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.TakDekkingTextFrame, new cjs.Rectangle(0,0,800,1000), null);
- (lib.SkredTextFrame = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Flomjordskred_13_20001100just_Banner();
- this.instance.setTransform(100,525,0.3013,0.3013);
- this.instance_1 = new lib.CachedBmp_17();
- this.instance_1.setTransform(64.5,64.8,0.5,0.5);
- this.instance_2 = new lib.ValidTextFrame();
- this.instance_2.setTransform(0,0,0.5,0.5);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.SkredTextFrame, new cjs.Rectangle(0,0,800,1000), null);
- (lib.KomTakTextFrame = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.CachedBmp_16();
- this.instance.setTransform(61,862.8,0.5,0.5);
- this.instance_1 = new lib.urbaneuterom_bg();
- this.instance_1.setTransform(61,417,0.3375,0.3375);
- this.instance_2 = new lib.CachedBmp_15();
- this.instance_2.setTransform(70.35,69.75,0.5,0.5);
- this.instance_3 = new lib.ValidTextFrame();
- this.instance_3.setTransform(0,0,0.5,0.5);
- 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));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.KomTakTextFrame, new cjs.Rectangle(0,0,800,1000), null);
- (lib.ForvaltningTF = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Artboard1();
- this.instance.setTransform(63,302,0.3516,0.3516);
- this.instance_1 = new lib.CachedBmp_14();
- this.instance_1.setTransform(66,68.7,0.5,0.5);
- this.instance_2 = new lib.ValidTextFrame();
- this.instance_2.setTransform(0,0,0.5,0.5);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.ForvaltningTF, new cjs.Rectangle(0,0,800,1000), null);
- (lib.DokTF = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Leikeplass();
- this.instance.setTransform(85,404,0.5422,0.5423);
- this.instance_1 = new lib.CachedBmp_13();
- this.instance_1.setTransform(57,79.75,0.5,0.5);
- this.instance_2 = new lib.ValidTextFrame();
- this.instance_2.setTransform(0,0,0.5,0.5);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.DokTF, new cjs.Rectangle(0,0,800,1000), null);
- (lib.ByggforskTF = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Byggforskserien();
- this.instance.setTransform(50,349,0.3141,0.3144);
- this.instance_1 = new lib.CachedBmp_12();
- this.instance_1.setTransform(27,45,0.5,0.5);
- this.instance_2 = new lib.ValidTextFrame();
- this.instance_2.setTransform(0,0,0.25,0.25);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.ByggforskTF, new cjs.Rectangle(0,0,400,500), null);
- (lib.VARLabel = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.CachedBmp_11();
- this.instance.setTransform(38,7.7,0.5,0.5);
- this.instance_1 = new lib.Label();
- this.instance_1.setTransform(0,0,0.4926,0.4927);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.VARLabel, new cjs.Rectangle(0,0,200,50.8), null);
- (lib.UtKledningLabel = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.CachedBmp_10();
- this.instance.setTransform(8.9,8.85,0.5,0.5);
- this.instance_1 = new lib.Label();
- this.instance_1.setTransform(0,0,0.4926,0.4927);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.UtKledningLabel, new cjs.Rectangle(0,0,200,50.8), null);
- (lib.TakLabel = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.CachedBmp_9();
- this.instance.setTransform(7.95,7.7,0.5,0.5);
- this.instance_1 = new lib.Label();
- this.instance_1.setTransform(0,0,0.4926,0.4927);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.TakLabel, new cjs.Rectangle(0,0,200,50.8), null);
- (lib.TakDekkingLabel = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.CachedBmp_8();
- this.instance.setTransform(3.3,7.7,0.5,0.5);
- this.instance_1 = new lib.Label();
- this.instance_1.setTransform(0,0,0.4926,0.4927);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.TakDekkingLabel, new cjs.Rectangle(0,0,200,50.8), null);
- (lib.SkredLabel = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.CachedBmp_7();
- this.instance.setTransform(6,6.7,0.5,0.5);
- this.instance_1 = new lib.Label();
- this.instance_1.setTransform(0,0,0.4926,0.4927);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.SkredLabel, new cjs.Rectangle(0,0,200,50.8), null);
- (lib.KomTakLabel = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.CachedBmp_6();
- this.instance.setTransform(6.7,12.7,0.5,0.5);
- this.instance_1 = new lib.Label();
- this.instance_1.setTransform(0,0,0.4926,0.4927);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.KomTakLabel, new cjs.Rectangle(0,0,200,50.8), null);
- (lib.ForvaltningLabel = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.CachedBmp_5();
- this.instance.setTransform(6.1,-1.5,0.5,0.5);
- this.instance_1 = new lib.Label();
- this.instance_1.setTransform(0,0,0.4926,0.4927);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.ForvaltningLabel, new cjs.Rectangle(0,-1.5,200,55), null);
- (lib.DokLabel = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.CachedBmp_4();
- this.instance.setTransform(9.1,12.2,0.5,0.5);
- this.instance_1 = new lib.Label();
- this.instance_1.setTransform(0,0,0.4926,0.4927);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.DokLabel, new cjs.Rectangle(0,0,200,50.8), null);
- (lib.ByggforskLabel = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.CachedBmp_3();
- this.instance.setTransform(1.45,4.5,0.5,0.5);
- this.instance_1 = new lib.Label();
- this.instance_1.setTransform(0,0,0.2463,0.2675);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.ByggforskLabel, new cjs.Rectangle(0,0,100,27.6), null);
- (lib.ByggforskLink = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Link();
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,102,48);
- (lib.VARBtn = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.VAR_Anlegg();
- this.instance.setTransform(-59,-58,0.0491,0.0491);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(-59,-58,115,114.1);
- (lib.UtKledningBtn = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Utvendig_Kledning();
- this.instance.setTransform(-58,-58,0.0491,0.0491);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(-58,-58,115,114.1);
- (lib.Tutorial_1 = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.CachedBmp_2();
- this.instance.setTransform(-223.9,-171.8,0.5,0.5);
- this.instance_1 = new lib.Tutorial();
- this.instance_1.setTransform(-250,-200,0.25,0.25);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(-250,-200,500,400);
- (lib.TakDekBtn = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Taktekking();
- this.instance.setTransform(-58,-59,0.0491,0.0491);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(-58,-59,115,114.2);
- (lib.TakBtn = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Tak();
- this.instance.setTransform(-59,-57,0.0491,0.0491);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(-59,-57,115,114.2);
- (lib.Start = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.CachedBmp_1();
- this.instance.setTransform(55,20.15,0.5,0.5);
- this.instance_1 = new lib.Label();
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,406,103);
- (lib.SkredLinkBtn3 = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.SkredLink3();
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,774,105);
- (lib.SkredLinkBtn2 = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.SkredLink2();
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,622,108);
- (lib.SkredLinkbtn1 = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.SkredLink1();
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,554,116);
- (lib.SkredBtn = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Skred();
- this.instance.setTransform(-58,-58,0.0491,0.0491);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(-58,-58,115,114.1);
- (lib.OvaseLogo = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.ovaselogo();
- this.instance.setTransform(0,0,0.875,0.875);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,350,350);
- (lib.KomTakLinkBtn2 = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.KomTakLink2();
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,575,50);
- (lib.KomTakLinkBtn1 = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.KomTakLink1();
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,542,49);
- (lib.KomTakBtn = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Kompakte_Tak_OgTerasser();
- this.instance.setTransform(-57,-58,0.0491,0.0491);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(-57,-58,115,114.1);
- (lib.Klima2050Link5 = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Link();
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,102,48);
- (lib.Klima2050Link4 = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Link();
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,102,48);
- (lib.Klima2050Link2 = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Link();
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,102,48);
- (lib.Klima2050Link1 = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Link();
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,102,48);
- (lib.ForvaltningBtn = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Forvaltning_av_exsisterende_Bygninger();
- this.instance.setTransform(-57,-57,0.0491,0.0491);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(-57,-57,115,114.1);
- (lib.ExitButton_1 = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.ExitButton();
- this.instance.setTransform(0,0,0.5,0.5004);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,49,48.6);
- (lib.DokLink3Btn = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.DokLink3();
- this.instance.setTransform(0,0,0.759,0.7578);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,192,23.5);
- (lib.DokLink2Btn = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.DokLink2();
- this.instance.setTransform(0,0,0.7686,0.7707);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,206,21.6);
- (lib.DokLink1Btn = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.DokLink1();
- this.instance.setTransform(0,0,0.7832,0.7796);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(0,0,177,20.3);
- (lib.DokBtn = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.Dok_av_eksisterende_bygninger();
- this.instance.setTransform(-58,-57,0.0491,0.0491);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(-58,-57,115,114.1);
- (lib.ByggforskBtn = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.instance = new lib.byggforsk_hus_piktogram();
- this.instance.setTransform(-28,-28,0.2396,0.2396);
- this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(-28,-28,57.5,57.5);
- (lib.Tut = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // Layer_1
- this.tutscreen = new lib.Tutorial_1();
- this.tutscreen.name = "tutscreen";
- this.tutscreen.setTransform(1250,1000,1,1,0,0,0,1000,800);
- new cjs.ButtonHelper(this.tutscreen, 0, 1, 1);
- this.timeline.addTween(cjs.Tween.get(this.tutscreen).wait(1));
- this._renderFirstFrame();
- }).prototype = getMCSymbolPrototype(lib.Tut, new cjs.Rectangle(0,0,500,400), null);
- // stage content:
- (lib.ResultatFramstilling_HTML5_Eng = function(mode,startPosition,loop) {
- this.initialize(mode,startPosition,loop,{});
- // timeline functions:
- this.frame_0 = function() {
- this.stop();
- this.StartBtn.addEventListener("click", fl_MouseClickHandler_4.bind(this));
- function fl_MouseClickHandler_4()
- {
- this.gotoAndStop(11);
- }
- this.Exit.addEventListener("click", fl_MouseClickHandler_6.bind(this));
- function fl_MouseClickHandler_6()
- {
- this.gotoAndStop(11);
- }
- this.KomTakB.addEventListener("mouseout", fl_MouseOutHandler_2.bind(this));
- function fl_MouseOutHandler_2()
- {
- if(this.currentFrame == 20)
- this.gotoAndStop(11);
- if(this.currentFrame == 21)
- this.gotoAndStop(11);
- if(this.currentFrame == 22)
- this.gotoAndStop(11);
- if(this.currentFrame == 23)
- this.gotoAndStop(11);
- if(this.currentFrame == 24)
- this.gotoAndStop(11);
- if(this.currentFrame == 25)
- this.gotoAndStop(11);
- }
- this.SkredB.addEventListener("mouseout", fl_MouseOutHandler_3.bind(this));
- function fl_MouseOutHandler_3()
- {
- if(this.currentFrame == 30)
- this.gotoAndStop(11);
- if(this.currentFrame == 31)
- this.gotoAndStop(11);
- if(this.currentFrame == 32)
- this.gotoAndStop(11);
- if(this.currentFrame == 33)
- this.gotoAndStop(11);
- if(this.currentFrame == 34)
- this.gotoAndStop(11);
- if(this.currentFrame == 35)
- this.gotoAndStop(11);
- }
- this.TakB.addEventListener("mouseout", fl_MouseOutHandler_4.bind(this));
- function fl_MouseOutHandler_4()
- {
- if(this.currentFrame == 40)
- this.gotoAndStop(11);
- if(this.currentFrame == 41)
- this.gotoAndStop(11);
- if(this.currentFrame == 42)
- this.gotoAndStop(11);
- if(this.currentFrame == 43)
- this.gotoAndStop(11);
- if(this.currentFrame == 44)
- this.gotoAndStop(11);
- if(this.currentFrame == 45)
- this.gotoAndStop(11);
- }
- this.TakDB.addEventListener("mouseout", fl_MouseOutHandler_5.bind(this));
- function fl_MouseOutHandler_5()
- {
- if(this.currentFrame == 50)
- this.gotoAndStop(11);
- if(this.currentFrame == 51)
- this.gotoAndStop(11);
- if(this.currentFrame == 52)
- this.gotoAndStop(11);
- if(this.currentFrame == 53)
- this.gotoAndStop(11);
- if(this.currentFrame == 54)
- this.gotoAndStop(11);
- if(this.currentFrame == 55)
- this.gotoAndStop(11);
- }
- this.VARB.addEventListener("mouseout", fl_MouseOutHandler_6.bind(this));
- function fl_MouseOutHandler_6()
- {
- if(this.currentFrame == 60)
- this.gotoAndStop(11);
- if(this.currentFrame == 61)
- this.gotoAndStop(11);
- if(this.currentFrame == 62)
- this.gotoAndStop(11);
- if(this.currentFrame == 63)
- this.gotoAndStop(11);
- if(this.currentFrame == 64)
- this.gotoAndStop(11);
- if(this.currentFrame == 65)
- this.gotoAndStop(11);
- }
- this.UtKledningB.addEventListener("mouseout", fl_MouseOutHandler_7.bind(this));
- function fl_MouseOutHandler_7()
- {
- if(this.currentFrame == 70)
- this.gotoAndStop(11);
- if(this.currentFrame == 71)
- this.gotoAndStop(11);
- if(this.currentFrame == 72)
- this.gotoAndStop(11);
- if(this.currentFrame == 73)
- this.gotoAndStop(11);
- if(this.currentFrame == 74)
- this.gotoAndStop(11);
- if(this.currentFrame == 75)
- this.gotoAndStop(11);
- }
- this.ForvaltningB.addEventListener("mouseout", fl_MouseOutHandler_8.bind(this));
- function fl_MouseOutHandler_8()
- {
- if(this.currentFrame == 80)
- this.gotoAndStop(11);
- if(this.currentFrame == 81)
- this.gotoAndStop(11);
- if(this.currentFrame == 82)
- this.gotoAndStop(11);
- if(this.currentFrame == 83)
- this.gotoAndStop(11);
- if(this.currentFrame == 84)
- this.gotoAndStop(11);
- if(this.currentFrame == 85)
- this.gotoAndStop(11);
- }
- this.DokB.addEventListener("mouseout", fl_MouseOutHandler_9.bind(this));
- function fl_MouseOutHandler_9()
- {
- if(this.currentFrame == 90)
- this.gotoAndStop(11);
- if(this.currentFrame == 91)
- this.gotoAndStop(11);
- if(this.currentFrame == 92)
- this.gotoAndStop(11);
- if(this.currentFrame == 93)
- this.gotoAndStop(11);
- if(this.currentFrame == 94)
- this.gotoAndStop(11);
- if(this.currentFrame == 95)
- this.gotoAndStop(11);
- }
- this.ByggforskB.addEventListener("mouseout", fl_MouseOutHandler_10.bind(this));
- function fl_MouseOutHandler_10()
- {
- if(this.currentFrame == 100)
- this.gotoAndStop(11);
- if(this.currentFrame == 101)
- this.gotoAndStop(11);
- if(this.currentFrame == 102)
- this.gotoAndStop(11);
- if(this.currentFrame == 103)
- this.gotoAndStop(11);
- if(this.currentFrame == 104)
- this.gotoAndStop(11);
- if(this.currentFrame == 105)
- this.gotoAndStop(11);
- }
- }
- this.frame_11 = function() {
- this.stop();
- this.KomTakB.addEventListener("click", fl_MouseClickHandler_5.bind(this));
- function fl_MouseClickHandler_5()
- {
- if(this.currentFrame == 11)
- this.gotoAndPlay(20);
- if(this.currentFrame == 25)
- this.gotoAndStop(26);
- if(this.currentFrame == 35)
- this.gotoAndPlay(20);
- if(this.currentFrame == 45)
- this.gotoAndPlay(20);
- if(this.currentFrame == 55)
- this.gotoAndPlay(20);
- if(this.currentFrame == 65)
- this.gotoAndPlay(20);
- if(this.currentFrame == 75)
- this.gotoAndPlay(20);
- if(this.currentFrame == 85)
- this.gotoAndPlay(20);
- if(this.currentFrame == 95)
- this.gotoAndPlay(20);
- }
- this.SkredB.addEventListener("click", fl_MouseClickHandler_7.bind(this));
- function fl_MouseClickHandler_7()
- {
- if(this.currentFrame == 11)
- this.gotoAndPlay(30);
- if(this.currentFrame == 35)
- this.gotoAndStop(36);
- if(this.currentFrame == 25)
- this.gotoAndPlay(30);
- if(this.currentFrame == 45)
- this.gotoAndPlay(30);
- if(this.currentFrame == 55)
- this.gotoAndPlay(30);
- if(this.currentFrame == 65)
- this.gotoAndPlay(30);
- if(this.currentFrame == 75)
- this.gotoAndPlay(30);
- if(this.currentFrame == 85)
- this.gotoAndPlay(30);
- if(this.currentFrame == 95)
- this.gotoAndPlay(30);
- }
- this.TakB.addEventListener("click", fl_MouseClickHandler_8.bind(this));
- function fl_MouseClickHandler_8()
- {
- if(this.currentFrame == 11)
- this.gotoAndPlay(40);
- if(this.currentFrame == 45)
- this.gotoAndStop(46);
- if(this.currentFrame == 35)
- this.gotoAndPlay(40);
- if(this.currentFrame == 25)
- this.gotoAndPlay(40);
- if(this.currentFrame == 55)
- this.gotoAndPlay(40);
- if(this.currentFrame == 65)
- this.gotoAndPlay(40);
- if(this.currentFrame == 75)
- this.gotoAndPlay(40);
- if(this.currentFrame == 85)
- this.gotoAndPlay(40);
- if(this.currentFrame == 95)
- this.gotoAndPlay(40);
- }
- this.TakDB.addEventListener("click", fl_MouseClickHandler_9.bind(this));
- function fl_MouseClickHandler_9()
- {
- if(this.currentFrame == 11)
- this.gotoAndPlay(50);
- if(this.currentFrame == 55)
- this.gotoAndStop(56);
- if(this.currentFrame == 35)
- this.gotoAndPlay(50);
- if(this.currentFrame == 45)
- this.gotoAndPlay(50);
- if(this.currentFrame == 25)
- this.gotoAndPlay(50);
- if(this.currentFrame == 65)
- this.gotoAndPlay(50);
- if(this.currentFrame == 75)
- this.gotoAndPlay(50);
- if(this.currentFrame == 85)
- this.gotoAndPlay(50);
- if(this.currentFrame == 95)
- this.gotoAndPlay(50);
- }
- this.VARB.addEventListener("click", fl_MouseClickHandler_10.bind(this));
- function fl_MouseClickHandler_10()
- {
- if(this.currentFrame == 11)
- this.gotoAndPlay(60);
- if(this.currentFrame == 65)
- this.gotoAndStop(66);
- if(this.currentFrame == 35)
- this.gotoAndPlay(60);
- if(this.currentFrame == 45)
- this.gotoAndPlay(60);
- if(this.currentFrame == 55)
- this.gotoAndPlay(60);
- if(this.currentFrame == 25)
- this.gotoAndPlay(60);
- if(this.currentFrame == 75)
- this.gotoAndPlay(60);
- if(this.currentFrame == 85)
- this.gotoAndPlay(60);
- if(this.currentFrame == 95)
- this.gotoAndPlay(60);
- }
- this.UtKledningB.addEventListener("click", fl_MouseClickHandler_11.bind(this));
- function fl_MouseClickHandler_11()
- {
- if(this.currentFrame == 11)
- this.gotoAndPlay(70);
- if(this.currentFrame == 75)
- this.gotoAndStop(76);
- if(this.currentFrame == 35)
- this.gotoAndPlay(70);
- if(this.currentFrame == 45)
- this.gotoAndPlay(70);
- if(this.currentFrame == 55)
- this.gotoAndPlay(70);
- if(this.currentFrame == 65)
- this.gotoAndPlay(70);
- if(this.currentFrame == 25)
- this.gotoAndPlay(70);
- if(this.currentFrame == 85)
- this.gotoAndPlay(70);
- if(this.currentFrame == 95)
- this.gotoAndPlay(70);
- }
- this.ForvaltningB.addEventListener("click", fl_MouseClickHandler_12.bind(this));
- function fl_MouseClickHandler_12()
- {
- if(this.currentFrame == 11)
- this.gotoAndPlay(80);
- if(this.currentFrame == 85)
- this.gotoAndStop(86);
- if(this.currentFrame == 35)
- this.gotoAndPlay(80);
- if(this.currentFrame == 45)
- this.gotoAndPlay(80);
- if(this.currentFrame == 55)
- this.gotoAndPlay(80);
- if(this.currentFrame == 65)
- this.gotoAndPlay(80);
- if(this.currentFrame == 75)
- this.gotoAndPlay(80);
- if(this.currentFrame == 25)
- this.gotoAndPlay(80);
- if(this.currentFrame == 95)
- this.gotoAndPlay(80);
- }
- this.DokB.addEventListener("click", fl_MouseClickHandler_13.bind(this));
- function fl_MouseClickHandler_13()
- {
- if(this.currentFrame == 11)
- this.gotoAndPlay(90);
- if(this.currentFrame == 95)
- this.gotoAndStop(96);
- if(this.currentFrame == 35)
- this.gotoAndPlay(90);
- if(this.currentFrame == 45)
- this.gotoAndPlay(90);
- if(this.currentFrame == 55)
- this.gotoAndPlay(90);
- if(this.currentFrame == 65)
- this.gotoAndPlay(90);
- if(this.currentFrame == 75)
- this.gotoAndPlay(90);
- if(this.currentFrame == 85)
- this.gotoAndPlay(90);
- if(this.currentFrame == 25)
- this.gotoAndPlay(90);
- }
- this.ByggforskB.addEventListener("click", fl_MouseClickHandler_14.bind(this));
- function fl_MouseClickHandler_14()
- {
- if(this.currentFrame == 11)
- this.gotoAndPlay(100);
- if(this.currentFrame == 105)
- this.gotoAndStop(106);
- if(this.currentFrame == 35)
- this.gotoAndPlay(100);
- if(this.currentFrame == 45)
- this.gotoAndPlay(100);
- if(this.currentFrame == 55)
- this.gotoAndPlay(100);
- if(this.currentFrame == 65)
- this.gotoAndPlay(100);
- if(this.currentFrame == 75)
- this.gotoAndPlay(100);
- if(this.currentFrame == 85)
- this.gotoAndPlay(100);
- if(this.currentFrame == 25)
- this.gotoAndPlay(100);
- if(this.currentFrame == 95)
- this.gotoAndPlay(100);
- }
- }
- this.frame_25 = function() {
- this.stop();
- }
- this.frame_26 = function() {
- this.KTL1.addEventListener("click", fl_ClickToGoToWebPage);
- function fl_ClickToGoToWebPage() {
- window.open("http://www.urbaneuterom.no", "_blank");
- }
- this.KTL2.addEventListener("click", fl_ClickToGoToWebPage_2);
- function fl_ClickToGoToWebPage_2() {
- window.open("http://www.klima2050.no/z4_upgrading-to-bluegreen-roofs", "_blank");
- }
- }
- this.frame_35 = function() {
- this.stop();
- }
- this.frame_36 = function() {
- this.SLB1.addEventListener("click", fl_ClickToGoToWebPage_3);
- function fl_ClickToGoToWebPage_3() {
- window.open("http://www.klima2050.no/z9_larimit", "_blank");
- }
- this.SLB2.addEventListener("click", fl_ClickToGoToWebPage_999);
- function fl_ClickToGoToWebPage_999() {
- window.open("http://www.klima2050.no/z10_earlywarning-landslides", "_blank");
- }
- this.SLB3.addEventListener("click", fl_ClickToGoToWebPage_888);
- function fl_ClickToGoToWebPage_888() {
- window.open("http://www.klima2050.no/z11_framework-climaterisks", "_blank");
- }
- }
- this.frame_45 = function() {
- this.stop();
- }
- this.frame_46 = function() {
- this.K2050L1.addEventListener("click", fl_ClickToGoToWebPage_4);
- function fl_ClickToGoToWebPage_4() {
- window.open("http://www.klima2050.no/z1-roof-convection-barrier", "_blank");
- }
- }
- this.frame_55 = function() {
- this.stop();
- }
- this.frame_56 = function() {
- this.K2050L2.addEventListener("click", fl_ClickToGoToWebPage_5);
- function fl_ClickToGoToWebPage_5() {
- window.open("http://www.klima2050.no/z2_roof-air-gap-design", "_blank");
- }
- }
- this.frame_65 = function() {
- this.stop();
- }
- this.frame_66 = function() {
- this.OvaseButton.addEventListener("click", fl_ClickToGoToWebPage_6);
- function fl_ClickToGoToWebPage_6() {
- window.open("https://ovase.no", "_blank");
- }
- }
- this.frame_75 = function() {
- this.stop();
- }
- this.frame_76 = function() {
- this.K2050L4.addEventListener("click", fl_ClickToGoToWebPage_7);
- function fl_ClickToGoToWebPage_7() {
- window.open("http://www.klima2050.no/z3_brick-masonry", "_blank");
- }
- }
- this.frame_85 = function() {
- this.stop();
- }
- this.frame_86 = function() {
- this.K2050L5.addEventListener("click", fl_ClickToGoToWebPage_8);
- function fl_ClickToGoToWebPage_8() {
- window.open("http://www.klima2050.no/z5_climate-adaptation-network", "_blank");
- }
- }
- this.frame_95 = function() {
- this.stop();
- }
- this.frame_96 = function() {
- this.DK1Btn.addEventListener("click", fl_ClickToGoToWebPage_10);
- function fl_ClickToGoToWebPage_10() {
- window.open("http://www.klima2050.no/z6_identified-barriers", "_blank");
- }
- this.DK2Btn.addEventListener("click", fl_ClickToGoToWebPage_11);
- function fl_ClickToGoToWebPage_11() {
- window.open("http://www.klima2050.no/z7_guidance-documents", "_blank");
- }
- this.DK3Btn.addEventListener("click", fl_ClickToGoToWebPage_12);
- function fl_ClickToGoToWebPage_12() {
- window.open("http://www.klima2050.no/z8_sharing-loss-data", "_blank");
- }
- }
- this.frame_105 = function() {
- this.stop();
- }
- this.frame_106 = function() {
- this.ByggforskLinkBtn.addEventListener("click", fl_ClickToGoToWebPage_13);
- function fl_ClickToGoToWebPage_13() {
- window.open("http://www.klima2050.no/byggforskserien", "_blank");
- }
- }
- // actions tween:
- 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));
- // ExitBtn
- this.Exit = new lib.ExitButton_1();
- this.Exit.name = "Exit";
- this.Exit.setTransform(587.25,19.15,0.5,0.5,0,0,0,24.5,24.3);
- this.Exit._off = true;
- new cjs.ButtonHelper(this.Exit, 0, 1, 1);
- 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));
- // Text_Link
- this.KTL2 = new lib.KomTakLinkBtn2();
- this.KTL2.name = "KTL2";
- this.KTL2.setTransform(404.75,169.5,0.5,0.5,0,0,0,287.5,25);
- new cjs.ButtonHelper(this.KTL2, 0, 1, 1);
- this.KTL1 = new lib.KomTakLinkBtn1();
- this.KTL1.name = "KTL1";
- this.KTL1.setTransform(396.5,123.75,0.5,0.5,0,0,0,271,24.5);
- new cjs.ButtonHelper(this.KTL1, 0, 1, 1);
- this.SLB3 = new lib.SkredLinkBtn3();
- this.SLB3.name = "SLB3";
- this.SLB3.setTransform(419.4,238.85,0.4005,0.3966,0,0,0,393,51.3);
- new cjs.ButtonHelper(this.SLB3, 0, 1, 1);
- this.SLB2 = new lib.SkredLinkBtn2();
- this.SLB2.name = "SLB2";
- this.SLB2.setTransform(262.95,152.8,0.3997,0.3958,0,0,0,0.9,0.7);
- new cjs.ButtonHelper(this.SLB2, 0, 1, 1);
- this.SLB1 = new lib.SkredLinkbtn1();
- this.SLB1.name = "SLB1";
- this.SLB1.setTransform(374.85,109.9,0.4026,0.399,0,0,0,280.4,60.6);
- new cjs.ButtonHelper(this.SLB1, 0, 1, 1);
- this.K2050L1 = new lib.Klima2050Link1();
- this.K2050L1.name = "K2050L1";
- this.K2050L1.setTransform(362.5,415,0.5,0.5,0,0,0,51,24);
- new cjs.ButtonHelper(this.K2050L1, 0, 1, 1);
- this.K2050L2 = new lib.Klima2050Link2();
- this.K2050L2.name = "K2050L2";
- this.K2050L2.setTransform(360,371.45,0.5,0.5,0,0,0,51,24.1);
- new cjs.ButtonHelper(this.K2050L2, 0, 1, 1);
- this.K2050L4 = new lib.Klima2050Link4();
- this.K2050L4.name = "K2050L4";
- this.K2050L4.setTransform(364,427,0.5,0.5,0,0,0,51,24);
- new cjs.ButtonHelper(this.K2050L4, 0, 1, 1);
- this.K2050L5 = new lib.Klima2050Link5();
- this.K2050L5.name = "K2050L5";
- this.K2050L5.setTransform(359.5,463.3,0.5,0.5,0,0,0,51,24);
- new cjs.ButtonHelper(this.K2050L5, 0, 1, 1);
- this.DK3Btn = new lib.DokLink3Btn();
- this.DK3Btn.name = "DK3Btn";
- this.DK3Btn.setTransform(345,196.8,1,1,0,0,0,96,11.8);
- new cjs.ButtonHelper(this.DK3Btn, 0, 1, 1);
- this.DK2Btn = new lib.DokLink2Btn();
- this.DK2Btn.name = "DK2Btn";
- this.DK2Btn.setTransform(352,149.8,1,1,0,0,0,103,10.8);
- new cjs.ButtonHelper(this.DK2Btn, 0, 1, 1);
- this.DK1Btn = new lib.DokLink1Btn();
- this.DK1Btn.name = "DK1Btn";
- this.DK1Btn.setTransform(337.65,103.3,1,1,0,0,0,88.5,10.1);
- new cjs.ButtonHelper(this.DK1Btn, 0, 1, 1);
- this.ByggforskLinkBtn = new lib.ByggforskLink();
- this.ByggforskLinkBtn.name = "ByggforskLinkBtn";
- this.ByggforskLinkBtn.setTransform(460.6,306.9,0.4706,0.4687,0,0,0,51,24.3);
- new cjs.ButtonHelper(this.ByggforskLinkBtn, 0, 1, 1);
- 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));
- // ByggforskText
- this.Byggforsk_TF = new lib.ByggforskTF();
- this.Byggforsk_TF.name = "Byggforsk_TF";
- this.Byggforsk_TF.setTransform(400,257,1,1,0,0,0,200,250);
- this.Byggforsk_TF._off = true;
- this.timeline.addTween(cjs.Tween.get(this.Byggforsk_TF).wait(106).to({_off:false},0).to({_off:true},3).wait(91));
- // DokumentasjonText
- this.D_TF = new lib.DokTF();
- this.D_TF.name = "D_TF";
- this.D_TF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
- this.D_TF._off = true;
- this.timeline.addTween(cjs.Tween.get(this.D_TF).wait(96).to({_off:false},0).to({_off:true},3).wait(101));
- // ForvaltningText
- this.FTF = new lib.ForvaltningTF();
- this.FTF.name = "FTF";
- this.FTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
- this.FTF._off = true;
- this.timeline.addTween(cjs.Tween.get(this.FTF).wait(86).to({_off:false},0).to({_off:true},3).wait(111));
- // UtKledningText
- this.UTKTF = new lib.UtKledningTF();
- this.UTKTF.name = "UTKTF";
- this.UTKTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
- this.UTKTF._off = true;
- this.timeline.addTween(cjs.Tween.get(this.UTKTF).wait(76).to({_off:false},0).to({_off:true},3).wait(121));
- // VARText
- this.OvaseButton = new lib.OvaseLogo();
- this.OvaseButton.name = "OvaseButton";
- this.OvaseButton.setTransform(391,383.5,0.5,0.5,0,0,0,175,175);
- new cjs.ButtonHelper(this.OvaseButton, 0, 1, 1);
- this.VARTF = new lib.VARTextFrame();
- this.VARTF.name = "VARTF";
- this.VARTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[]}).to({state:[{t:this.VARTF},{t:this.OvaseButton}]},66).to({state:[]},3).wait(131));
- // TakDekkingText
- this.TakDTF = new lib.TakDekkingTextFrame();
- this.TakDTF.name = "TakDTF";
- this.TakDTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
- this.TakDTF._off = true;
- this.timeline.addTween(cjs.Tween.get(this.TakDTF).wait(56).to({_off:false},0).to({_off:true},3).wait(141));
- // TakText
- this.TakTF = new lib.TakTextFrame();
- this.TakTF.name = "TakTF";
- this.TakTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
- this.TakTF._off = true;
- this.timeline.addTween(cjs.Tween.get(this.TakTF).wait(46).to({_off:false},0).to({_off:true},3).wait(151));
- // SkredText
- this.SkredTF = new lib.SkredTextFrame();
- this.SkredTF.name = "SkredTF";
- this.SkredTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
- this.SkredTF._off = true;
- this.timeline.addTween(cjs.Tween.get(this.SkredTF).wait(36).to({_off:false},0).to({_off:true},3).wait(161));
- // KompakteTakText
- this.KomTakTF = new lib.KomTakTextFrame();
- this.KomTakTF.name = "KomTakTF";
- this.KomTakTF.setTransform(399.5,257,0.5,0.5,0,0,0,400,500);
- this.KomTakTF._off = true;
- this.timeline.addTween(cjs.Tween.get(this.KomTakTF).wait(26).to({_off:false},0).to({_off:true},3).wait(171));
- // ByggforskLbl
- this.ByggforskL = new lib.ByggforskLabel();
- this.ByggforskL.name = "ByggforskL";
- this.ByggforskL.setTransform(106,39.8,1,1,0,0,0,50,13.8);
- this.ByggforskL.alpha = 0;
- this.ByggforskL._off = true;
- this.timeline.addTween(cjs.Tween.get(this.ByggforskL).wait(100).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(91));
- // ByggforskButton
- this.ByggforskB = new lib.ByggforskBtn();
- this.ByggforskB.name = "ByggforskB";
- this.ByggforskB.setTransform(134.3,121.05,1,1,0,0,0,28.8,28.8);
- this.ByggforskB._off = true;
- new cjs.ButtonHelper(this.ByggforskB, 0, 1, 1);
- 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));
- // DokumentasjonLbl
- this.DokL = new lib.DokLabel();
- this.DokL.name = "DokL";
- this.DokL.setTransform(293,126.75,0.5,0.5,0,0,0,100,25.4);
- this.DokL.alpha = 0;
- this.DokL._off = true;
- this.timeline.addTween(cjs.Tween.get(this.DokL).wait(90).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(101));
- // DokumentasjonButton
- this.DokB = new lib.DokBtn();
- this.DokB.name = "DokB";
- this.DokB.setTransform(322,208.65,0.5,0.4996,0,0,0,57.5,57.1);
- this.DokB._off = true;
- new cjs.ButtonHelper(this.DokB, 0, 1, 1);
- 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));
- // ForvaltningLbl
- this.ForvaltningL = new lib.ForvaltningLabel();
- this.ForvaltningL.name = "ForvaltningL";
- this.ForvaltningL.setTransform(65.3,415.5,0.5,0.5,0,0,0,100.1,25.4);
- this.ForvaltningL.alpha = 0;
- this.ForvaltningL._off = true;
- 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));
- // ForvaltningButton
- this.ForvaltningB = new lib.ForvaltningBtn();
- this.ForvaltningB.name = "ForvaltningB";
- this.ForvaltningB.setTransform(93.8,497.5,0.5,0.5,0,0,0,57.6,57.1);
- this.ForvaltningB._off = true;
- new cjs.ButtonHelper(this.ForvaltningB, 0, 1, 1);
- 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));
- // UtKledningLbl
- this.UtKledningL = new lib.UtKledningLabel();
- this.UtKledningL.name = "UtKledningL";
- this.UtKledningL.setTransform(528.75,243.55,0.5,0.5,0,0,0,100.1,25.4);
- this.UtKledningL.alpha = 0;
- this.UtKledningL._off = true;
- this.timeline.addTween(cjs.Tween.get(this.UtKledningL).wait(70).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(121));
- // UtKledningButton
- this.UtKledningB = new lib.UtKledningBtn();
- this.UtKledningB.name = "UtKledningB";
- this.UtKledningB.setTransform(529,293.55,0.5,0.5,0,0,0,0.1,0);
- this.UtKledningB._off = true;
- new cjs.ButtonHelper(this.UtKledningB, 0, 1, 1);
- 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));
- // VARLbl
- this.VARL = new lib.VARLabel();
- this.VARL.name = "VARL";
- this.VARL.setTransform(78.5,301.2,0.5,0.5,0,0,0,100,25.4);
- this.VARL.alpha = 0;
- this.VARL._off = true;
- 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));
- // VARButton
- this.VARB = new lib.VARBtn();
- this.VARB.name = "VARB";
- this.VARB.setTransform(107.75,385.9,0.5,0.5,0,0,0,57.5,57);
- this.VARB._off = true;
- new cjs.ButtonHelper(this.VARB, 0, 1, 1);
- 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));
- // TakDekkingLbl
- this.TakDL = new lib.TakDekkingLabel();
- this.TakDL.name = "TakDL";
- this.TakDL.setTransform(232.5,243.7,0.5,0.5,0,0,0,100,25.4);
- this.TakDL.alpha = 0;
- this.TakDL._off = true;
- this.timeline.addTween(cjs.Tween.get(this.TakDL).wait(50).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(141));
- // TakDekkingButton
- this.TakDB = new lib.TakDekBtn();
- this.TakDB.name = "TakDB";
- this.TakDB.setTransform(264.5,329.3,0.5,0.5,0,0,0,57.5,57.1);
- this.TakDB._off = true;
- new cjs.ButtonHelper(this.TakDB, 0, 1, 1);
- 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));
- // TakLbl
- this.TakL = new lib.TakLabel();
- this.TakL.name = "TakL";
- this.TakL.setTransform(332.5,300.7,0.5,0.5,0,0,0,100,25.4);
- this.TakL.alpha = 0;
- this.TakL._off = true;
- this.timeline.addTween(cjs.Tween.get(this.TakL).wait(40).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(151));
- // TakButton
- this.TakB = new lib.TakBtn();
- this.TakB.name = "TakB";
- this.TakB.setTransform(361.95,385.4,0.5,0.5,0,0,0,57.6,57.1);
- this.TakB._off = true;
- new cjs.ButtonHelper(this.TakB, 0, 1, 1);
- 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));
- // SkredLbl
- this.SkredL = new lib.SkredLabel();
- this.SkredL.name = "SkredL";
- this.SkredL.setTransform(363.5,415.7,0.5,0.5,0,0,0,100,25.4);
- this.SkredL.alpha = 0;
- this.SkredL._off = true;
- this.timeline.addTween(cjs.Tween.get(this.SkredL).wait(30).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(161));
- // SkredButton
- this.SkredB = new lib.SkredBtn();
- this.SkredB.name = "SkredB";
- this.SkredB.setTransform(392.25,498,0.5,0.5,0,0,0,57.5,57.1);
- this.SkredB._off = true;
- new cjs.ButtonHelper(this.SkredB, 0, 1, 1);
- 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));
- // KompakteTakLbl
- this.KomTakL = new lib.KomTakLabel();
- this.KomTakL.name = "KomTakL";
- this.KomTakL.setTransform(690,233.7,0.5,0.5,0,0,0,100,25.4);
- this.KomTakL.alpha = 0;
- this.KomTakL._off = true;
- this.timeline.addTween(cjs.Tween.get(this.KomTakL).wait(20).to({_off:false},0).to({alpha:1},5).to({_off:true},4).wait(171));
- // KompakteTakButton
- this.KomTakB = new lib.KomTakBtn();
- this.KomTakB.name = "KomTakB";
- this.KomTakB.setTransform(718.4,313.4,0.5,0.4998,0,0,0,57.6,57.1);
- this.KomTakB._off = true;
- new cjs.ButtonHelper(this.KomTakB, 0, 1, 1);
- 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));
- // Layer_1
- this.StartBtn = new lib.Start();
- this.StartBtn.name = "StartBtn";
- this.StartBtn.setTransform(400,310.75,0.5,0.5,0,0,0,203,51.5);
- new cjs.ButtonHelper(this.StartBtn, 0, 1, 1);
- this.instance = new lib.Tut();
- this.instance.setTransform(587.5,407.25,0.5,0.5,0,0,0,625,500);
- this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance},{t:this.StartBtn}]}).to({state:[]},11).wait(189));
- // Background
- this.instance_1 = new lib.MasterfigurKlima2050_20150318();
- this.instance_1.setTransform(0,0,0.2519,0.2517);
- this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(200));
- this._renderFirstFrame();
- }).prototype = p = new cjs.MovieClip();
- p.nominalBounds = new cjs.Rectangle(400,257.5,400,257);
- // library properties:
- lib.properties = {
- id: '12A4092B2735D445B72D12DE68D30F73',
- width: 800,
- height: 515,
- fps: 30,
- color: "#FFFFFF",
- opacity: 1.00,
- manifest: [
- {src:"images/Dok_av_eksisterende_bygninger.jpg", id:"Dok_av_eksisterende_bygninger"},
- {src:"images/Forvaltning_av_exsisterende_Bygninger.jpg", id:"Forvaltning_av_exsisterende_Bygninger"},
- {src:"images/Kompakte_Tak_OgTerasser.jpg", id:"Kompakte_Tak_OgTerasser"},
- {src:"images/MasterfigurKlima2050_20150318.jpg", id:"MasterfigurKlima2050_20150318"},
- {src:"images/Skred.jpg", id:"Skred"},
- {src:"images/Tak.jpg", id:"Tak"},
- {src:"images/Tak_fig_20171218.jpg", id:"Tak_fig_20171218"},
- {src:"images/Taktekking.jpg", id:"Taktekking"},
- {src:"images/Utvendig_Kledning.jpg", id:"Utvendig_Kledning"},
- {src:"images/VAR_Anlegg.jpg", id:"VAR_Anlegg"},
- {src:"images/ResultatFramstilling_HTML5_Eng_atlas_.png", id:"ResultatFramstilling_HTML5_Eng_atlas_"},
- {src:"images/ResultatFramstilling_HTML5_Eng_atlas_2.png", id:"ResultatFramstilling_HTML5_Eng_atlas_2"},
- {src:"images/ResultatFramstilling_HTML5_Eng_atlas_3.png", id:"ResultatFramstilling_HTML5_Eng_atlas_3"},
- {src:"images/ResultatFramstilling_HTML5_Eng_atlas_4.png", id:"ResultatFramstilling_HTML5_Eng_atlas_4"},
- {src:"images/ResultatFramstilling_HTML5_Eng_atlas_5.png", id:"ResultatFramstilling_HTML5_Eng_atlas_5"},
- {src:"images/ResultatFramstilling_HTML5_Eng_atlas_6.png", id:"ResultatFramstilling_HTML5_Eng_atlas_6"},
- {src:"images/ResultatFramstilling_HTML5_Eng_atlas_7.png", id:"ResultatFramstilling_HTML5_Eng_atlas_7"},
- {src:"images/ResultatFramstilling_HTML5_Eng_atlas_8.png", id:"ResultatFramstilling_HTML5_Eng_atlas_8"},
- {src:"images/ResultatFramstilling_HTML5_Eng_atlas_9.png", id:"ResultatFramstilling_HTML5_Eng_atlas_9"},
- {src:"images/ResultatFramstilling_HTML5_Eng_atlas_10.png", id:"ResultatFramstilling_HTML5_Eng_atlas_10"},
- {src:"images/ResultatFramstilling_HTML5_Eng_atlas_11.png", id:"ResultatFramstilling_HTML5_Eng_atlas_11"},
- {src:"images/ResultatFramstilling_HTML5_Eng_atlas_12.png", id:"ResultatFramstilling_HTML5_Eng_atlas_12"},
- {src:"images/ResultatFramstilling_HTML5_Eng_atlas_13.png", id:"ResultatFramstilling_HTML5_Eng_atlas_13"}
- ],
- preloads: []
- };
- // bootstrap callback support:
- (lib.Stage = function(canvas) {
- createjs.Stage.call(this, canvas);
- }).prototype = p = new createjs.StageGL();
- p.setAutoPlay = function(autoPlay) {
- this.tickEnabled = autoPlay;
- }
- p.play = function() { this.tickEnabled = true; this.getChildAt(0).gotoAndPlay(this.getTimelinePosition()) }
- p.stop = function(ms) { if(ms) this.seek(ms); this.tickEnabled = false; }
- p.seek = function(ms) { this.tickEnabled = true; this.getChildAt(0).gotoAndStop(lib.properties.fps * ms / 1000); }
- p.getDuration = function() { return this.getChildAt(0).totalFrames / lib.properties.fps * 1000; }
- p.getTimelinePosition = function() { return this.getChildAt(0).currentFrame / lib.properties.fps * 1000; }
- an.bootcompsLoaded = an.bootcompsLoaded || [];
- if(!an.bootstrapListeners) {
- an.bootstrapListeners=[];
- }
- an.bootstrapCallback=function(fnCallback) {
- an.bootstrapListeners.push(fnCallback);
- if(an.bootcompsLoaded.length > 0) {
- for(var i=0; i<an.bootcompsLoaded.length; ++i) {
- fnCallback(an.bootcompsLoaded[i]);
- }
- }
- };
- an.compositions = an.compositions || {};
- an.compositions['12A4092B2735D445B72D12DE68D30F73'] = {
- getStage: function() { return exportRoot.stage; },
- getLibrary: function() { return lib; },
- getSpriteSheet: function() { return ss; },
- getImages: function() { return img; }
- };
- an.compositionLoaded = function(id) {
- an.bootcompsLoaded.push(id);
- for(var j=0; j<an.bootstrapListeners.length; j++) {
- an.bootstrapListeners[j](id);
- }
- }
- an.getComposition = function(id) {
- return an.compositions[id];
- }
- an.makeResponsive = function(isResp, respDim, isScale, scaleType, domContainers) {
- var lastW, lastH, lastS=1;
- window.addEventListener('resize', resizeCanvas);
- resizeCanvas();
- function resizeCanvas() {
- var w = lib.properties.width, h = lib.properties.height;
- var iw = window.innerWidth, ih=window.innerHeight;
- var pRatio = window.devicePixelRatio || 1, xRatio=iw/w, yRatio=ih/h, sRatio=1;
- if(isResp) {
- if((respDim=='width'&&lastW==iw) || (respDim=='height'&&lastH==ih)) {
- sRatio = lastS;
- }
- else if(!isScale) {
- if(iw<w || ih<h)
- sRatio = Math.min(xRatio, yRatio);
- }
- else if(scaleType==1) {
- sRatio = Math.min(xRatio, yRatio);
- }
- else if(scaleType==2) {
- sRatio = Math.max(xRatio, yRatio);
- }
- }
- domContainers[0].width = w * pRatio * sRatio;
- domContainers[0].height = h * pRatio * sRatio;
- domContainers.forEach(function(container) {
- container.style.width = w * sRatio + 'px';
- container.style.height = h * sRatio + 'px';
- });
- stage.scaleX = pRatio*sRatio;
- stage.scaleY = pRatio*sRatio;
- lastW = iw; lastH = ih; lastS = sRatio;
- stage.tickOnUpdate = false;
- stage.update();
- stage.tickOnUpdate = true;
- }
- }
- })(createjs = createjs||{}, AdobeAn = AdobeAn||{});
- var createjs, AdobeAn;
- </script>
- <script>
- var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation;
- function init() {
- canvas = document.getElementById("canvas");
- anim_container = document.getElementById("animation_container");
- dom_overlay_container = document.getElementById("dom_overlay_container");
- var comp=AdobeAn.getComposition("12A4092B2735D445B72D12DE68D30F73");
- var lib=comp.getLibrary();
- var loader = new createjs.LoadQueue(false);
- loader.addEventListener("fileload", function(evt){handleFileLoad(evt,comp)});
- loader.addEventListener("complete", function(evt){handleComplete(evt,comp)});
- var lib=comp.getLibrary();
- loader.loadManifest(lib.properties.manifest);
- }
- function handleFileLoad(evt, comp) {
- var images=comp.getImages();
- if (evt && (evt.item.type == "image")) { images[evt.item.id] = evt.result; }
- }
- function handleComplete(evt,comp) {
- //This function is always called, irrespective of the content. You can use the variable "stage" after it is created in token create_stage.
- var lib=comp.getLibrary();
- var ss=comp.getSpriteSheet();
- var queue = evt.target;
- var ssMetadata = lib.ssMetadata;
- for(i=0; i<ssMetadata.length; i++) {
- ss[ssMetadata[i].name] = new createjs.SpriteSheet( {"images": [queue.getResult(ssMetadata[i].name)], "frames": ssMetadata[i].frames} )
- }
- exportRoot = new lib.ResultatFramstilling_HTML5_Eng();
- stage = new lib.Stage(canvas);
- stage.enableMouseOver();
- //Registers the "tick" event listener.
- fnStartAnimation = function() {
- stage.addChild(exportRoot);
- createjs.Ticker.framerate = lib.properties.fps;
- createjs.Ticker.addEventListener("tick", stage);
- }
- //Code to support hidpi screens and responsive scaling.
- AdobeAn.makeResponsive(false,'both',false,1,[canvas,anim_container,dom_overlay_container]);
- AdobeAn.compositionLoaded(lib.properties.id);
- fnStartAnimation();
- }
- </script>
- <!-- write your code here -->
- </head>
- <body onload="init();" style="margin:0px;">
- <div id="animation_container" style="background-color:rgba(255, 255, 255, 1.00); width:800px; height:515px">
- <canvas id="canvas" width="800" height="515" style="position: absolute; display: block; background-color:rgba(255, 255, 255, 1.00);"></canvas>
- <div id="dom_overlay_container" style="pointer-events:none; overflow:hidden; width:800px; height:515px; position: absolute; left: 0px; top: 0px; display: block;">
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment