KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/leedan/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/leedan/LD-FinalSlider.js
(function (lib, img, cjs, ss) {

var p; // shortcut to reference prototypes

// library properties:
lib.properties = {
	width: 1000,
	height: 600,
	fps: 24,
	color: "#FFFFFF",
	manifest: []
};



// symbols:



(lib.LPThumb = function() {
	this.spriteSheet = ss["LD_FinalSlider_atlas_"];
	this.gotoAndStop(0);
}).prototype = p = new cjs.Sprite();



(lib.MBThumb = function() {
	this.spriteSheet = ss["LD_FinalSlider_atlas_"];
	this.gotoAndStop(1);
}).prototype = p = new cjs.Sprite();



(lib.NCThumb = function() {
	this.spriteSheet = ss["LD_FinalSlider_atlas_"];
	this.gotoAndStop(2);
}).prototype = p = new cjs.Sprite();



(lib.SliderMainmailboxes = function() {
	this.spriteSheet = ss["LD_FinalSlider_atlas_"];
	this.gotoAndStop(3);
}).prototype = p = new cjs.Sprite();



(lib.SliderMainnc = function() {
	this.spriteSheet = ss["LD_FinalSlider_atlas_"];
	this.gotoAndStop(4);
}).prototype = p = new cjs.Sprite();



(lib.SliderMainPanels = function() {
	this.spriteSheet = ss["LD_FinalSlider_atlas_"];
	this.gotoAndStop(5);
}).prototype = p = new cjs.Sprite();



(lib.SliderMainstations = function() {
	this.spriteSheet = ss["LD_FinalSlider_atlas_"];
	this.gotoAndStop(6);
}).prototype = p = new cjs.Sprite();



(lib.StationThumb = function() {
	this.spriteSheet = ss["LD_FinalSlider_atlas_"];
	this.gotoAndStop(7);
}).prototype = p = new cjs.Sprite();



(lib.StationThumbtn = function() {
	this.initialize();

	// Layer 1
	this.instance = new lib.StationThumb();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,200,200);


(lib.StationBtn = function() {
	this.initialize();

	// Layer 1
	this.instance = new lib.SliderMainstations();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,1000,400);


(lib.NCThumbbtn = function() {
	this.initialize();

	// Layer 1
	this.instance = new lib.NCThumb();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,200,200);


(lib.NCBtn = function() {
	this.initialize();

	// Layer 1
	this.instance = new lib.SliderMainnc();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,1000,400);


(lib.MBThumbbtn = function() {
	this.initialize();

	// Layer 1
	this.instance = new lib.MBThumb();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,200,200);


(lib.MBBtn = function() {
	this.initialize();

	// Layer 1
	this.instance = new lib.SliderMainmailboxes();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,1000,400);


(lib.LPThumbBtn = function() {
	this.initialize();

	// Layer 1
	this.instance = new lib.LPThumb();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,200,200);


(lib.LobbyPanelBtn = function() {
	this.initialize();

	// Layer 1
	this.instance = new lib.SliderMainPanels();

	this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,1000,400);


// stage content:
(lib.LDFinalSlider = function(mode,startPosition,loop) {
	this.initialize(mode,startPosition,loop,{});

	// timeline functions:
	this.frame_0 = function() {
		/* Stop at This Frame
		The  timeline will stop/pause at the frame where you insert this code.
		Can also be used to stop/pause the timeline of movieclips.
		*/
		
		this.stop();
		
		/* Click to Go to Web Page
		Clicking on the specified symbol instance loads the URL in a new browser window.
		
		Instructions:
		1. Replace http://www.adobe.com with the desired URL address.
		   Keep the quotation marks ("").
		*/
		
		this.Lobby_Panels.addEventListener("click", fl_ClickToGoToWebPage);
		
		function fl_ClickToGoToWebPage() {
			window.open("http://www.leedan.com/Lobby%20Panels.html", "_blank");
		}
		
		
		/* Click to Go to Frame and Stop
		Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
		Can be used on the main timeline or on movie clip timelines.
		
		Instructions:
		1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
		2.Frame numbers in EaselJS start at 0 instead of 1
		*/
		
		
		this.LP_Thumb.addEventListener("click", fl_ClickToGoToAndStopAtFrame.bind(this));
		
		function fl_ClickToGoToAndStopAtFrame()
		{
			this.gotoAndStop(0);
		}
		
		
		/* Click to Go to Frame and Stop
		Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
		Can be used on the main timeline or on movie clip timelines.
		
		Instructions:
		1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
		2.Frame numbers in EaselJS start at 0 instead of 1
		*/
		
		
		this.Station_Thumb.addEventListener("click", fl_ClickToGoToAndStopAtFrame_2.bind(this));
		
		function fl_ClickToGoToAndStopAtFrame_2()
		{
			this.gotoAndStop(14);
		}
		
		
		/* Click to Go to Frame and Stop
		Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
		Can be used on the main timeline or on movie clip timelines.
		
		Instructions:
		1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
		2.Frame numbers in EaselJS start at 0 instead of 1
		*/
		
		
		this.MB_Thumb.addEventListener("click", fl_ClickToGoToAndStopAtFrame_3.bind(this));
		
		function fl_ClickToGoToAndStopAtFrame_3()
		{
			this.gotoAndStop(29);
		}
		
		
		
		
		/* Click to Go to Frame and Stop
		Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
		Can be used on the main timeline or on movie clip timelines.
		
		Instructions:
		1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
		2.Frame numbers in EaselJS start at 0 instead of 1
		*/
		
		
		this.NC_Thumb.addEventListener("click", fl_ClickToGoToAndStopAtFrame_4.bind(this));
		
		function fl_ClickToGoToAndStopAtFrame_4()
		{
			this.gotoAndStop(44);
		}
	}
	this.frame_14 = function() {
		/* Click to Go to Web Page
		Clicking on the specified symbol instance loads the URL in a new browser window.
		
		Instructions:
		1. Replace http://www.adobe.com with the desired URL address.
		   Keep the quotation marks ("").
		*/
		
		this.Stations.addEventListener("click", fl_ClickToGoToWebPage_2);
		
		function fl_ClickToGoToWebPage_2() {
			window.open("http://www.leedan.com/Apartment%20Intercom%20Stations.html", "_blank");
		}
	}
	this.frame_29 = function() {
		/* Click to Go to Web Page
		Clicking on the specified symbol instance loads the URL in a new browser window.
		
		Instructions:
		1. Replace http://www.adobe.com with the desired URL address.
		   Keep the quotation marks ("").
		*/
		
		this.Mailboxes.addEventListener("click", fl_ClickToGoToWebPage_3);
		
		function fl_ClickToGoToWebPage_3() {
			window.open("http://www.leedan.com/LD-bommer.htm", "_blank");
		}
	}
	this.frame_44 = function() {
		/* Click to Go to Web Page
		Clicking on the specified symbol instance loads the URL in a new browser window.
		
		Instructions:
		1. Replace http://www.adobe.com with the desired URL address.
		   Keep the quotation marks ("").
		*/
		
		this.Nurse_Call.addEventListener("click", fl_ClickToGoToWebPage_4);
		
		function fl_ClickToGoToWebPage_4() {
			window.open("http://www.leedan.com/LD-NURSEcall.htm", "_blank");
		}
	}

	// actions tween:
	this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(14).call(this.frame_14).wait(15).call(this.frame_29).wait(15).call(this.frame_44).wait(16));

	// Layer 6
	this.NC_Thumb = new lib.NCThumbbtn();
	this.NC_Thumb.setTransform(700,500,1,1,0,0,0,100,100);
	new cjs.ButtonHelper(this.NC_Thumb, 0, 1, 1);

	this.MB_Thumb = new lib.MBThumbbtn();
	this.MB_Thumb.setTransform(500,500,1,1,0,0,0,100,100);
	new cjs.ButtonHelper(this.MB_Thumb, 0, 1, 1);

	this.Station_Thumb = new lib.StationThumbtn();
	this.Station_Thumb.setTransform(300,500,1,1,0,0,0,100,100);
	new cjs.ButtonHelper(this.Station_Thumb, 0, 1, 1);

	this.LP_Thumb = new lib.LPThumbBtn();
	this.LP_Thumb.setTransform(100,500,1,1,0,0,0,100,100);
	new cjs.ButtonHelper(this.LP_Thumb, 0, 1, 1);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.LP_Thumb},{t:this.Station_Thumb},{t:this.MB_Thumb},{t:this.NC_Thumb}]}).wait(60));

	// Layer 4
	this.Lobby_Panels = new lib.LobbyPanelBtn();
	this.Lobby_Panels.setTransform(500,200,1,1,0,0,0,500,200);
	new cjs.ButtonHelper(this.Lobby_Panels, 0, 1, 1);

	this.Stations = new lib.StationBtn();
	this.Stations.setTransform(500,200,1,1,0,0,0,500,200);
	new cjs.ButtonHelper(this.Stations, 0, 1, 1);

	this.Mailboxes = new lib.MBBtn();
	this.Mailboxes.setTransform(500,200,1,1,0,0,0,500,200);
	new cjs.ButtonHelper(this.Mailboxes, 0, 1, 1);

	this.Nurse_Call = new lib.NCBtn();
	this.Nurse_Call.setTransform(500,200,1,1,0,0,0,500,200);
	new cjs.ButtonHelper(this.Nurse_Call, 0, 1, 1);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.Lobby_Panels}]}).to({state:[{t:this.Stations}]},14).to({state:[{t:this.Mailboxes}]},15).to({state:[{t:this.Nurse_Call}]},15).to({state:[]},15).wait(1));

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(500,300,1000,600);

})(lib = lib||{}, images = images||{}, createjs = createjs||{}, ss = ss||{});
var lib, images, createjs, ss;

Anon7 - 2021