|
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 : |
(function (lib, img, cjs) {
var p; // shortcut to reference prototypes
// library properties:
lib.properties = {
width: 990,
height: 350,
fps: 1,
color: "#2798C9",
manifest: [
{src:"images/btnapt.png", id:"btnapt"},
{src:"images/btnld.png", id:"btnld"},
{src:"images/btnmb.png", id:"btnmb"},
{src:"images/btnnc.png", id:"btnnc"},
{src:"images/btnvideo.png", id:"btnvideo"},
{src:"images/LDSLiDERapt.jpg", id:"LDSLiDERapt"},
{src:"images/LDSLiDERhome.jpg", id:"LDSLiDERhome"},
{src:"images/LDSLiDERmb.jpg", id:"LDSLiDERmb"},
{src:"images/LDSLiDERnc.jpg", id:"LDSLiDERnc"},
{src:"images/LDSLiDERvideo.jpg", id:"LDSLiDERvideo"}
]
};
// symbols:
(lib.btnapt = function() {
this.initialize(img.btnapt);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,90,50);
(lib.btnld = function() {
this.initialize(img.btnld);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,90,50);
(lib.btnmb = function() {
this.initialize(img.btnmb);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,90,50);
(lib.btnnc = function() {
this.initialize(img.btnnc);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,90,50);
(lib.btnvideo = function() {
this.initialize(img.btnvideo);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,90,50);
(lib.LDSLiDERapt = function() {
this.initialize(img.LDSLiDERapt);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,900,350);
(lib.LDSLiDERhome = function() {
this.initialize(img.LDSLiDERhome);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,900,350);
(lib.LDSLiDERmb = function() {
this.initialize(img.LDSLiDERmb);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,900,350);
(lib.LDSLiDERnc = function() {
this.initialize(img.LDSLiDERnc);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,900,350);
(lib.LDSLiDERvideo = function() {
this.initialize(img.LDSLiDERvideo);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,900,350);
(lib.Symbol6 = function() {
this.initialize();
// Layer 1
this.shape = new cjs.Shape();
this.shape.graphics.f().s("#000000").ss(1,1,1).p("AnBj5IODAAIAAHzIuDAAg");
this.shape.setTransform(45,25);
this.shape_1 = new cjs.Shape();
this.shape_1.graphics.f("#0066CC").s().p("AnBD6IAAnzIODAAIAAHzg");
this.shape_1.setTransform(45,25);
this.addChild(this.shape_1,this.shape);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(-1,-1,92,52);
(lib.BTNVIDEO = function() {
this.initialize();
// Layer 1
this.instance = new lib.LDSLiDERvideo();
this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,900,350);
(lib.BTNNC = function() {
this.initialize();
// Layer 1
this.instance = new lib.LDSLiDERnc();
this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,900,350);
(lib.BTNMB = function() {
this.initialize();
// Layer 1
this.instance = new lib.LDSLiDERmb();
this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,900,350);
(lib.BTNAPT = function() {
this.initialize();
// Layer 1
this.instance = new lib.LDSLiDERapt();
this.addChild(this.instance);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,900,350);
(lib.videobtn = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Layer 2
this.text = new cjs.Text("Video\nIntercoms", "bold 13px 'Arial'", "#FFFFFF");
this.text.lineHeight = 15;
this.text.lineWidth = 74;
this.text.setTransform(12,5.3);
this.text.shadow = new cjs.Shadow("rgba(0,0,0,1)",0,0,4);
this.timeline.addTween(cjs.Tween.get(this.text).wait(4));
// Layer 4
this.instance = new lib.Symbol6();
this.instance.setTransform(45,25,1,1,0,0,0,45,25);
this.instance.alpha = 0.48;
this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},1).wait(3));
// Layer 3
this.instance_1 = new lib.btnvideo();
this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(4));
}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-0.5,-0.5,96.5,79.8);
(lib.ncbtn = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Layer 2
this.text = new cjs.Text("Nurse Call", "bold 13px 'Arial'", "#FFFFFF");
this.text.lineHeight = 15;
this.text.lineWidth = 74;
this.text.setTransform(12,13.3);
this.text.shadow = new cjs.Shadow("rgba(0,0,0,1)",0,0,4);
this.timeline.addTween(cjs.Tween.get(this.text).wait(4));
// Layer 4
this.instance = new lib.Symbol6();
this.instance.setTransform(45,25,1,1,0,0,0,45,25);
this.instance.alpha = 0.48;
this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},1).wait(3));
// Layer 3
this.instance_1 = new lib.btnnc();
this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(4));
}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-0.5,-0.5,96.5,70.8);
(lib.mbbtn = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Layer 2
this.text = new cjs.Text("Mailboxes,\nDirectories", "bold 13px 'Arial'", "#FFFFFF");
this.text.lineHeight = 15;
this.text.lineWidth = 74;
this.text.setTransform(12,5.3);
this.text.shadow = new cjs.Shadow("rgba(0,0,0,1)",0,0,4);
this.timeline.addTween(cjs.Tween.get(this.text).wait(4));
// Layer 4
this.instance = new lib.Symbol6();
this.instance.setTransform(45,25,1,1,0,0,0,45,25);
this.instance.alpha = 0.48;
this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},1).wait(3));
// Layer 3
this.instance_1 = new lib.btnmb();
this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(4));
}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-0.5,-0.5,96.5,62.8);
(lib.homebtn = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Layer 2
this.text = new cjs.Text("Lee Dan", "bold 13px 'Arial'", "#FFFFFF");
this.text.lineHeight = 15;
this.text.lineWidth = 74;
this.text.setTransform(12,11.3);
this.text.shadow = new cjs.Shadow("rgba(0,0,0,1)",0,0,4);
this.timeline.addTween(cjs.Tween.get(this.text).wait(4));
// Layer 4
this.instance = new lib.Symbol6();
this.instance.setTransform(45,25,1,1,0,0,0,45,25);
this.instance.alpha = 0.48;
this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},1).wait(3));
// Layer 3
this.instance_1 = new lib.btnld();
this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(4));
}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-0.5,-0.5,96.5,68.8);
(lib.aptbtn = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Layer 2
this.text = new cjs.Text("Apartment \nIntercoms", "bold 13px 'Arial'", "#FFFFFF");
this.text.lineHeight = 15;
this.text.lineWidth = 74;
this.text.setTransform(12,5.3);
this.text.shadow = new cjs.Shadow("rgba(0,0,0,1)",0,0,4);
this.timeline.addTween(cjs.Tween.get(this.text).wait(4));
// Layer 4
this.instance = new lib.Symbol6();
this.instance.setTransform(45,25,1,1,0,0,0,45,25);
this.instance.alpha = 0.48;
this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},1).wait(3));
// Layer 3
this.instance_1 = new lib.btnapt();
this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(4));
}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-0.5,-0.5,96.5,62.8);
// stage content:
(lib.LDMainSlider = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{Home:0,Apt:9,NC:19,Video:29,MB:39});
// timeline functions:
this.frame_0 = function() {
}
this.frame_1 = function() {
/* Click to Go to Frame and Play
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and continues playback from that frame.
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.button_5.addEventListener("click", fl_ClickToGoToAndPlayFromFrame.bind(this));
function fl_ClickToGoToAndPlayFromFrame()
{
this.gotoAndPlay(0);
}
/* Click to Go to Frame and Play
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and continues playback from that frame.
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.button_6.addEventListener("click", fl_ClickToGoToAndPlayFromFrame_2.bind(this));
function fl_ClickToGoToAndPlayFromFrame_2()
{
this.gotoAndPlay(9);
}
/* Click to Go to Frame and Play
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and continues playback from that frame.
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.button_7.addEventListener("click", fl_ClickToGoToAndPlayFromFrame_3.bind(this));
function fl_ClickToGoToAndPlayFromFrame_3()
{
this.gotoAndPlay(19);
}
/* Click to Go to Frame and Play
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and continues playback from that frame.
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.button_8.addEventListener("click", fl_ClickToGoToAndPlayFromFrame_4.bind(this));
function fl_ClickToGoToAndPlayFromFrame_4()
{
this.gotoAndPlay(29);
}
/* Click to Go to Frame and Play
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and continues playback from that frame.
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.button_9.addEventListener("click", fl_ClickToGoToAndPlayFromFrame_5.bind(this));
function fl_ClickToGoToAndPlayFromFrame_5()
{
this.gotoAndPlay(39);
}
}
this.frame_9 = 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.button_1.addEventListener("click", fl_ClickToGoToWebPage);
function fl_ClickToGoToWebPage() {
window.open("Apartment Intercom System.php", "_blank");
}
}
this.frame_19 = 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.button_2.addEventListener("click", fl_ClickToGoToWebPage_2);
function fl_ClickToGoToWebPage_2() {
window.open("LD-NURSEcall.htm", "_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.button_5.addEventListener("click", fl_ClickToGoToAndStopAtFrame.bind(this));
function fl_ClickToGoToAndStopAtFrame()
{
this.gotoAndStop(1);
}
}
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.button_3.addEventListener("click", fl_ClickToGoToWebPage_3);
function fl_ClickToGoToWebPage_3() {
window.open("A-104test.htm", "_blank");
}
}
this.frame_39 = 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.button_4.addEventListener("click", fl_ClickToGoToWebPage_4);
function fl_ClickToGoToWebPage_4() {
window.open("LD-bommer.htm", "_blank");
}
}
// actions tween:
this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1).call(this.frame_1).wait(8).call(this.frame_9).wait(10).call(this.frame_19).wait(10).call(this.frame_29).wait(10).call(this.frame_39).wait(11));
// Layer 5
this.button_9 = new lib.mbbtn();
this.button_9.setTransform(945,225,1,1,0,0,0,45,25);
new cjs.ButtonHelper(this.button_9, 0, 1, 2, false, new lib.mbbtn(), 3);
this.button_8 = new lib.videobtn();
this.button_8.setTransform(945,175,1,1,0,0,0,45,25);
new cjs.ButtonHelper(this.button_8, 0, 1, 2, false, new lib.videobtn(), 3);
this.button_7 = new lib.ncbtn();
this.button_7.setTransform(945,125,1,1,0,0,0,45,25);
new cjs.ButtonHelper(this.button_7, 0, 1, 2, false, new lib.ncbtn(), 3);
this.button_6 = new lib.aptbtn();
this.button_6.setTransform(945,75,1,1,0,0,0,45,25);
new cjs.ButtonHelper(this.button_6, 0, 1, 2, false, new lib.aptbtn(), 3);
this.button_5 = new lib.homebtn();
this.button_5.setTransform(945,25,1,1,0,0,0,45,25);
new cjs.ButtonHelper(this.button_5, 0, 1, 2, false, new lib.homebtn(), 3);
this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.button_5},{t:this.button_6},{t:this.button_7},{t:this.button_8},{t:this.button_9}]}).wait(50));
// Layer 1
this.instance = new lib.LDSLiDERhome();
this.button_1 = new lib.BTNAPT();
this.button_1.setTransform(450,175,1,1,0,0,0,450,175);
new cjs.ButtonHelper(this.button_1, 0, 1, 1);
this.button_2 = new lib.BTNNC();
this.button_2.setTransform(450,175,1,1,0,0,0,450,175);
new cjs.ButtonHelper(this.button_2, 0, 1, 1);
this.button_3 = new lib.BTNVIDEO();
this.button_3.setTransform(450,175,1,1,0,0,0,450,175);
new cjs.ButtonHelper(this.button_3, 0, 1, 1);
this.button_4 = new lib.BTNMB();
this.button_4.setTransform(450,175,1,1,0,0,0,450,175);
new cjs.ButtonHelper(this.button_4, 0, 1, 1);
this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.button_1}]},9).to({state:[{t:this.button_2}]},10).to({state:[{t:this.button_3}]},10).to({state:[{t:this.button_4}]},10).wait(11));
}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(495,174,996,351);
})(lib = lib||{}, images = images||{}, createjs = createjs||{});
var lib, images, createjs;