Copy link to clipboard
Copied
1 Correct answer
v20.0.3 has a known issue with images not being exported to the /images folder, depending on your Publish settings. Have you tried downgrading to v20.0.2?
While I don't have any projects with such extensive script, downgrading for me fixed publishing issues I was having with the latest version of Animate.
Copy link to clipboard
Copied
Hi Michael,
1) What browser?
2) Have you tried different browsers?
3) Does your project have any code? If so, please post it.
4) Are you using tweened animation?
This problem could be related to many different things. It's like telling the mechanic, "My car doesn't work!" : ) So, any specifics would be helpful. Thanks.
Copy link to clipboard
Copied
Guys, thanks for helping me.
I notice folder with images is empty when I began testing. I don't know why.
I sent file to help center - and they said it worked on their computers.
I have adobe animate version 20.0.3 (Build 25487)
1) What browser?
google chrome
2) Have you tried different browsers?
mozilla firefox
3) Does your project have any code?
script
4) Are you using tweened animation?
yes
There are some screenshots and script
(function (cjs, an) {
var p; // shortcut to reference prototypes
var lib={};var ss={};var img={};
lib.ssMetadata = [
{name:"personal_landing_HTML5 Canvas_atlas_1", frames: [[0,0,1500,850],[0,852,1500,850]]},
{name:"personal_landing_HTML5 Canvas_atlas_2", frames: [[0,1368,1203,186],[0,1556,1203,186],[0,1744,1203,186],[749,612,1204,187],[749,801,1204,187],[0,990,1204,187],[0,1179,1204,187],[749,422,1204,188],[0,0,1494,420],[0,422,747,420]]},
{name:"personal_landing_HTML5 Canvas_atlas_3", frames: [[1205,192,356,154],[1811,797,151,150],[1406,798,147,152],[1811,949,147,152],[0,748,1202,184],[0,934,1202,184],[0,1120,1202,184],[0,0,1203,185],[0,187,1203,185],[0,374,1203,185],[0,561,1203,185],[0,1306,1202,184],[0,1492,962,49],[1204,952,150,70],[1985,100,59,1],[1991,118,10,1],[2037,49,1,40],[2004,115,1,11],[2016,112,1,20],[2031,50,1,30],[2019,112,1,18],[2029,94,12,1],[1985,106,45,1],[2029,82,5,1],[2032,106,1,24],[1985,115,1,17],[2037,0,1,47],[2034,50,1,29],[2020,0,2,44],[2035,106,1,24],[2038,106,1,24],[2047,100,1,21],[2031,0,1,48],[2022,112,1,18],[2020,97,26,1],[2020,46,1,42],[2040,49,1,38],[1985,103,59,1],[1991,121,10,1],[2028,0,1,66],[2007,115,1,11],[2043,0,1,44],[2025,112,1,18],[2029,91,13,1],[1985,109,45,1],[1991,115,11,1],[2041,106,1,24],[1988,115,1,17],[2040,0,1,47],[2026,68,1,27],[2024,0,2,44],[2044,106,1,24],[2013,112,1,21],[2034,0,1,48],[2028,112,1,18],[1985,112,26,1],[2023,46,1,42],[2043,46,1,41],[964,1492,873,16],[1204,1103,820,16],[1204,1121,768,16],[1204,1139,716,16],[1204,1157,664,16],[1204,1175,611,16],[1204,1024,559,16],[1204,1042,507,16],[1204,1060,455,16],[1356,997,403,16],[1204,1078,351,16],[1204,1193,298,16],[1356,952,246,16],[1356,970,194,16],[1408,348,142,16],[1408,366,89,16],[1205,0,813,98],[1205,100,778,90],[1205,348,201,200],[1813,597,200,198],[1611,395,200,200],[1408,395,201,200],[1769,192,201,201],[1204,752,200,198],[1563,192,204,201],[1407,597,201,199],[1610,597,201,198],[1813,395,200,200],[1610,797,199,198],[1205,550,200,200]]}
];
(lib.AnMovieClip = function(){
this.currentSoundStreamInMovieclip;
this.actionFrames = [];
this.soundStreamDuration = new Map();
this.streamSoundSymbolsList = [];
this.gotoAndPlayForStreamSoundSync = function(positionOrLabel){
cjs.MovieClip.prototype.gotoAndPlay.call(this,positionOrLabel);
}
this.gotoAndPlay = function(positionOrLabel){
this.clearAllSoundStreams();
this.startStreamSoundsForTargetedFrame(positionOrLabel);
cjs.MovieClip.prototype.gotoAndPlay.call(this,positionOrLabel);
}
this.play = function(){
this.clearAllSoundStreams();
this.startStreamSoundsForTargetedFrame(this.currentFrame);
cjs.MovieClip.prototype.play.call(this);
}
this.gotoAndStop = function(positionOrLabel){
cjs.MovieClip.prototype.gotoAndStop.call(this,positionOrLabel);
this.clearAllSoundStreams();
}
this.stop = function(){
cjs.MovieClip.prototype.stop.call(this);
this.clearAllSoundStreams();
}
this.startStreamSoundsForTargetedFrame = function(targetFrame){
for(var index=0; index<this.streamSoundSymbolsList.length; index++){
if(index <= targetFrame && this.streamSoundSymbolsList[index] != undefined){
for(var i=0; i<this.streamSoundSymbolsList[index].length; i++){
var sound = this.streamSoundSymbolsList[index][i];
if(sound.endFrame > targetFrame){
var targetPosition = Math.abs((((targetFrame - sound.startFrame)/lib.properties.fps) * 1000));
var instance = playSound(sound.id);
var remainingLoop = 0;
if(sound.offset){
targetPosition = targetPosition + sound.offset;
}
else if(sound.loop > 1){
var loop = targetPosition /instance.duration;
remainingLoop = Math.floor(sound.loop - loop);
if(targetPosition == 0){ remainingLoop -= 1; }
targetPosition = targetPosition % instance.duration;
}
instance.loop = remainingLoop;
instance.position = Math.round(targetPosition);
this.InsertIntoSoundStreamData(instance, sound.startFrame, sound.endFrame, sound.loop , sound.offset);
}
}
}
}
}
this.InsertIntoSoundStreamData = function(soundInstance, startIndex, endIndex, loopValue, offsetValue){
this.soundStreamDuration.set({instance:soundInstance}, {start: startIndex, end:endIndex, loop:loopValue, offset:offsetValue});
}
this.clearAllSoundStreams = function(){
var keys = this.soundStreamDuration.keys();
for(var i = 0;i<this.soundStreamDuration.size; i++){
var key = keys.next().value;
key.instance.stop();
}
this.soundStreamDuration.clear();
this.currentSoundStreamInMovieclip = undefined;
}
this.stopSoundStreams = function(currentFrame){
if(this.soundStreamDuration.size > 0){
var keys = this.soundStreamDuration.keys();
for(var i = 0; i< this.soundStreamDuration.size ; i++){
var key = keys.next().value;
var value = this.soundStreamDuration.get(key);
if((value.end) == currentFrame){
key.instance.stop();
if(this.currentSoundStreamInMovieclip == key) { this.currentSoundStreamInMovieclip = undefined; }
this.soundStreamDuration.delete(key);
}
}
}
}
this.computeCurrentSoundStreamInstance = function(currentFrame){
if(this.currentSoundStreamInMovieclip == undefined){
if(this.soundStreamDuration.size > 0){
var keys = this.soundStreamDuration.keys();
var maxDuration = 0;
for(var i=0;i<this.soundStreamDuration.size;i++){
var key = keys.next().value;
var value = this.soundStreamDuration.get(key);
if(value.end > maxDuration){
maxDuration = value.end;
this.currentSoundStreamInMovieclip = key;
}
}
}
}
}
this.getDesiredFrame = function(currentFrame, calculatedDesiredFrame){
for(var frameIndex in this.actionFrames){
if((frameIndex > currentFrame) && (frameIndex < calculatedDesiredFrame)){
return frameIndex;
}
}
return calculatedDesiredFrame;
}
this.syncStreamSounds = function(){
this.stopSoundStreams(this.currentFrame);
this.computeCurrentSoundStreamInstance(this.currentFrame);
if(this.currentSoundStreamInMovieclip != undefined){
var soundInstance = this.currentSoundStreamInMovieclip.instance;
if(soundInstance.position != 0){
var soundValue = this.soundStreamDuration.get(this.currentSoundStreamInMovieclip);
var soundPosition = (soundValue.offset?(soundInstance.position - soundValue.offset): soundInstance.position);
var calculatedDesiredFrame = (soundValue.start)+((soundPosition/1000) * lib.properties.fps);
if(soundValue.loop > 1){
calculatedDesiredFrame +=(((((soundValue.loop - soundInstance.loop -1)*soundInstance.duration)) / 1000) * lib.properties.fps);
}
calculatedDesiredFrame = Math.floor(calculatedDesiredFrame);
var deltaFrame = calculatedDesiredFrame - this.currentFrame;
if(deltaFrame >= 2){
this.gotoAndPlayForStreamSoundSync(this.getDesiredFrame(this.currentFrame,calculatedDesiredFrame));
}
}
}
}
}).prototype = p = new cjs.MovieClip();
// symbols:
(lib.CachedBmp_101 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(0);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_100 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(1);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_99 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(2);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_98 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(3);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_96 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(4);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_95 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(5);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_94 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(6);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_93 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(7);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_92 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(8);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_91 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(9);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_90 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(10);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_89 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_2"]);
this.gotoAndStop(0);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_88 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_2"]);
this.gotoAndStop(1);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_87 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_2"]);
this.gotoAndStop(2);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_86 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_2"]);
this.gotoAndStop(3);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_85 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_2"]);
this.gotoAndStop(4);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_84 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_2"]);
this.gotoAndStop(5);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_83 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_2"]);
this.gotoAndStop(6);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_82 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_2"]);
this.gotoAndStop(7);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_97 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(11);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_67 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(12);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_66 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(13);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_65 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_2"]);
this.gotoAndStop(8);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_64 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(14);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_63 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(15);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_62 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(16);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_61 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(17);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_60 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(18);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_59 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(19);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_58 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(20);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_57 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(21);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_56 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(22);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_55 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(23);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_54 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(24);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_53 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(25);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_52 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(26);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_51 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(27);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_50 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(28);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_49 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(29);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_48 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(30);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_47 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(31);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_46 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(32);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_45 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(33);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_44 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(34);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_43 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(35);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_42 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(36);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_41 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_1"]);
this.gotoAndStop(0);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_40 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(37);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_39 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(38);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_38 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(39);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_37 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(40);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_36 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(41);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_35 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(42);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_34 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(43);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_33 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(44);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_32 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(45);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_31 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(46);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_30 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(47);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_29 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(48);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_28 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(49);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_27 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(50);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_26 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(51);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_25 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(52);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_24 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(53);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_23 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_1"]);
this.gotoAndStop(1);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_22 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(54);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_21 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(55);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_20 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(56);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_19 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(57);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_18 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(58);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_17 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(59);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_16 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(60);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_15 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(61);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_14 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(62);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_13 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(63);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_12 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(64);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_11 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(65);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_10 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(66);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_9 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(67);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_8 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(68);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_7 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(69);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_6 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(70);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_5 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(71);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_4 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(72);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_3 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(73);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_2 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(74);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_1 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(75);
}).prototype = p = new cjs.Sprite();
(lib.BMP_141d299f_f445_4e46_816a_819d1a49c289 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(76);
}).prototype = p = new cjs.Sprite();
(lib.BMP_2f6b0172_b67b_483d_9049_cb41b47e6e96 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(77);
}).prototype = p = new cjs.Sprite();
(lib.BMP_44db2a2b_06ca_487b_b81e_a97d7420f8a6 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(78);
}).prototype = p = new cjs.Sprite();
(lib.BMP_57d672ae_977d_4bed_90b0_fe5503418a2f = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(79);
}).prototype = p = new cjs.Sprite();
(lib.BMP_5f02a3ec_f9af_4f5a_9a39_4a7091d33b89 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(80);
}).prototype = p = new cjs.Sprite();
(lib.BMP_6da8cc8f_ab08_4f45_9d5e_c062b601455c = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(81);
}).prototype = p = new cjs.Sprite();
(lib.BMP_87936cd4_40e4_46fb_87f3_1e27f85e0b89 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(82);
}).prototype = p = new cjs.Sprite();
(lib.BMP_cb6ee274_5757_47a0_81dd_9d05f5173243 = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(83);
}).prototype = p = new cjs.Sprite();
(lib.BMP_d4799015_dbe6_4d5d_9d49_69aef3f5f6ae = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(84);
}).prototype = p = new cjs.Sprite();
(lib.BMP_d66e47b5_d176_4359_aa4a_345975078a1f = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(85);
}).prototype = p = new cjs.Sprite();
(lib.BMP_e2a8b862_8999_44a8_affc_ab786f324bad = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(86);
}).prototype = p = new cjs.Sprite();
(lib.BMP_fbde8f4f_2fed_4a93_af3f_abaa193722fb = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_3"]);
this.gotoAndStop(87);
}).prototype = p = new cjs.Sprite();
(lib.GrungeTexture = function() {
this.initialize(ss["personal_landing_HTML5 Canvas_atlas_2"]);
this.gotoAndStop(9);
}).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.WarpedAsset_1 = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,0,0);
(lib.StarBtn = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Star
this.instance = new lib.CachedBmp_98();
this.instance.setTransform(0,0,0.5,0.5);
this.instance_1 = new lib.CachedBmp_99();
this.instance_1.setTransform(-5.35,1.65,0.5,0.5);
this.instance_2 = new lib.CachedBmp_100();
this.instance_2.setTransform(-5.7,1.6,0.5,0.5);
this.instance_3 = new lib.CachedBmp_101();
this.instance_3.setTransform(-1,0,0.5,0.5);
this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.instance_1}]},1).to({state:[{t:this.instance_2}]},1).to({state:[{t:this.instance_3}]},1).wait(1));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-5.7,0,182.7,77.7);
(lib.Scene_1_Wash = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Wash
this.instance = new lib.CachedBmp_65();
this.instance.setTransform(0,210,0.5,0.5);
this.timeline.addTween(cjs.Tween.get(this.instance).wait(89));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
(lib.Scene_1_Texture = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Texture
this.instance = new lib.GrungeTexture();
this.timeline.addTween(cjs.Tween.get(this.instance).wait(89));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
(lib.Scene_1_Slash = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Slash
this.instance = new lib.CachedBmp_3();
this.instance.setTransform(252.45,177.2,0.5,0.5);
this.instance_1 = new lib.CachedBmp_4();
this.instance_1.setTransform(253.2,177.2,0.5,0.5);
this.instance_2 = new lib.CachedBmp_5();
this.instance_2.setTransform(253.9,177.2,0.5,0.5);
this.instance_3 = new lib.CachedBmp_6();
this.instance_3.setTransform(254.65,177.2,0.5,0.5);
this.instance_4 = new lib.CachedBmp_7();
this.instance_4.setTransform(255.4,177.2,0.5,0.5);
this.instance_5 = new lib.CachedBmp_8();
this.instance_5.setTransform(256.1,177.2,0.5,0.5);
this.instance_6 = new lib.CachedBmp_9();
this.instance_6.setTransform(256.85,177.2,0.5,0.5);
this.instance_7 = new lib.CachedBmp_10();
this.instance_7.setTransform(257.6,177.2,0.5,0.5);
this.instance_8 = new lib.CachedBmp_11();
this.instance_8.setTransform(258.4,177.2,0.5,0.5);
this.instance_9 = new lib.CachedBmp_12();
this.instance_9.setTransform(259.15,177.2,0.5,0.5);
this.instance_10 = new lib.CachedBmp_13();
this.instance_10.setTransform(259.85,177.2,0.5,0.5);
this.instance_11 = new lib.CachedBmp_14();
this.instance_11.setTransform(260.65,177.2,0.5,0.5);
this.instance_12 = new lib.CachedBmp_15();
this.instance_12.setTransform(261.4,177.2,0.5,0.5);
this.instance_13 = new lib.CachedBmp_16();
this.instance_13.setTransform(262.05,177.2,0.5,0.5);
this.instance_14 = new lib.CachedBmp_17();
this.instance_14.setTransform(262.85,177.2,0.5,0.5);
this.instance_15 = new lib.CachedBmp_18();
this.instance_15.setTransform(263.5,177.2,0.5,0.5);
this.timeline.addTween(cjs.Tween.get({}).to({state:[]}).to({state:[{t:this.instance}]},46).to({state:[{t:this.instance_1}]},1).to({state:[{t:this.instance_2}]},1).to({state:[{t:this.instance_3}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_5}]},1).to({state:[{t:this.instance_6}]},1).to({state:[{t:this.instance_7}]},1).to({state:[{t:this.instance_8}]},1).to({state:[{t:this.instance_9}]},1).to({state:[{t:this.instance_10}]},1).to({state:[{t:this.instance_11}]},1).to({state:[{t:this.instance_12}]},1).to({state:[{t:this.instance_13}]},1).to({state:[{t:this.instance_14}]},1).to({state:[{t:this.instance_15}]},1).wait(28));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
(lib.Scene_1_Quote = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Quote
this.instance = new lib.CachedBmp_1();
this.instance.setTransform(290.15,111.85,0.5,0.5);
this.timeline.addTween(cjs.Tween.get(this.instance).wait(89));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
(lib.Scene_1_Name = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Name
this.instance = new lib.CachedBmp_2();
this.instance.setTransform(281.6,50.9,0.5,0.5);
this.timeline.addTween(cjs.Tween.get(this.instance).wait(89));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
(lib.Scene_1_Borders = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Borders
this.instance = new lib.CachedBmp_64();
this.instance.setTransform(516.1,1.5,0.5,0.5);
this.instance_1 = new lib.CachedBmp_63();
this.instance_1.setTransform(740.25,1.35,0.5,0.5);
this.instance_2 = new lib.CachedBmp_62();
this.instance_2.setTransform(747.55,173.05,0.5,0.5);
this.instance_3 = new lib.CachedBmp_61();
this.instance_3.setTransform(747.9,284.15,0.5,0.5);
this.instance_4 = new lib.CachedBmp_60();
this.instance_4.setTransform(747.85,371.5,0.5,0.5);
this.instance_5 = new lib.CachedBmp_59();
this.instance_5.setTransform(747.75,347.8,0.5,0.5);
this.instance_6 = new lib.CachedBmp_58();
this.instance_6.setTransform(748.3,402.35,0.5,0.5);
this.instance_7 = new lib.CachedBmp_57();
this.instance_7.setTransform(704.95,421.55,0.5,0.5);
this.instance_8 = new lib.CachedBmp_56();
this.instance_8.setTransform(23.35,418,0.5,0.5);
this.instance_9 = new lib.CachedBmp_55();
this.instance_9.setTransform(56.5,421.85,0.5,0.5);
this.instance_10 = new lib.CachedBmp_54();
this.instance_10.setTransform(1.05,294.3,0.5,0.5);
this.instance_11 = new lib.CachedBmp_53();
this.instance_11.setTransform(0.55,265.75,0.5,0.5);
this.instance_12 = new lib.CachedBmp_52();
this.instance_12.setTransform(-1.85,297.35,0.5,0.5);
this.instance_13 = new lib.CachedBmp_51();
this.instance_13.setTransform(0.65,233.75,0.5,0.5);
this.instance_14 = new lib.CachedBmp_50();
this.instance_14.setTransform(-1.6,273.6,0.5,0.5);
this.instance_15 = new lib.CachedBmp_49();
this.instance_15.setTransform(0.85,221.55,0.5,0.5);
this.instance_16 = new lib.CachedBmp_48();
this.instance_16.setTransform(0.4,165.3,0.5,0.5);
this.instance_17 = new lib.CachedBmp_47();
this.instance_17.setTransform(-1.55,203.3,0.5,0.5);
this.instance_18 = new lib.CachedBmp_46();
this.instance_18.setTransform(0.05,70.05,0.5,0.5);
this.instance_19 = new lib.CachedBmp_45();
this.instance_19.setTransform(747.25,192.35,0.5,0.5);
this.instance_20 = new lib.CachedBmp_44();
this.instance_20.setTransform(332.6,-2.55,0.5,0.5);
this.instance_21 = new lib.CachedBmp_43();
this.instance_21.setTransform(-1,201.3,0.5,0.5);
this.instance_22 = new lib.CachedBmp_42();
this.instance_22.setTransform(-0.35,51.55,0.5,0.5);
this.instance_23 = new lib.CachedBmp_41();
this.instance_23.setTransform(-1.95,-2.65,0.5,0.5);
this.instance_24 = new lib.CachedBmp_40();
this.instance_24.setTransform(201.2,417.95,0.5,0.5);
this.instance_25 = new lib.CachedBmp_39();
this.instance_25.setTransform(1.65,418.4,0.5,0.5);
this.instance_26 = new lib.CachedBmp_38();
this.instance_26.setTransform(-0.85,214.1,0.5,0.5);
this.instance_27 = new lib.CachedBmp_37();
this.instance_27.setTransform(-1.05,130.15,0.5,0.5);
this.instance_28 = new lib.CachedBmp_36();
this.instance_28.setTransform(-1.2,51.95,0.5,0.5);
this.instance_29 = new lib.CachedBmp_35();
this.instance_29.setTransform(-1.6,8.75,0.5,0.5);
this.instance_30 = new lib.CachedBmp_34();
this.instance_30.setTransform(411.15,2.55,0.5,0.5);
this.instance_31 = new lib.CachedBmp_33();
this.instance_31.setTransform(701,1.6,0.5,0.5);
this.instance_32 = new lib.CachedBmp_32();
this.instance_32.setTransform(690.2,-1.9,0.5,0.5);
this.instance_33 = new lib.CachedBmp_31();
this.instance_33.setTransform(745.35,113.55,0.5,0.5);
this.instance_34 = new lib.CachedBmp_30();
this.instance_34.setTransform(745.95,145.5,0.5,0.5);
this.instance_35 = new lib.CachedBmp_29();
this.instance_35.setTransform(748.45,98.95,0.5,0.5);
this.instance_36 = new lib.CachedBmp_28();
this.instance_36.setTransform(745.7,172.95,0.5,0.5);
this.instance_37 = new lib.CachedBmp_27();
this.instance_37.setTransform(747.85,124.45,0.5,0.5);
this.instance_38 = new lib.CachedBmp_26();
this.instance_38.setTransform(746.35,242.85,0.5,0.5);
this.instance_39 = new lib.CachedBmp_25();
this.instance_39.setTransform(748.3,206.1,0.5,0.5);
this.instance_40 = new lib.CachedBmp_24();
this.instance_40.setTransform(746.6,325.75,0.5,0.5);
this.instance_41 = new lib.CachedBmp_23();
this.instance_41.setTransform(-1.25,-2.45,0.5,0.5);
this.instance_42 = new lib.CachedBmp_22();
this.instance_42.setTransform(-0.55,218.85,0.5,0.5);
this.instance_43 = new lib.CachedBmp_21();
this.instance_43.setTransform(401.5,422.1,0.5,0.5);
this.instance_44 = new lib.CachedBmp_20();
this.instance_44.setTransform(747.55,197.9,0.5,0.5);
this.instance_45 = new lib.CachedBmp_19();
this.instance_45.setTransform(747,351.9,0.5,0.5);
this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_45},{t:this.instance_44},{t:this.instance_43},{t:this.instance_42},{t:this.instance_41},{t:this.instance_40},{t:this.instance_39},{t:this.instance_38},{t:this.instance_37},{t:this.instance_36},{t:this.instance_35},{t:this.instance_34},{t:this.instance_33},{t:this.instance_32},{t:this.instance_31},{t:this.instance_30},{t:this.instance_29},{t:this.instance_28},{t:this.instance_27},{t:this.instance_26},{t:this.instance_25},{t:this.instance_24},{t:this.instance_23},{t:this.instance_22},{t:this.instance_21},{t:this.instance_20},{t:this.instance_19},{t:this.instance_18},{t:this.instance_17},{t:this.instance_16},{t:this.instance_15},{t:this.instance_14},{t:this.instance_13},{t:this.instance_12},{t:this.instance_11},{t:this.instance_10},{t:this.instance_9},{t:this.instance_8},{t:this.instance_7},{t:this.instance_6},{t:this.instance_5},{t:this.instance_4},{t:this.instance_3},{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).wait(89));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
(lib.___Camera___ = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// timeline functions:
this.frame_0 = function() {
this.visible = false;
}
// actions tween:
this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2));
// cameraBoundary
this.shape = new cjs.Shape();
this.shape.graphics.f().s("rgba(0,0,0,0)").ss(2,1,1,3,true).p("EAq+AfQMhV7AAAMAAAg+fMBV7AAAg");
this.timeline.addTween(cjs.Tween.get(this.shape).wait(2));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-374.5,-211,749,422);
(lib.LinkBar = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Text
this.instance = new lib.CachedBmp_67();
this.instance.setTransform(55.95,39.4,0.5,0.5);
this.timeline.addTween(cjs.Tween.get(this.instance).wait(30));
// Buttons
this.instance_1 = new lib.StarBtn();
this.instance_1.setTransform(375.95,12.55,0.8806,0.8806);
new cjs.ButtonHelper(this.instance_1, 0, 1, 2, false, new lib.StarBtn(), 3);
this.instance_2 = new lib.StarBtn();
this.instance_2.setTransform(204.55,12.55,0.8806,0.8806);
new cjs.ButtonHelper(this.instance_2, 0, 1, 2, false, new lib.StarBtn(), 3);
this.instance_3 = new lib.StarBtn();
this.instance_3.setTransform(16.2,12.55,0.8806,0.8806);
new cjs.ButtonHelper(this.instance_3, 0, 1, 2, false, new lib.StarBtn(), 3);
this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_3},{t:this.instance_2},{t:this.instance_1}]}).wait(30));
// BG
this.instance_4 = new lib.CachedBmp_97();
this.instance_4.setTransform(-0.55,-0.9,0.5,0.5);
this.instance_5 = new lib.CachedBmp_82();
this.instance_5.setTransform(-1.05,-1.8,0.5,0.5);
this.instance_6 = new lib.CachedBmp_83();
this.instance_6.setTransform(-1,-1.75,0.5,0.5);
this.instance_7 = new lib.CachedBmp_84();
this.instance_7.setTransform(-1,-1.7,0.5,0.5);
this.instance_8 = new lib.CachedBmp_85();
this.instance_8.setTransform(-0.95,-1.6,0.5,0.5);
this.instance_9 = new lib.CachedBmp_86();
this.instance_9.setTransform(-0.9,-1.55,0.5,0.5);
this.instance_10 = new lib.CachedBmp_87();
this.instance_10.setTransform(-0.9,-1.5,0.5,0.5);
this.instance_11 = new lib.CachedBmp_88();
this.instance_11.setTransform(-0.85,-1.45,0.5,0.5);
this.instance_12 = new lib.CachedBmp_89();
this.instance_12.setTransform(-0.8,-1.4,0.5,0.5);
this.instance_13 = new lib.CachedBmp_90();
this.instance_13.setTransform(-0.8,-1.3,0.5,0.5);
this.instance_14 = new lib.CachedBmp_91();
this.instance_14.setTransform(-0.75,-1.25,0.5,0.5);
this.instance_15 = new lib.CachedBmp_92();
this.instance_15.setTransform(-0.7,-1.2,0.5,0.5);
this.instance_16 = new lib.CachedBmp_93();
this.instance_16.setTransform(-0.7,-1.15,0.5,0.5);
this.instance_17 = new lib.CachedBmp_94();
this.instance_17.setTransform(-0.65,-1.1,0.5,0.5);
this.instance_18 = new lib.CachedBmp_95();
this.instance_18.setTransform(-0.6,-1,0.5,0.5);
this.instance_19 = new lib.CachedBmp_96();
this.instance_19.setTransform(-0.6,-0.95,0.5,0.5);
this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_4}]}).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_5}]},1).to({state:[{t:this.instance_6}]},1).to({state:[{t:this.instance_7}]},1).to({state:[{t:this.instance_8}]},1).to({state:[{t:this.instance_9}]},1).to({state:[{t:this.instance_10}]},1).to({state:[{t:this.instance_11}]},1).to({state:[{t:this.instance_12}]},1).to({state:[{t:this.instance_13}]},1).to({state:[{t:this.instance_14}]},1).to({state:[{t:this.instance_15}]},1).to({state:[{t:this.instance_16}]},1).to({state:[{t:this.instance_17}]},1).to({state:[{t:this.instance_18}]},1).to({state:[{t:this.instance_19}]},1).to({state:[{t:this.instance_4}]},1).wait(1));
this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(13).to({_off:true},1).wait(15).to({_off:false},0).wait(1));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-1,-1.8,602.1,94);
(lib.Start = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Layer_1
this.instance = new lib.StarBtn();
this.instance.setTransform(0,28.1,0.5482,0.5482,0,0,0,0,0.1);
new cjs.ButtonHelper(this.instance, 0, 1, 2, false, new lib.StarBtn(), 3);
this.instance_1 = new lib.CachedBmp_66();
this.instance_1.setTransform(38.8,10.45,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.Start, new cjs.Rectangle(-3.1,10.5,116.89999999999999,60.099999999999994), null);
(lib.Scene_1_Start = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Start
this.start_btn = new lib.Start();
this.start_btn.name = "start_btn";
this.start_btn.setTransform(326.05,279.7,1,1,0,0,0,58.3,35.3);
this.timeline.addTween(cjs.Tween.get(this.start_btn).to({alpha:0},11).wait(78));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
(lib.Scene_1_LinkBar = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// LinkBar
this.instance = new lib.LinkBar();
this.instance.setTransform(1069.95,345,1,1,0,0,0,300,45);
this.instance._off = true;
this.timeline.addTween(cjs.Tween.get(this.instance).wait(29).to({_off:false},0).wait(1).to({regY:45.2,x:1069.9,y:345.2},0).wait(1).to({x:1069.85},0).wait(1).to({x:1069.7},0).wait(1).to({x:1069.55},0).wait(1).to({x:1069.35},0).wait(1).to({x:1069.1},0).wait(1).to({x:1068.75},0).wait(1).to({x:1068.4},0).wait(1).to({x:1068},0).wait(1).to({x:1067.55},0).wait(1).to({x:1067.05},0).wait(1).to({x:1066.55},0).wait(1).to({x:1065.95},0).wait(1).to({x:1065.3},0).wait(1).to({x:1064.6},0).wait(1).to({x:1060},0).wait(1).to({x:1023},0).wait(1).to({x:983.8},0).wait(1).to({x:942.3},0).wait(1).to({x:898.55},0).wait(1).to({x:852.6},0).wait(1).to({x:804.35},0).wait(1).to({x:753.9},0).wait(1).to({x:701.2},0).wait(1).to({x:646.25},0).wait(1).to({x:589.1},0).wait(1).to({x:529.65},0).wait(1).to({x:468},0).wait(1).to({x:553.8},0).wait(1).to({x:626.35},0).wait(1).to({x:685.8},0).wait(1).to({x:732},0).wait(1).to({x:765},0).wait(1).to({x:784.75},0).wait(1).to({x:791.35},0).wait(1).to({x:784.75},0).wait(1).to({x:765},0).wait(1).to({x:732},0).wait(1).to({x:685.8},0).wait(1).to({x:626.35},0).wait(1).to({x:553.8},0).wait(1).to({x:468},0).wait(1).to({x:515},0).wait(1).to({x:550.25},0).wait(1).to({x:573.75},0).wait(1).to({x:585.5},0).wait(2).to({x:573.75},0).wait(1).to({x:550.25},0).wait(1).to({x:515},0).wait(1).to({x:468},0).wait(1).to({x:489.4},0).wait(1).to({x:503.7},0).wait(1).to({x:510.85},0).wait(2).to({x:503.7},0).wait(1).to({x:489.4},0).wait(1).to({x:468},0).wait(2));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
(lib.PuppetShape_1copy = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Layer_1
this.instance = new lib.WarpedAsset_1("synched",0);
this.instance_1 = new lib.BMP_fbde8f4f_2fed_4a93_af3f_abaa193722fb();
this.instance_1.setTransform(-0.05,-0.4);
this.instance_2 = new lib.BMP_d66e47b5_d176_4359_aa4a_345975078a1f();
this.instance_2.setTransform(-0.35,-0.2);
this.instance_3 = new lib.BMP_141d299f_f445_4e46_816a_819d1a49c289();
this.instance_3.setTransform(-0.95,0);
this.instance_4 = new lib.BMP_5f02a3ec_f9af_4f5a_9a39_4a7091d33b89();
this.instance_4.setTransform(-1.6,-0.3);
this.instance_5 = new lib.BMP_cb6ee274_5757_47a0_81dd_9d05f5173243();
this.instance_5.setTransform(-0.85,0);
this.instance_6 = new lib.BMP_2f6b0172_b67b_483d_9049_cb41b47e6e96();
this.instance_6.setTransform(-0.15,0.1);
this.instance_7 = new lib.BMP_e2a8b862_8999_44a8_affc_ab786f324bad();
this.instance_7.setTransform(0.5,0.05);
this.instance_8 = new lib.BMP_6da8cc8f_ab08_4f45_9d5e_c062b601455c();
this.instance_8.setTransform(-0.2,0);
this.instance_9 = new lib.BMP_d4799015_dbe6_4d5d_9d49_69aef3f5f6ae();
this.instance_9.setTransform(-0.2,-0.2);
this.instance_10 = new lib.BMP_87936cd4_40e4_46fb_87f3_1e27f85e0b89();
this.instance_10.setTransform(-0.2,-1.25);
this.instance_11 = new lib.BMP_57d672ae_977d_4bed_90b0_fe5503418a2f();
this.instance_11.setTransform(-0.1,-0.4);
this.instance_12 = new lib.BMP_44db2a2b_06ca_487b_b81e_a97d7420f8a6();
this.instance_12.setTransform(-0.05,-0.4);
this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.instance_1}]},1).to({state:[{t:this.instance_2}]},1).to({state:[{t:this.instance_3}]},1).to({state:[{t:this.instance_4}]},1).to({state:[{t:this.instance_5}]},1).to({state:[{t:this.instance_6}]},1).to({state:[{t:this.instance_7}]},1).to({state:[{t:this.instance_8}]},1).to({state:[{t:this.instance_9}]},1).to({state:[{t:this.instance_10}]},1).to({state:[{t:this.instance_11}]},1).to({state:[{t:this.instance_12}]},1).wait(60));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-1.6,-1.2,205.4,201.89999999999998);
(lib.PhotoAnimation = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Layer_1
this.instance = new lib.PuppetShape_1copy("synched",1,false);
this.instance.setTransform(100.05,100.4,1,1,0,0,0,100,100);
this.timeline.addTween(cjs.Tween.get(this.instance).to({startPosition:4},3).to({startPosition:8},4).to({startPosition:10},2).to({startPosition:12},2).wait(1));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-1.5,-0.8,205.4,201.9);
(lib.Scene_1_Photo = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Photo
this.instance = new lib.PhotoAnimation("synched",0);
this.instance.setTransform(129.95,129.6,1,1,0,0,0,100,100);
this.instance._off = true;
this.timeline.addTween(cjs.Tween.get(this.instance).wait(29).to({_off:false},0).wait(39).to({mode:"single",startPosition:3},0).wait(21));
this._renderFirstFrame();
}).prototype = p = new cjs.MovieClip();
// stage content:
(lib.personal_landing_HTML5Canvas = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
this.actionFrames = [0,11,88];
this.___GetDepth___ = function(obj) {
var depth = obj.depth;
var cameraObj = this.___camera___instance;
if(cameraObj && cameraObj.depth && obj.isAttachedToCamera)
{
depth += depth + cameraObj.depth;
}
return depth;
}
this.___needSorting___ = function() {
for (var i = 0; i < this.numChildren - 1; i++)
{
var prevDepth = this.___GetDepth___(this.getChildAt(i));
var nextDepth = this.___GetDepth___(this.getChildAt(i + 1));
if (prevDepth < nextDepth)
return true;
}
return false;
}
this.___sortFunction___ = function(obj1, obj2) {
return (this.exportRoot.___GetDepth___(obj2) - this.exportRoot.___GetDepth___(obj1));
}
this.on('tick', function (event){
var curTimeline = event.currentTarget;
if (curTimeline.___needSorting___()){
this.sortChildren(curTimeline.___sortFunction___);
}
});
// timeline functions:
this.frame_0 = function() {
this.clearAllSoundStreams();
this.start_btn = this.Start.start_btn;
var _this = this;
/*
Stop a Movie Clip/Video
Stops the specified movie clip or video.
*/
_this.stop();
/*
Clicking on the specified symbol instance executes a function.
*/
_this.start_btn.on('click', function(){
/*
Play a Movie Clip/Video or the current timeline.
Plays the specified movie clip or video.
*/
_this.play();
});
}
this.frame_11 = function() {
this.start_btn = undefined;this.start_btn = this.Start.start_btn;
}
this.frame_88 = function() {
this.___loopingOver___ = true;
this.stop();
}
// actions tween:
this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(11).call(this.frame_11).wait(77).call(this.frame_88).wait(1));
// Camera
this.___camera___instance = new lib.___Camera___();
this.___camera___instance.name = "___camera___instance";
this.___camera___instance.setTransform(373.85,210.2,0.397,0.397,-19.9942,0,0,0.6,0.8);
this.___camera___instance.depth = 0;
this.___camera___instance.visible = false;
this.timeline.addTween(cjs.Tween.get(this.___camera___instance).to({regX:0,regY:0,scaleX:1,scaleY:1,rotation:0,x:373.5,y:210},24,cjs.Ease.cubicInOut).wait(65));
// Start_obj_
this.Start = new lib.Scene_1_Start();
this.Start.name = "Start";
this.Start.setTransform(323.2,285,2.5188,2.5188,19.9929,0,0,364.9,244.8);
this.Start.depth = 0;
this.Start.isAttachedToCamera = 0
this.Start.isAttachedToMask = 0
this.Start.layerDepth = 0
this.Start.layerIndex = 0
this.Start.maskLayerName = 0
this.timeline.addTween(cjs.Tween.get(this.Start).to({regX:352.3,regY:262.6,scaleX:1.5892,scaleY:1.5892,rotation:12.2931,y:284.95},11).wait(78));
// LinkBar_obj_
this.LinkBar = new lib.Scene_1_LinkBar();
this.LinkBar.name = "LinkBar";
this.LinkBar.setTransform(0.2,-0.05,2.5188,2.5188,19.9929,0,0,205.7,182.3);
this.LinkBar.depth = 0;
this.LinkBar.isAttachedToCamera = 0
this.LinkBar.isAttachedToMask = 0
this.LinkBar.layerDepth = 0
this.LinkBar.layerIndex = 1
this.LinkBar.maskLayerName = 0
this.timeline.addTween(cjs.Tween.get(this.LinkBar).wait(29).to({regX:0,regY:0,scaleX:1,scaleY:1,rotation:0,x:0,y:0},0).wait(1).to({regX:769,regY:345.2,x:769,y:345.2},0).wait(59));
// Quote_obj_
this.Quote = new lib.Scene_1_Quote();
this.Quote.name = "Quote";
this.Quote.setTransform(484.7,134.3,1,1,0,0,0,484.7,134.3);
this.Quote.depth = 0;
this.Quote.isAttachedToCamera = 1
this.Quote.isAttachedToMask = 0
this.Quote.layerDepth = 0
this.Quote.layerIndex = 2
this.Quote.maskLayerName = 0
this.timeline.addTween(cjs.Tween.get(this.Quote).wait(89));
// Name_obj_
this.Name = new lib.Scene_1_Name();
this.Name.name = "Name";
this.Name.setTransform(484.9,75.4,1,1,0,0,0,484.9,75.4);
this.Name.depth = 0;
this.Name.isAttachedToCamera = 1
this.Name.isAttachedToMask = 0
this.Name.layerDepth = 0
this.Name.layerIndex = 3
this.Name.maskLayerName = 0
this.timeline.addTween(cjs.Tween.get(this.Name).wait(89));
// Slash_obj_
this.Slash = new lib.Scene_1_Slash();
this.Slash.name = "Slash";
this.Slash.setTransform(0.2,-0.05,2.5188,2.5188,19.9929,0,0,205.7,182.3);
this.Slash.depth = 0;
this.Slash.isAttachedToCamera = 0
this.Slash.isAttachedToMask = 0
this.Slash.layerDepth = 0
this.Slash.layerIndex = 4
this.Slash.maskLayerName = 0
this.timeline.addTween(cjs.Tween.get(this.Slash).wait(29).to({regX:0,regY:0,scaleX:1,scaleY:1,rotation:0,x:0,y:0},0).wait(60));
// PhotoMask (mask)
var mask = new cjs.Shape();
mask._off = true;
var mask_graphics_29 = new cjs.Graphics().p("AgmAnQgQgQAAgXQAAgWAQgQQAQgQAWAAQAXAAAQAQQAQAQAAAWQAAAXgQAQQgQAQgXAAQgWAAgQgQg");
var mask_graphics_30 = new cjs.Graphics().p("AgmAnQgQgQAAgXQAAgWAQgQQAQgQAWAAQAXAAAQAQQAQAQAAAWQAAAXgQAQQgQAQgXAAQgWAAgQgQg");
var mask_graphics_31 = new cjs.Graphics().p("AgmAnQgQgQAAgXQAAgWAQgQQAQgQAWAAQAXAAAQAQQAQAQAAAWQAAAXgQAQQgQAQgXAAQgWAAgQgQg");
var mask_graphics_32 = new cjs.Graphics().p("AgmAnQgQgQAAgXQAAgWAQgQQAQgQAWAAQAXAAAQAQQAQAQAAAWQAAAXgQAQQgQAQgXAAQgWAAgQgQg");
var mask_graphics_33 = new cjs.Graphics().p("AgmAnQgQgQAAgXQAAgWAQgQQAQgQAWAAQAXAAAQAQQAQAQAAAWQAAAXgQAQQgQAQgXAAQgWAAgQgQg");
var mask_graphics_34 = new cjs.Graphics().p("AgmAnQgQgQAAgXQAAgWAQgQQAQgQAWAAQAXAAAQAQQAQAQAAAWQAAAXgQAQQgQAQgXAAQgWAAgQgQg");
var mask_graphics_35 = new cjs.Graphics().p("AgmAnQgQgQAAgXQAAgWAQgQQAQgQAWAAQAXAAAQAQQAQAQAAAWQAAAXgQAQQgQAQgXAAQgWAAgQgQg");
var mask_graphics_36 = new cjs.Graphics().p("AgmAnQgQgQAAgXQAAgWAQgQQAQgQAWAAQAXAAAQAQQAQAQAAAWQAAAXgQAQQgQAQgXAAQgWAAgQgQg");
var mask_graphics_37 = new cjs.Graphics().p("AgmAnQgQgQAAgXQAAgWAQgQQAQgQAWAAQAXAAAQAQQAQAQAAAWQAAAXgQAQQgQAQgXAAQgWAAgQgQg");
var mask_graphics_38 = new cjs.Graphics().p("AG8KtQgygyAAhGQAAhHAygyQAygyBHAAQBGAAAyAyQAyAyAABHQAABGgyAyQgyAyhGAAQhHAAgygyg");
var mask_graphics_39 = new cjs.Graphics().p("Aj6D7QhohoAAiTQAAiSBohoQBohoCSAAQCTAABoBoQBoBoAACSQAACThoBoQhoBoiTAAQiSAAhohog");
var mask_graphics_40 = new cjs.Graphics().p("AlzF0QiaiagBjaQABjZCaiaQCaiaDZgBQDaABCaCaQCaCaAADZQAADaiaCaQiaCajaAAQjZAAiaiag");
var mask_graphics_41 = new cjs.Graphics().p("AnkHlQjJjJABkcQgBkbDJjJQDJjJEbABQEcgBDJDJQDJDJgBEbQABEcjJDJQjJDJkcgBQkbABjJjJg");
var mask_graphics_42 = new cjs.Graphics().p("ApLJMQjzjzAAlZQAAlXDzj0QD0jzFXAAQFZAADzDzQDzD0AAFXQAAFZjzDzQjzDzlZAAQlXAAj0jzg");
var mask_graphics_43 = new cjs.Graphics().p("AqqKqQkakbAAmPQAAmOEakcQEckaGOAAQGPAAEbEaQEbEcAAGOQAAGPkbEbQkbEbmPAAQmOAAkckbg");
var mask_graphics_44 = new cjs.Graphics().p("Ar/L/Qk9k9gBnCQABnAE9k/QE/k9HAgBQHCABE9E9QE/E/AAHAQAAHCk/E9Qk9E/nCAAQnAAAk/k/g");
var mask_graphics_45 = new cjs.Graphics().p("AtMNMQldleAAnuQAAntFdlfQFfldHtAAQHuAAFeFdQFeFfAAHtQAAHuleFeQleFenuAAQntAAlfleg");
var mask_graphics_46 = new cjs.Graphics().p("AuOOPQl6l5AAoWQAAoVF6l5QF5l6IVAAQIWAAF5F6QF6F5AAIVQAAIWl6F5Ql5F6oWAAQoVAAl5l6g");
var mask_graphics_47 = new cjs.Graphics().p("AvJPKQmRmSAAo4QAAo3GRmSQGSmRI3AAQI4AAGSGRQGRGSAAI3QAAI4mRGSQmSGRo4AAQo3AAmSmRg");
var mask_graphics_48 = new cjs.Graphics().p("Av6P7QmnmmABpVQgBpUGnmmQGmmnJUABQJVgBGmGnQGmGmAAJUQAAJVmmGmQmmGmpVAAQpUAAmmmmg");
var mask_graphics_49 = new cjs.Graphics().p("AwjQkQm3m3AAptQAApsG3m3QG3m3JsAAQJtAAG3G3QG3G3AAJsQAAJtm3G3Qm3G3ptAAQpsAAm3m3g");
var mask_graphics_50 = new cjs.Graphics().p("AxCRDQnFnDAAqAQAAp/HFnDQHDnFJ/AAQKAAAHDHFQHEHDAAJ/QAAKAnEHDQnDHEqAAAQp/AAnDnEg");
var mask_graphics_51 = new cjs.Graphics().p("AxZRaQnNnNAAqNQAAqLHNnOQHOnNKLAAQKNAAHNHNQHNHOAAKLQAAKNnNHNQnNHNqNAAQqLAAnOnNg");
var mask_graphics_52 = new cjs.Graphics().p("AxmRnQnTnTAAqUQAAqTHTnTQHTnTKTAAQKUAAHTHTQHTHTAAKTQAAKUnTHTQnTHTqUAAQqTAAnTnTg");
var mask_graphics_53 = new cjs.Graphics().p("AxrRsQnVnVAAqXQAAqWHVnVQHVnVKWAAQKXAAHVHVQHUHVABKWQgBKXnUHVQnVHUqXABQqWgBnVnUg");
this.timeline.addTween(cjs.Tween.get(mask).to({graphics:null,x:0,y:0}).wait(29).to({graphics:mask_graphics_29,x:278.55,y:27.55}).wait(1).to({graphics:mask_graphics_30,x:278.55,y:27.55}).wait(1).to({graphics:mask_graphics_31,x:278.55,y:27.55}).wait(1).to({graphics:mask_graphics_32,x:278.55,y:27.55}).wait(1).to({graphics:mask_graphics_33,x:278.55,y:27.55}).wait(1).to({graphics:mask_graphics_34,x:278.55,y:27.55}).wait(1).to({graphics:mask_graphics_35,x:278.55,y:27.55}).wait(1).to({graphics:mask_graphics_36,x:278.55,y:27.55}).wait(1).to({graphics:mask_graphics_37,x:278.55,y:27.55}).wait(1).to({graphics:mask_graphics_38,x:73.5233,y:73.5233}).wait(1).to({graphics:mask_graphics_39,x:130,y:130}).wait(1).to({graphics:mask_graphics_40,x:130,y:130}).wait(1).to({graphics:mask_graphics_41,x:130,y:130}).wait(1).to({graphics:mask_graphics_42,x:130,y:130}).wait(1).to({graphics:mask_graphics_43,x:130,y:130}).wait(1).to({graphics:mask_graphics_44,x:130,y:130}).wait(1).to({graphics:mask_graphics_45,x:130,y:130}).wait(1).to({graphics:mask_graphics_46,x:130,y:130}).wait(1).to({graphics:mask_graphics_47,x:130,y:130}).wait(1).to({graphics:mask_graphics_48,x:130,y:130}).wait(1).to({graphics:mask_graphics_49,x:130,y:130}).wait(1).to({graphics:mask_graphics_50,x:130,y:130}).wait(1).to({graphics:mask_graphics_51,x:130,y:130}).wait(1).to({graphics:mask_graphics_52,x:130,y:130}).wait(1).to({graphics:mask_graphics_53,x:130,y:130}).wait(36));
// Photo_obj_
this.Photo = new lib.Scene_1_Photo();
this.Photo.name = "Photo";
this.Photo.setTransform(0.2,-0.05,2.5188,2.5188,19.9929,0,0,205.7,182.3);
this.Photo.depth = 0;
this.Photo.isAttachedToCamera = 0
this.Photo.isAttachedToMask = 0
this.Photo.layerDepth = 0
this.Photo.layerIndex = 5
this.Photo.maskLayerName = 0
var maskedShapeInstanceList = [this.Photo];
for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) {
maskedShapeInstanceList[shapedInstanceItr].mask = mask;
}
this.timeline.addTween(cjs.Tween.get(this.Photo).wait(29).to({regX:0,regY:0,scaleX:1,scaleY:1,rotation:0,x:0,y:0},0).wait(60));
// Borders_obj_
this.Borders = new lib.Scene_1_Borders();
this.Borders.name = "Borders";
this.Borders.setTransform(373.5,210,2.5188,2.5188,19.9929,0,0,373.5,210);
this.Borders.depth = 0;
this.Borders.isAttachedToCamera = 0
this.Borders.isAttachedToMask = 0
this.Borders.layerDepth = 0
this.Borders.layerIndex = 6
this.Borders.maskLayerName = 0
this.timeline.addTween(cjs.Tween.get(this.Borders).wait(89));
// Wash_obj_
this.Wash = new lib.Scene_1_Wash();
this.Wash.name = "Wash";
this.Wash.setTransform(373.6,315.1,2.5188,2.5188,19.9929,0,0,387.8,249.2);
this.Wash.depth = 0;
this.Wash.isAttachedToCamera = 0
this.Wash.isAttachedToMask = 0
this.Wash.layerDepth = 0
this.Wash.layerIndex = 7
this.Wash.maskLayerName = 0
this.timeline.addTween(cjs.Tween.get(this.Wash).wait(89));
// Texture_obj_
this.Texture = new lib.Scene_1_Texture();
this.Texture.name = "Texture";
this.Texture.setTransform(373.5,210,2.5188,2.5188,19.9929,0,0,373.5,210);
this.Texture.depth = 0;
this.Texture.isAttachedToCamera = 0
this.Texture.isAttachedToMask = 0
this.Texture.layerDepth = 0
this.Texture.layerIndex = 8
this.Texture.maskLayerName = 0
this.timeline.addTween(cjs.Tween.get(this.Texture).wait(89));
this._renderFirstFrame();
}).prototype = p = new lib.AnMovieClip();
p.nominalBounds = new cjs.Rectangle(371.6,207.4,998.8000000000001,215.20000000000002);
// library properties:
lib.properties = {
id: '2AF35568D952C54885952144FA3972C2',
width: 747,
height: 420,
fps: 30,
color: "#E2C59F",
opacity: 1.00,
manifest: [
{src:"images/personal_landing_HTML5 Canvas_atlas_1.png?1587840488657", id:"personal_landing_HTML5 Canvas_atlas_1"},
{src:"images/personal_landing_HTML5 Canvas_atlas_2.png?1587840488658", id:"personal_landing_HTML5 Canvas_atlas_2"},
{src:"images/personal_landing_HTML5 Canvas_atlas_3.png?1587840488661", id:"personal_landing_HTML5 Canvas_atlas_3"}
],
preloads: []
};
// bootstrap callback support:
(lib.Stage = function(canvas) {
createjs.Stage.call(this, canvas);
}).prototype = p = new createjs.Stage();
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['2AF35568D952C54885952144FA3972C2'] = {
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];
}
p._getProjectionMatrix = function(container, totalDepth) { var focalLength = 528.25;
var projectionCenter = { x : lib.properties.width/2, y : lib.properties.height/2 };
var scale = (totalDepth + focalLength)/focalLength;
var scaleMat = new createjs.Matrix2D;
scaleMat.a = 1/scale;
scaleMat.d = 1/scale;
var projMat = new createjs.Matrix2D;
projMat.tx = -projectionCenter.x;
projMat.ty = -projectionCenter.y;
projMat = projMat.prependMatrix(scaleMat);
projMat.tx += projectionCenter.x;
projMat.ty += projectionCenter.y;
return projMat;
}
p._handleTick = function(event) {
var cameraInstance = exportRoot.___camera___instance;
if(cameraInstance !== undefined && cameraInstance.pinToObject !== undefined)
{
cameraInstance.x = cameraInstance.pinToObject.x + cameraInstance.pinToObject.pinOffsetX;
cameraInstance.y = cameraInstance.pinToObject.y + cameraInstance.pinToObject.pinOffsetY;
if(cameraInstance.pinToObject.parent !== undefined && cameraInstance.pinToObject.parent.depth !== undefined)
cameraInstance.depth = cameraInstance.pinToObject.parent.depth + cameraInstance.pinToObject.pinOffsetZ;
}
stage._applyLayerZDepth(exportRoot);
}
p._applyLayerZDepth = function(parent)
{
var cameraInstance = parent.___camera___instance;
var focalLength = 528.25;
var projectionCenter = { 'x' : 0, 'y' : 0};
if(parent === exportRoot)
{
var stageCenter = { 'x' : lib.properties.width/2, 'y' : lib.properties.height/2 };
projectionCenter.x = stageCenter.x;
projectionCenter.y = stageCenter.y;
}
for(child in parent.children)
{
var layerObj = parent.children[child];
if(layerObj == cameraInstance)
continue;
stage._applyLayerZDepth(layerObj, cameraInstance);
if(layerObj.layerDepth === undefined)
continue;
if(layerObj.currentFrame != layerObj.parent.currentFrame)
{
layerObj.gotoAndPlay(layerObj.parent.currentFrame);
}
var matToApply = new createjs.Matrix2D;
var cameraMat = new createjs.Matrix2D;
var totalDepth = layerObj.layerDepth ? layerObj.layerDepth : 0;
var cameraDepth = 0;
if(cameraInstance && !layerObj.isAttachedToCamera)
{
var mat = cameraInstance.getMatrix();
mat.tx -= projectionCenter.x;
mat.ty -= projectionCenter.y;
cameraMat = mat.invert();
cameraMat.prependTransform(projectionCenter.x, projectionCenter.y, 1, 1, 0, 0, 0, 0, 0);
cameraMat.appendTransform(-projectionCenter.x, -projectionCenter.y, 1, 1, 0, 0, 0, 0, 0);
if(cameraInstance.depth)
cameraDepth = cameraInstance.depth;
}
if(layerObj.depth)
{
totalDepth = layerObj.depth;
}
//Offset by camera depth
totalDepth -= cameraDepth;
if(totalDepth < -focalLength)
{
matToApply.a = 0;
matToApply.d = 0;
}
else
{
if(layerObj.layerDepth)
{
var sizeLockedMat = stage._getProjectionMatrix(parent, layerObj.layerDepth);
if(sizeLockedMat)
{
sizeLockedMat.invert();
matToApply.prependMatrix(sizeLockedMat);
}
}
matToApply.prependMatrix(cameraMat);
var projMat = stage._getProjectionMatrix(parent, totalDepth);
if(projMat)
{
matToApply.prependMatrix(projMat);
}
}
layerObj.transformMatrix = matToApply;
}
}
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;
}
}
// Virtual camera API :
an.VirtualCamera = new function() {
var _camera = new Object();
function VC(timeline) {
this.timeline = timeline;
this.camera = timeline.___camera___instance;
this.centerX = lib.properties.width / 2;
this.centerY = lib.properties.height / 2;
this.camAxisX = this.camera.x;
this.camAxisY = this.camera.y;
if(timeline.___camera___instance == null || timeline.___camera___instance == undefined ) {
timeline.___camera___instance = new cjs.MovieClip();
timeline.___camera___instance.visible = false;
timeline.___camera___instance.parent = timeline;
timeline.___camera___instance.setTransform(this.centerX, this.centerY);
}
this.camera = timeline.___camera___instance;
}
VC.prototype.moveBy = function(x, y, z) {
z = typeof z !== 'undefined' ? z : 0;
var position = this.___getCamPosition___();
var rotAngle = this.getRotation()*Math.PI/180;
var sinTheta = Math.sin(rotAngle);
var cosTheta = Math.cos(rotAngle);
var offX= x*cosTheta + y*sinTheta;
var offY = y*cosTheta - x*sinTheta;
this.camAxisX = this.camAxisX - x;
this.camAxisY = this.camAxisY - y;
var posX = position.x + offX;
var posY = position.y + offY;
this.camera.x = this.centerX - posX;
this.camera.y = this.centerY - posY;
this.camera.depth += z;
};
VC.prototype.setPosition = function(x, y, z) {
z = typeof z !== 'undefined' ? z : 0;
const MAX_X = 10000;
const MIN_X = -10000;
const MAX_Y = 10000;
const MIN_Y = -10000;
const MAX_Z = 10000;
const MIN_Z = -5000;
if(x > MAX_X)
x = MAX_X;
else if(x < MIN_X)
x = MIN_X;
if(y > MAX_Y)
y = MAX_Y;
else if(y < MIN_Y)
y = MIN_Y;
if(z > MAX_Z)
z = MAX_Z;
else if(z < MIN_Z)
z = MIN_Z;
var rotAngle = this.getRotation()*Math.PI/180;
var sinTheta = Math.sin(rotAngle);
var cosTheta = Math.cos(rotAngle);
var offX= x*cosTheta + y*sinTheta;
var offY = y*cosTheta - x*sinTheta;
this.camAxisX = this.centerX - x;
this.camAxisY = this.centerY - y;
this.camera.x = this.centerX - offX;
this.camera.y = this.centerY - offY;
this.camera.depth = z;
};
VC.prototype.getPosition = function() {
var loc = new Object();
loc['x'] = this.centerX - this.camAxisX;
loc['y'] = this.centerY - this.camAxisY;
loc['z'] = this.camera.depth;
return loc;
};
VC.prototype.resetPosition = function() {
this.setPosition(0, 0);
};
VC.prototype.zoomBy = function(zoom) {
this.setZoom( (this.getZoom() * zoom) / 100);
};
VC.prototype.setZoom = function(zoom) {
const MAX_zoom = 10000;
const MIN_zoom = 1;
if(zoom > MAX_zoom)
zoom = MAX_zoom;
else if(zoom < MIN_zoom)
zoom = MIN_zoom;
this.camera.scaleX = 100 / zoom;
this.camera.scaleY = 100 / zoom;
};
VC.prototype.getZoom = function() {
return 100 / this.camera.scaleX;
};
VC.prototype.resetZoom = function() {
this.setZoom(100);
};
VC.prototype.rotateBy = function(angle) {
this.setRotation( this.getRotation() + angle );
};
VC.prototype.setRotation = function(angle) {
const MAX_angle = 180;
const MIN_angle = -179;
if(angle > MAX_angle)
angle = MAX_angle;
else if(angle < MIN_angle)
angle = MIN_angle;
this.camera.rotation = -angle;
};
VC.prototype.getRotation = function() {
return -this.camera.rotation;
};
VC.prototype.resetRotation = function() {
this.setRotation(0);
};
VC.prototype.reset = function() {
this.resetPosition();
this.resetZoom();
this.resetRotation();
this.unpinCamera();
};
VC.prototype.setZDepth = function(zDepth) {
const MAX_zDepth = 10000;
const MIN_zDepth = -5000;
if(zDepth > MAX_zDepth)
zDepth = MAX_zDepth;
else if(zDepth < MIN_zDepth)
zDepth = MIN_zDepth;
this.camera.depth = zDepth;
}
VC.prototype.getZDepth = function() {
return this.camera.depth;
}
VC.prototype.resetZDepth = function() {
this.camera.depth = 0;
}
VC.prototype.pinCameraToObject = function(obj, offsetX, offsetY, offsetZ) {
offsetX = typeof offsetX !== 'undefined' ? offsetX : 0;
offsetY = typeof offsetY !== 'undefined' ? offsetY : 0;
offsetZ = typeof offsetZ !== 'undefined' ? offsetZ : 0;
if(obj === undefined)
return;
this.camera.pinToObject = obj;
this.camera.pinToObject.pinOffsetX = offsetX;
this.camera.pinToObject.pinOffsetY = offsetY;
this.camera.pinToObject.pinOffsetZ = offsetZ;
};
VC.prototype.setPinOffset = function(offsetX, offsetY, offsetZ) {
if(this.camera.pinToObject != undefined) {
this.camera.pinToObject.pinOffsetX = offsetX;
this.camera.pinToObject.pinOffsetY = offsetY;
this.camera.pinToObject.pinOffsetZ = offsetZ;
}
};
VC.prototype.unpinCamera = function() {
this.camera.pinToObject = undefined;
};
VC.prototype.___getCamPosition___ = function() {
var loc = new Object();
loc['x'] = this.centerX - this.camera.x;
loc['y'] = this.centerY - this.camera.y;
loc['z'] = this.depth;
return loc;
};
this.getCamera = function(timeline) {
timeline = typeof timeline !== 'undefined' ? timeline : null;
if(timeline === null) timeline = exportRoot;
if(_camera[timeline] == undefined)
_camera[timeline] = new VC(timeline);
return _camera[timeline];
}
this.getCameraAsMovieClip = function(timeline) {
timeline = typeof timeline !== 'undefined' ? timeline : null;
if(timeline === null) timeline = exportRoot;
return this.getCamera(timeline).camera;
}
}
// Layer depth API :
an.Layer = new function() {
this.getLayerZDepth = function(timeline, layerName)
{
if(layerName === "Camera")
layerName = "___camera___instance";
var script = "if(timeline." + layerName + ") timeline." + layerName + ".depth; else 0;";
return eval(script);
}
this.setLayerZDepth = function(timeline, layerName, zDepth)
{
const MAX_zDepth = 10000;
const MIN_zDepth = -5000;
if(zDepth > MAX_zDepth)
zDepth = MAX_zDepth;
else if(zDepth < MIN_zDepth)
zDepth = MIN_zDepth;
if(layerName === "Camera")
layerName = "___camera___instance";
var script = "if(timeline." + layerName + ") timeline." + layerName + ".depth = " + zDepth + ";";
eval(script);
}
this.removeLayer = function(timeline, layerName)
{
if(layerName === "Camera")
layerName = "___camera___instance";
var script = "if(timeline." + layerName + ") timeline.removeChild(timeline." + layerName + ");";
eval(script);
}
this.addNewLayer = function(timeline, layerName, zDepth)
{
if(layerName === "Camera")
layerName = "___camera___instance";
zDepth = typeof zDepth !== 'undefined' ? zDepth : 0;
var layer = new createjs.MovieClip();
layer.name = layerName;
layer.depth = zDepth;
layer.layerIndex = 0;
timeline.addChild(layer);
}
}
an.handleSoundStreamOnTick = function(event) {
if(!event.paused){
var stageChild = stage.getChildAt(0);
if(!stageChild.paused){
stageChild.syncStreamSounds();
}
}
}
})(createjs = createjs||{}, AdobeAn = AdobeAn||{});
var createjs, AdobeAn;
Copy link to clipboard
Copied
v20.0.3 has a known issue with images not being exported to the /images folder, depending on your Publish settings. Have you tried downgrading to v20.0.2?
While I don't have any projects with such extensive script, downgrading for me fixed publishing issues I was having with the latest version of Animate.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Downgrading to v20.0.2 fixed publishing issues. It helped. Thanks. You are a genius! Help center couldn't resolve that issue. You could.
Copy link to clipboard
Copied
Does the console not reveal any errors?
Copy link to clipboard
Copied
Thanks for asking. How I Can do it?
Copy link to clipboard
Copied
Hi Michael, I apologize but your code is more extensive than I can go through. I don't know what it is supposed to do.
F12 key in Chrome will bring up the browser Console.
Copy link to clipboard
Copied
Thanks
Copy link to clipboard
Copied
Thanks helping.
Downgrading to v20.0.2 fixed publishing issues
Copy link to clipboard
Copied
Failed to load resource: the server responded with a status of 404 (Not Found)
personal_landing_HTML5%20Canvas_atlas_2.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:8090/favicon.ico:1 Failed to load resource: the server responded with a status of 404 (Not Found)
personal_landing_HTML5%20Canvas_atlas_3.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
createjs.min.js:12 Uncaught TypeError: Cannot read property 'getContext' of undefined
at a.b._parseData (createjs.min.js:12)
at new a (createjs.min.js:12)
at handleComplete (personal_landing_HTML5 Canvas.html?208:43)
at personal_landing_HTML5 Canvas.html?208:28
at a.b._dispatchEvent (createjs.min.js:12)
at a.b._dispatchEvent (createjs.min.js:12)
at a.b.dispatchEvent (createjs.min.js:12)
at a.b._sendComplete (createjs.min.js:16)
at a.b._loadNext (createjs.min.js:17)
at a.b._handleError (createjs.min.js:17)
Copy link to clipboard
Copied
Hello All,
I am having this same issue - using version 21.0.1. I am going through the Classroom in a Book 2020 edition. I have changed publish settings multiple times. For an animation with little to no code it works fine. When I get deeper into the text, any animation with code works in Test Mode but not on Publish. I am especially stuck on Lesson 8. I have tried exporting the Image Assets as all three options (Assets, Spritesheet, and Texture). I have also tried toggling on/off the "Export to same folder as output file" option. When in the browser, I can right-click and see the control options but the screen is still white. I am stumped. Is anyone else running into this issue?
If it helps, my own animations (simple) work fine.
Thanks!

