Frame 3
stop();
_global.showboolean = 0;
_global.havemusic = 0;
_global.autoplay = 1;
_global.autorepeat = 1;
_global.showbutton = 1;
_global.enableurl = 1;
_global.continueplay = 1;
_global.total_images = 76;
_global.flash_width = 640;
_global.flash_height = 480;
_global.thumnail_width = 120;
_global.thumnail_height = 90;
_global.frame_rate = 25;
_global.show_title = 0;
_global.album_title = "Star Ocean";
_global.url_target = 0;
_global.title_0 = "001";
_global.title_1 = "033c419c79d7155990d873400c2a3a0649bda4cc";
_global.title_2 = "06305f1ea6507062766428039a7586fb478580d2";
_global.title_3 = "07fc6d51078ec92739eb1ffa37e7a8e152ea7db9";
_global.title_4 = "0bdfb51710d4bcd8170bd049bb9f5ad49848948c";
_global.title_5 = "0f4848f4ef4082f49d1de31094e61f3a918d4cb8";
_global.title_6 = "100091 - Sophia_Esteed Star_Ocean";
_global.title_7 = "119bd76e84c105d2937147e36e290a226bd833b8";
_global.title_8 = "11a3dbcc9c8082f2fa4201466fd72b3a584524e1";
_global.title_9 = "169d3eb66e870aa3fec4d47013a87dc7790b460e";
_global.title_10 = "1cbba09ed7fe52cb84a5816381fb7b04ca7034cc";
_global.title_11 = "1ec578393da13129efea59f1be50ecc4248afb8a";
_global.title_12 = "1f9238ca6e529e5249fec02daa5aea3d069be72d";
_global.title_13 = "201064020e3fb9d0ba4e0b358f53fc91851475ee";
_global.title_14 = "20288598bc1aef978c4cec832510c6e8b0d5c021";
_global.title_15 = "25fb107a23a123b1c3a581a5811c28c33d2834df";
_global.title_16 = "273031 - Edge_Maverick Reimi_Saionji Star_Ocean Star_Ocean_4 The_Last_Hope";
_global.title_17 = "28e8a4c6a3d6dd46af1ac2690897b332436eb882";
_global.title_18 = "29934925d5db6d6c1567d518c7a33eb34f649cf1";
_global.title_19 = "2a21c5920403a92e1256c5997b21f4c4b81a2f13";
_global.title_20 = "2ca960d95fd35fc0728e9a87ab91481176e94b59";
_global.title_21 = "32cb53989d8ff28bd9af53d106f8979b5c31f59d";
_global.title_22 = "33ffbe323e1406bd92777c43be2d32b24ac64d02";
_global.title_23 = "34975 - Maria_Traydor Star_Ocean";
_global.title_24 = "34b1aad3d0ffa27360c034bd9a046037c1d6ad5f";
_global.title_25 = "359542900451196c5a8d103738877ec6e8bd8b88";
_global.title_26 = "37052e23c34923dbea95455094fd8f4434a09c3e";
_global.title_27 = "382c7d467a24406e048b1ba68a9c4be154471d47";
_global.title_28 = "3f7863523679c4240882e4c35973e82684c4cb12";
_global.title_29 = "3fe660ce3f4d4b84c7e4ce7cd4ca694733c855a1";
_global.title_30 = "42ab5ed50dbf3ea36b444a08cef8171ba547f3cd";
_global.title_31 = "44236 - Maria_Traydor Star_Ocean";
_global.title_32 = "45db34b02fd86f78908ec740f98d1b04b0e7c28e";
_global.title_33 = "483704 - Lymle_Lemuri_Phi Star_Ocean Star_Ocean_4 The_Last_Hope";
_global.title_34 = "483705 - Lymle_Lemuri_Phi Star_Ocean Star_Ocean_4 The_Last_Hope";
_global.title_35 = "515af6cbaf94bb3029ae19398b5d39de238edf94";
_global.title_36 = "57a277ba8a45d9600b9dfc33a52f0db3174a3f97";
_global.title_37 = "596c9ec15a390a0596a77bdf06db2cd9aa022c6c";
_global.title_38 = "59c98460472bcd6309503ab7c33693a6186f7a89";
_global.title_39 = "5c09c2a68f414f21b33275f5573c69681e3f12f2";
_global.title_40 = "5c5cc323bdf50de20f278b43e5958112a299eca8";
_global.title_41 = "5e5838b9cb503fa273c120631de011bfe08dc06e";
_global.title_42 = "64505cfecdc19f1c150af4403863c28a9e4ae937";
_global.title_43 = "65068 - Celine_Jules Hiragi Rena_lanford Star_Ocean Star_Ocean-_The_Second_Story";
_global.title_44 = "65117 - Rena_lanford Star_Ocean Star_Ocean-_The_Second_Story";
_global.title_45 = "65276 - Rena_lanford Star_Ocean Star_Ocean-_The_Second_Story";
_global.title_46 = "662006e31a8957ee79cb2c0e1b65c9cca7eaa1c8";
_global.title_47 = "6720a2a14094ca69d41356210319a9b34f8e7edb";
_global.title_48 = "69e8a38316b6c66bed99d10af0805cc0c5aabd99";
_global.title_49 = "6a36cc864c86468a309bccdc705af6932e337232";
_global.title_50 = "191632 - Chisato_Madison Star_Ocean Star_Ocean-_The_Second_Story";
_global.title_51 = "2b444570002b8f5cb92ad25bb4f70f951fcb1420";
_global.title_52 = "420120 - Claire_Lasbard Maria_Traydor Mirage_Koas Nel_Zelpher Peppita_Rossetti Sophia_Esteed Star_Ocean";
_global.title_53 = "5c5cc299ffdfd00e38bc2b0901f78140968edb5d";
_global.title_54 = "6dabe245a0bca982d97041ea7c3b5a66741d2aae";
_global.title_55 = "6f46346b4593cb159fab8d1de3f9bb5ea0ee45e3";
_global.title_56 = "71c063ab1ab393c885b8da63a13667b7f8319b42";
_global.title_57 = "73275312d5cc69e1e7272f58d92488c1aa0b3201";
_global.title_58 = "73c4dbb101066b371ee33f2b4dd9ea4fde1b25e1";
_global.title_59 = "752d34863a0e40f06a6d3a64b46369e82a0d5fce";
_global.title_60 = "77981c229a46f2cdc4a1e337ffd097639396b31c";
_global.title_61 = "77c6352dfb1d73f682e3e2e3e06dafe6d9912b64";
_global.title_62 = "7caf0e662331ff5c8b1088969c35ce8d60c10db2";
_global.title_63 = "7de40e526553e17452f935bf45573bc3e2486303";
_global.title_64 = "7e4b3faad9987697191b3ff464fee273435682fe";
_global.title_65 = "81a404438dc865b23e1086fac4f8fdf6fcebf54f";
_global.title_66 = "8251376e3facf8cb80651f57f9c64542dcba554a";
_global.title_67 = "83487 - Rena_lanford Star_Ocean Star_Ocean-_The_Second_Story";
_global.title_68 = "83498 - Rena_lanford Star_Ocean Star_Ocean-_The_Second_Story";
_global.title_69 = "85c4ca60599e1881e78137e22381de198a6cfe09";
_global.title_70 = "880101 - Sophia_Esteed Star_Ocean Star_Ocean_3 harmonist_eleven";
_global.title_71 = "8a709a9802170fe4c342a4c289beb637c90687aa";
_global.title_72 = "8adb9f988f93f44ef549fd0d79001d86b378976d";
_global.title_73 = "8ca2548facc16c427b6e503337b4db42285de4b8";
_global.title_74 = "907274e5276502aec7d682cbca78cb4c65da962c";
_global.title_75 = "92a516b0acbfe5ba51f967e8de09e6245ff9b702";
_global.desc_52 = "an";
_global.url_0 = "http://jdcarer.weebly.com";
_global.url_1 = "http://jdcarer.weebly.com";
_global.url_2 = "http://jdcarer.weebly.com";
_global.url_3 = "http://jdcarer.weebly.com";
_global.url_4 = "http://jdcarer.weebly.com";
_global.url_5 = "http://jdcarer.weebly.com";
_global.url_6 = "http://jdcarer.weebly.com";
_global.url_7 = "http://jdcarer.weebly.com";
_global.url_8 = "http://jdcarer.weebly.com";
_global.url_9 = "http://jdcarer.weebly.com";
_global.url_10 = "http://jdcarer.weebly.com";
_global.url_11 = "http://jdcarer.weebly.com";
_global.url_12 = "http://jdcarer.weebly.com";
_global.url_13 = "http://jdcarer.weebly.com";
_global.url_14 = "http://jdcarer.weebly.com";
_global.url_15 = "http://jdcarer.weebly.com";
_global.url_16 = "http://jdcarer.weebly.com";
_global.url_17 = "http://jdcarer.weebly.com";
_global.url_18 = "http://jdcarer.weebly.com";
_global.url_19 = "http://jdcarer.weebly.com";
_global.url_20 = "http://jdcarer.weebly.com";
_global.url_21 = "http://jdcarer.weebly.com";
_global.url_22 = "http://jdcarer.weebly.com";
_global.url_23 = "http://jdcarer.weebly.com";
_global.url_24 = "http://jdcarer.weebly.com";
_global.url_25 = "http://jdcarer.weebly.com";
_global.url_26 = "http://jdcarer.weebly.com";
_global.url_27 = "http://jdcarer.weebly.com";
_global.url_28 = "http://jdcarer.weebly.com";
_global.url_29 = "http://jdcarer.weebly.com";
_global.url_30 = "http://jdcarer.weebly.com";
_global.url_31 = "http://jdcarer.weebly.com";
_global.url_32 = "http://jdcarer.weebly.com";
_global.url_33 = "http://jdcarer.weebly.com";
_global.url_34 = "http://jdcarer.weebly.com";
_global.url_35 = "http://jdcarer.weebly.com";
_global.url_36 = "http://jdcarer.weebly.com";
_global.url_37 = "http://jdcarer.weebly.com";
_global.url_38 = "http://jdcarer.weebly.com";
_global.url_39 = "http://jdcarer.weebly.com";
_global.url_40 = "http://jdcarer.weebly.com";
_global.url_41 = "http://jdcarer.weebly.com";
_global.url_42 = "http://jdcarer.weebly.com";
_global.url_43 = "http://jdcarer.weebly.com";
_global.url_44 = "http://jdcarer.weebly.com";
_global.url_45 = "http://jdcarer.weebly.com";
_global.url_46 = "http://jdcarer.weebly.com";
_global.url_47 = "http://jdcarer.weebly.com";
_global.url_48 = "http://jdcarer.weebly.com";
_global.url_49 = "http://jdcarer.weebly.com";
_global.url_50 = "http://jdcarer.weebly.com";
_global.url_51 = "http://jdcarer.weebly.com";
_global.url_52 = "http://jdcarer.weebly.com";
_global.url_53 = "http://jdcarer.weebly.com";
_global.url_54 = "http://jdcarer.weebly.com";
_global.url_55 = "http://jdcarer.weebly.com";
_global.url_56 = "http://jdcarer.weebly.com";
_global.url_57 = "http://jdcarer.weebly.com";
_global.url_58 = "http://jdcarer.weebly.com";
_global.url_59 = "http://jdcarer.weebly.com";
_global.url_60 = "http://jdcarer.weebly.com";
_global.url_61 = "http://jdcarer.weebly.com";
_global.url_62 = "http://jdcarer.weebly.com";
_global.url_63 = "http://jdcarer.weebly.com";
_global.url_64 = "http://jdcarer.weebly.com";
_global.url_65 = "http://jdcarer.weebly.com";
_global.url_66 = "http://jdcarer.weebly.com";
_global.url_67 = "http://jdcarer.weebly.com";
_global.url_68 = "http://jdcarer.weebly.com";
_global.url_69 = "http://jdcarer.weebly.com";
_global.url_70 = "http://jdcarer.weebly.com";
_global.url_71 = "http://jdcarer.weebly.com";
_global.url_72 = "http://jdcarer.weebly.com";
_global.url_73 = "http://jdcarer.weebly.com";
_global.url_74 = "http://jdcarer.weebly.com";
_global.url_75 = "http://jdcarer.weebly.com";
_global.trans_id_0 = 4;
_global.trans_id_1 = 4;
_global.trans_id_2 = 4;
_global.trans_id_3 = 4;
_global.trans_id_4 = 4;
_global.trans_id_5 = 4;
_global.trans_id_6 = 4;
_global.trans_id_7 = 4;
_global.trans_id_8 = 4;
_global.trans_id_9 = 4;
_global.trans_id_10 = 4;
_global.trans_id_11 = 4;
_global.trans_id_12 = 4;
_global.trans_id_13 = 4;
_global.trans_id_14 = 4;
_global.trans_id_15 = 4;
_global.trans_id_16 = 4;
_global.trans_id_17 = 4;
_global.trans_id_18 = 4;
_global.trans_id_19 = 4;
_global.trans_id_20 = 4;
_global.trans_id_21 = 4;
_global.trans_id_22 = 4;
_global.trans_id_23 = 4;
_global.trans_id_24 = 4;
_global.trans_id_25 = 4;
_global.trans_id_26 = 4;
_global.trans_id_27 = 4;
_global.trans_id_28 = 4;
_global.trans_id_29 = 4;
_global.trans_id_30 = 4;
_global.trans_id_31 = 4;
_global.trans_id_32 = 4;
_global.trans_id_33 = 4;
_global.trans_id_34 = 4;
_global.trans_id_35 = 4;
_global.trans_id_36 = 4;
_global.trans_id_37 = 4;
_global.trans_id_38 = 4;
_global.trans_id_39 = 4;
_global.trans_id_40 = 4;
_global.trans_id_41 = 4;
_global.trans_id_42 = 4;
_global.trans_id_43 = 4;
_global.trans_id_44 = 4;
_global.trans_id_45 = 4;
_global.trans_id_46 = 4;
_global.trans_id_47 = 4;
_global.trans_id_48 = 4;
_global.trans_id_49 = 4;
_global.trans_id_50 = 4;
_global.trans_id_51 = 4;
_global.trans_id_52 = 4;
_global.trans_id_53 = 4;
_global.trans_id_54 = 4;
_global.trans_id_55 = 4;
_global.trans_id_56 = 4;
_global.trans_id_57 = 4;
_global.trans_id_58 = 4;
_global.trans_id_59 = 4;
_global.trans_id_60 = 4;
_global.trans_id_61 = 4;
_global.trans_id_62 = 4;
_global.trans_id_63 = 4;
_global.trans_id_64 = 4;
_global.trans_id_65 = 4;
_global.trans_id_66 = 4;
_global.trans_id_67 = 4;
_global.trans_id_68 = 4;
_global.trans_id_69 = 4;
_global.trans_id_70 = 4;
_global.trans_id_71 = 4;
_global.trans_id_72 = 4;
_global.trans_id_73 = 4;
_global.trans_id_74 = 4;
_global.trans_id_75 = 4;
_global.trans_0 = 2;
_global.trans_1 = 2;
_global.trans_2 = 2;
_global.trans_3 = 2;
_global.trans_4 = 2;
_global.trans_5 = 2;
_global.trans_6 = 2;
_global.trans_7 = 2;
_global.trans_8 = 2;
_global.trans_9 = 2;
_global.trans_10 = 2;
_global.trans_11 = 2;
_global.trans_12 = 2;
_global.trans_13 = 2;
_global.trans_14 = 2;
_global.trans_15 = 2;
_global.trans_16 = 2;
_global.trans_17 = 2;
_global.trans_18 = 2;
_global.trans_19 = 2;
_global.trans_20 = 2;
_global.trans_21 = 2;
_global.trans_22 = 2;
_global.trans_23 = 2;
_global.trans_24 = 2;
_global.trans_25 = 2;
_global.trans_26 = 2;
_global.trans_27 = 2;
_global.trans_28 = 2;
_global.trans_29 = 2;
_global.trans_30 = 2;
_global.trans_31 = 2;
_global.trans_32 = 2;
_global.trans_33 = 2;
_global.trans_34 = 2;
_global.trans_35 = 2;
_global.trans_36 = 2;
_global.trans_37 = 2;
_global.trans_38 = 2;
_global.trans_39 = 2;
_global.trans_40 = 2;
_global.trans_41 = 2;
_global.trans_42 = 2;
_global.trans_43 = 2;
_global.trans_44 = 2;
_global.trans_45 = 2;
_global.trans_46 = 2;
_global.trans_47 = 2;
_global.trans_48 = 2;
_global.trans_49 = 2;
_global.trans_50 = 2;
_global.trans_51 = 2;
_global.trans_52 = 2;
_global.trans_53 = 2;
_global.trans_54 = 2;
_global.trans_55 = 2;
_global.trans_56 = 2;
_global.trans_57 = 2;
_global.trans_58 = 2;
_global.trans_59 = 2;
_global.trans_60 = 2;
_global.trans_61 = 2;
_global.trans_62 = 2;
_global.trans_63 = 2;
_global.trans_64 = 2;
_global.trans_65 = 2;
_global.trans_66 = 2;
_global.trans_67 = 2;
_global.trans_68 = 2;
_global.trans_69 = 2;
_global.trans_70 = 2;
_global.trans_71 = 2;
_global.trans_72 = 2;
_global.trans_73 = 2;
_global.trans_74 = 2;
_global.trans_75 = 2;
_global.show_0 = 2;
_global.show_1 = 2;
_global.show_2 = 2;
_global.show_3 = 2;
_global.show_4 = 2;
_global.show_5 = 2;
_global.show_6 = 2;
_global.show_7 = 2;
_global.show_8 = 2;
_global.show_9 = 2;
_global.show_10 = 2;
_global.show_11 = 2;
_global.show_12 = 2;
_global.show_13 = 2;
_global.show_14 = 2;
_global.show_15 = 2;
_global.show_16 = 2;
_global.show_17 = 2;
_global.show_18 = 2;
_global.show_19 = 2;
_global.show_20 = 2;
_global.show_21 = 2;
_global.show_22 = 2;
_global.show_23 = 2;
_global.show_24 = 2;
_global.show_25 = 2;
_global.show_26 = 2;
_global.show_27 = 2;
_global.show_28 = 2;
_global.show_29 = 2;
_global.show_30 = 2;
_global.show_31 = 2;
_global.show_32 = 2;
_global.show_33 = 2;
_global.show_34 = 2;
_global.show_35 = 2;
_global.show_36 = 2;
_global.show_37 = 2;
_global.show_38 = 2;
_global.show_39 = 2;
_global.show_40 = 2;
_global.show_41 = 2;
_global.show_42 = 2;
_global.show_43 = 2;
_global.show_44 = 2;
_global.show_45 = 2;
_global.show_46 = 2;
_global.show_47 = 2;
_global.show_48 = 2;
_global.show_49 = 2;
_global.show_50 = 2;
_global.show_51 = 2;
_global.show_52 = 2;
_global.show_53 = 2;
_global.show_54 = 2;
_global.show_55 = 2;
_global.show_56 = 2;
_global.show_57 = 2;
_global.show_58 = 2;
_global.show_59 = 2;
_global.show_60 = 2;
_global.show_61 = 2;
_global.show_62 = 2;
_global.show_63 = 2;
_global.show_64 = 2;
_global.show_65 = 2;
_global.show_66 = 2;
_global.show_67 = 2;
_global.show_68 = 2;
_global.show_69 = 2;
_global.show_70 = 2;
_global.show_71 = 2;
_global.show_72 = 2;
_global.show_73 = 2;
_global.show_74 = 2;
_global.show_75 = 2;
_global.file_0 = "images\\0.jpg";
_global.file_1 = "images\\1.jpg";
_global.file_2 = "images\\2.jpg";
_global.file_3 = "images\\3.jpg";
_global.file_4 = "images\\4.jpg";
_global.file_5 = "images\\5.jpg";
_global.file_6 = "images\\6.jpg";
_global.file_7 = "images\\7.jpg";
_global.file_8 = "images\\8.jpg";
_global.file_9 = "images\\9.jpg";
_global.file_10 = "images\\10.jpg";
_global.file_11 = "images\\11.jpg";
_global.file_12 = "images\\12.jpg";
_global.file_13 = "images\\13.jpg";
_global.file_14 = "images\\14.jpg";
_global.file_15 = "images\\15.jpg";
_global.file_16 = "images\\16.jpg";
_global.file_17 = "images\\17.jpg";
_global.file_18 = "images\\18.jpg";
_global.file_19 = "images\\19.jpg";
_global.file_20 = "images\\20.jpg";
_global.file_21 = "images\\21.jpg";
_global.file_22 = "images\\22.jpg";
_global.file_23 = "images\\23.jpg";
_global.file_24 = "images\\24.jpg";
_global.file_25 = "images\\25.jpg";
_global.file_26 = "images\\26.jpg";
_global.file_27 = "images\\27.jpg";
_global.file_28 = "images\\28.jpg";
_global.file_29 = "images\\29.jpg";
_global.file_30 = "images\\30.jpg";
_global.file_31 = "images\\31.jpg";
_global.file_32 = "images\\32.jpg";
_global.file_33 = "images\\33.jpg";
_global.file_34 = "images\\34.jpg";
_global.file_35 = "images\\35.jpg";
_global.file_36 = "images\\36.jpg";
_global.file_37 = "images\\37.jpg";
_global.file_38 = "images\\38.jpg";
_global.file_39 = "images\\39.jpg";
_global.file_40 = "images\\40.jpg";
_global.file_41 = "images\\41.jpg";
_global.file_42 = "images\\42.jpg";
_global.file_43 = "images\\43.jpg";
_global.file_44 = "images\\44.jpg";
_global.file_45 = "images\\45.jpg";
_global.file_46 = "images\\46.jpg";
_global.file_47 = "images\\47.jpg";
_global.file_48 = "images\\48.jpg";
_global.file_49 = "images\\49.jpg";
_global.file_50 = "images\\50.jpg";
_global.file_51 = "images\\51.jpg";
_global.file_52 = "images\\52.jpg";
_global.file_53 = "images\\53.jpg";
_global.file_54 = "images\\54.jpg";
_global.file_55 = "images\\55.jpg";
_global.file_56 = "images\\56.jpg";
_global.file_57 = "images\\57.jpg";
_global.file_58 = "images\\58.jpg";
_global.file_59 = "images\\59.jpg";
_global.file_60 = "images\\60.jpg";
_global.file_61 = "images\\61.jpg";
_global.file_62 = "images\\62.jpg";
_global.file_63 = "images\\63.jpg";
_global.file_64 = "images\\64.jpg";
_global.file_65 = "images\\65.jpg";
_global.file_66 = "images\\66.jpg";
_global.file_67 = "images\\67.jpg";
_global.file_68 = "images\\68.jpg";
_global.file_69 = "images\\69.jpg";
_global.file_70 = "images\\70.jpg";
_global.file_71 = "images\\71.jpg";
_global.file_72 = "images\\72.jpg";
_global.file_73 = "images\\73.jpg";
_global.file_74 = "images\\74.jpg";
_global.file_75 = "images\\75.jpg";
Symbol 11 MovieClip [mask_full_photo] Frame 1
var mask_total = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = function () {
with (mask2_mc) {
_x = 0;
_y = 0;
_xscale = 100;
_yscale = 100;
delete this.onEnterFrame;
}
};
Symbol 12 MovieClip [mask_28] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_x = photo_width / 2;
_y = ((photo_height / 2) * (100 - (i * delScale))) / 100;
_xscale = i * delScale;
_yscale = i * delScale;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var left;
var top;
var right;
var bottom;
left = (-photo_width) / 2;
top = 0;
right = photo_width / 2;
bottom = photo_height;
var midX = (((right - left) / 2) + left);
var midY = (((bottom - top) / 2) + top);
var radius = (2 * (midY - top));
var hLeft = (midX - radius);
var hTop = (midY - radius);
var startY = int(hTop + ((double(midY - hTop) * 2) / 5));
var px = new Array(61);
var py = new Array(61);
var angle = 0;
k = 0;
while (k <= 30) {
xt = hLeft + (Math.cos(angle) * radius);
yt = startY - (Math.sin(angle) * radius);
px[k] = xt;
py[k] = yt;
angle = angle + 0.1309;
k++;
}
px[30] = midX;
py[30] = py[29] + ((5 * (midX - px[29])) / 6);
k = 31;
while (k < 60) {
px[k] = (2 * midX) - px[60 - k];
py[k] = py[60 - k];
k++;
}
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(px[0], py[0]);
k = 1;
while (k < 60) {
lineTo(px[k], py[k]);
k++;
}
lineTo(px[0], py[0]);
endFill();
}
i = 0;
onEnterFrame = maskTransition;
Symbol 13 MovieClip [mask_27] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local2 = b;
var _local3 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local3, _local2);
_local1.beginFill(0);
_local1.lineTo(_local3, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local2);
_local1.lineTo(_local3, _local2);
_local1.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_total = 19;
var temp_height = new Array(20);
k = 0;
while (k <= 19) {
var mask_mc = this.createEmptyMovieClip("block" + k, k);
temp_height[k] = 1 + random(10);
draw_mask(eval ("block" + k), 0, 0, ((photo_width * 1) / 20) + 1, photo_height);
setProperty("block" + k, _x , (photo_width * k) / 20);
setProperty("block" + k, _y , 0);
setProperty("block" + k, _yscale , 0);
k++;
}
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < 21) {
k = 0;
while (k <= 19) {
c = eval (("block" + k) + "._yscale");
if (c < 100) {
setProperty("block" + k, _yscale , (mask_num * 5) + (temp_height[k] * 4));
}
k++;
}
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 14 MovieClip [mask_26] Frame 1
function draw_round_mask(mask, radius, a, b) {
var _local1 = radius;
var _local2 = b;
var _local3 = a;
mask.clear();
mask.lineStyle(0, 0);
mask.moveTo(_local3, _local2 + _local1);
mask.beginFill(0);
mask.curveTo(_local3 + _local1, _local2 + _local1, _local3 + _local1, _local2);
mask.curveTo(_local3 + _local1, _local2 - _local1, _local3, _local2 - _local1);
mask.curveTo(_local3 - _local1, _local2 - _local1, _local3 - _local1, _local2);
mask.curveTo(_local3 - _local1, _local2 + _local1, _local3, _local2 + _local1);
mask.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var radius = 80;
var seg = Math.floor(Math.sqrt(Math.pow(radius, 2) / 2));
var x_num = Math.ceil(photo_width / seg);
var y_num = Math.ceil(photo_height / seg);
var mask_total = ((x_num * y_num) - 1);
k = 0;
while (k < y_num) {
l = 0;
while (l < x_num) {
var mask_mc = this.createEmptyMovieClip("block" + ((k * x_num) + l), (k * x_num) + l);
draw_round_mask(mask_mc, radius, 0, 0);
mask_mc._x = seg * l;
mask_mc._y = seg * k;
mask_mc._xscale = 0;
mask_mc._yscale = 0;
l++;
}
k++;
}
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < 34) {
k = 0;
while (k < y_num) {
l = 0;
while (l < x_num) {
setProperty("block" + ((k * x_num) + l), _xscale , mask_num * 3);
setProperty("block" + ((k * x_num) + l), _yscale , mask_num * 3);
l++;
}
k++;
}
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 15 MovieClip [mask_25] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local2 = b;
var _local3 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local3, _local2);
_local1.beginFill(0);
_local1.lineTo(_local3, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local2);
_local1.lineTo(_local3, _local2);
_local1.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_total = 0;
mask_w = photo_width;
mask_h = photo_height;
var mask_mc = this.createEmptyMovieClip("block0", 0);
mask_mc.clear();
mask_mc.lineStyle(0, 0);
mask_mc.moveTo(0, -mask_h);
mask_mc.beginFill(0);
mask_mc.lineTo(-mask_w, 0);
mask_mc.lineTo(0, mask_h);
mask_mc.lineTo(mask_w, 0);
mask_mc.lineTo(0, -mask_h);
mask_mc.endFill();
mask_mc._x = mask_w / 2;
mask_mc._y = mask_h / 2;
mask_mc._xscale = 0;
mask_mc._yscale = 0;
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < 21) {
mask_mc._xscale = mask_num * 5;
mask_mc._yscale = mask_num * 5;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 16 MovieClip [mask_24] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local2 = b;
var _local3 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local3, _local2);
_local1.beginFill(0);
_local1.lineTo(_local3, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local2);
_local1.lineTo(_local3, _local2);
_local1.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_total = 3;
var mask_mc140 = this.createEmptyMovieClip("block0", 0);
draw_mask(mask_mc140, 0, 0, photo_width / 2, photo_height / 2);
with (mask_mc140) {
_x = 0;
_y = 0;
_xscale = 0;
_yscale = 0;
}
var mask_mc141 = this.createEmptyMovieClip("block1", 1);
draw_mask(mask_mc141, 0, 0, photo_height / 2, photo_width / 2);
with (mask_mc141) {
_x = photo_width;
_y = 0;
_rotation = 90;
_xscale = 0;
_yscale = 0;
}
var mask_mc142 = this.createEmptyMovieClip("block2", 2);
draw_mask(mask_mc142, 0, 0, photo_width / 2, photo_height / 2);
with (mask_mc142) {
_x = photo_width;
_y = photo_height;
_rotation = 180;
_xscale = 0;
_yscale = 0;
}
var mask_mc143 = this.createEmptyMovieClip("block3", 3);
draw_mask(mask_mc143, 0, 0, photo_height / 2, photo_width / 2);
with (mask_mc143) {
_x = 0;
_y = photo_height;
_rotation = -90;
_xscale = 0;
_yscale = 0;
}
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < 21) {
mask_mc140._xscale = mask_num * 5;
mask_mc140._yscale = mask_num * 5;
mask_mc141._xscale = mask_num * 5;
mask_mc141._yscale = mask_num * 5;
mask_mc142._xscale = mask_num * 5;
mask_mc142._yscale = mask_num * 5;
mask_mc143._xscale = mask_num * 5;
mask_mc143._yscale = mask_num * 5;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 17 MovieClip [mask_23] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local2 = b;
var _local3 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local3, _local2);
_local1.beginFill(0);
_local1.lineTo(_local3, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local2);
_local1.lineTo(_local3, _local2);
_local1.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_total = 0;
var scale_num = 18;
var mask_mc11 = this.createEmptyMovieClip("block0", 0);
draw_mask(mask_mc11, 0, 0, photo_height, photo_width);
with (mask_mc11) {
_x = 0;
_y = photo_height;
_rotation = -90;
_xscale = 0;
_yscale = 0;
}
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < scale_num) {
mask_mc11._xscale = mask_num * 6;
mask_mc11._yscale = mask_num * 6;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 18 MovieClip [mask_22] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local2 = b;
var _local3 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local3, _local2);
_local1.beginFill(0);
_local1.lineTo(_local3, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local2);
_local1.lineTo(_local3, _local2);
_local1.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_total = 0;
var scale_num = 18;
var mask_mc10 = this.createEmptyMovieClip("block0", 0);
draw_mask(mask_mc10, 0, 0, photo_height, photo_width);
with (mask_mc10) {
_x = photo_width;
_y = 0;
_rotation = 90;
_xscale = 0;
_yscale = 0;
}
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < scale_num) {
mask_mc10._xscale = mask_num * 6;
mask_mc10._yscale = mask_num * 6;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 19 MovieClip [mask_21] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local2 = b;
var _local3 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local3, _local2);
_local1.beginFill(0);
_local1.lineTo(_local3, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local2);
_local1.lineTo(_local3, _local2);
_local1.endFill();
}
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_total = 0;
var scale_num = 18;
var mask_mc9 = this.createEmptyMovieClip("block0", 0);
draw_mask(mask_mc9, 0, 0, photo_width, photo_height);
with (mask_mc9) {
_x = photo_width;
_y = photo_height;
_rotation = 180;
_xscale = 0;
_yscale = 0;
}
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < scale_num) {
mask_mc9._xscale = mask_num * 6;
mask_mc9._yscale = mask_num * 6;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 20 MovieClip [mask_20] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var dia_line = Math.ceil(Math.sqrt(Math.pow(photo_width * 1, 2) + Math.pow(photo_height * 1, 2)));
var dia_radian = Math.atan(((photo_height * 1) / photo_width) * 1);
var dia_angle = ((180 * dia_radian) / 3.141593);
var seg_x = ((11 * Math.cos(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var seg_y = ((11 * Math.sin(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var mask_total = Math.ceil((photo_width * 1) / seg_x);
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num <= mask_total) {
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = ((-mask_num) * seg_x) + ((photo_width * 1) / 2);
mc._y = (((-mask_num) * seg_y) + ((photo_height * 3) / 2)) + 11;
mc._rotation = -90 - dia_angle;
mc._yscale = Math.ceil((dia_line * 110) / mc._height);
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 21 MovieClip [mask_19] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var dia_line = Math.ceil(Math.sqrt(Math.pow(photo_width * 1, 2) + Math.pow(photo_height * 1, 2)));
var dia_radian = Math.atan(((photo_height * 1) / photo_width) * 1);
var dia_angle = ((180 * dia_radian) / 3.141593);
var seg_x = ((11 * Math.cos(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var seg_y = ((11 * Math.sin(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var mask_total = Math.ceil((photo_width * 1) / seg_x);
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num <= mask_total) {
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = ((mask_num * seg_x) - ((photo_width * 1) / 2)) - 11;
mc._y = ((-mask_num) * seg_y) + ((photo_height * 1) / 2);
mc._rotation = -90 + dia_angle;
mc._yscale = Math.ceil((dia_line * 110) / mc._height);
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 22 MovieClip [mask_18] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var dia_line = Math.ceil(Math.sqrt(Math.pow(photo_width * 1, 2) + Math.pow(photo_height * 1, 2)));
var dia_radian = Math.atan(((photo_height * 1) / photo_width) * 1);
var dia_angle = ((180 * dia_radian) / 3.141593);
var seg_x = ((11 * Math.cos(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var seg_y = ((11 * Math.sin(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var mask_total = Math.ceil((photo_width * 1) / seg_x);
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num <= mask_total) {
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = ((-mask_num) * seg_x) + ((photo_width * 3) / 2);
mc._y = ((mask_num * seg_y) + ((photo_height * 1) / 2)) - 11;
mc._rotation = 90 + dia_angle;
mc._yscale = Math.ceil((dia_line * 110) / mc._height);
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 23 MovieClip [mask_17] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var dia_line = Math.ceil(Math.sqrt(Math.pow(photo_width * 1, 2) + Math.pow(photo_height * 1, 2)));
var dia_radian = Math.atan(((photo_height * 1) / photo_width) * 1);
var dia_angle = ((180 * dia_radian) / 3.141593);
var seg_x = ((11 * Math.cos(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var seg_y = ((11 * Math.sin(dia_radian)) / Math.cos((3.141593 * (90 - (2 * dia_angle))) / 180));
var mask_total = Math.ceil((photo_width * 1) / seg_x);
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num <= mask_total) {
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = (mask_num * seg_x) + ((photo_width * 1) / 2);
mc._y = ((mask_num * seg_y) - ((photo_height * 1) / 2)) - 11;
mc._rotation = 90 - dia_angle;
mc._yscale = Math.ceil((dia_line * 110) / mc._height);
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 24 MovieClip [mask_16] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_total = (Math.floor(((photo_height * 1) + 45) / 11) + 1);
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num <= mask_total) {
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = 0;
mc._y = ((mask_total - 4) - mask_num) * 11;
mc._yscale = Math.ceil((photo_width * 100) / mc._height);
mc._rotation = -90;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 25 MovieClip [mask_15] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_total = (Math.floor(((photo_height * 1) + 45) / 11) + 1);
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num <= mask_total) {
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = photo_width;
mc._y = mask_num * 11;
mc._yscale = Math.ceil((photo_width * 100) / mc._height);
mc._rotation = 90;
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 26 MovieClip [mask_14] Frame 1
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_total = (Math.floor(((photo_width * 1) + 45) / 11) + 1);
var mask_num = 0;
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num <= mask_total) {
mc = this.attachMovie("block", "block" + mask_num, mask_num);
mc._x = ((mask_total - 4) - mask_num) * 11;
mc._y = photo_height;
mc._rotation = 180;
mc._yscale = Math.ceil((photo_height * 100) / mc._height);
mask_num++;
} else {
mask_num = 0;
delete onEnterFrame;
}
};
Symbol 27 MovieClip [mask_13] Frame 1
function draw_mask(mask, a, b, c, d) {
var _local1 = mask;
var _local2 = b;
var _local3 = a;
_local1.clear();
_local1.lineStyle(0, 0);
_local1.moveTo(_local3, _local2);
_local1.beginFill(0);
_local1.lineTo(_local3, d);
_local1.lineTo(c, d);
_local1.lineTo(c, _local2);
_local1.lineTo(_local3, _local2);
_local1.endFill();
}
var mask_total = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
var delScale = (100 / transitionDuration);
var mask_num = 0;
var mask_mc = this.createEmptyMovieClip("block0", 0);
draw_mask(mask_mc, 0, 0, photo_width, photo_height);
mask_mc._x = photo_width / 2;
mask_mc._y = photo_height / 2;
mask_mc._xscale = 0;
mask_mc._yscale = 0;
onEnterFrame = function () {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
if (mask_num < transitionDuration) {
mask_mc._xscale = mask_num * 5;
mask_mc._yscale = mask_num * 5;
mask_mc._x = (photo_width / 2) - (((photo_width * mask_num) * 5) / 200);
mask_mc._y = (photo_height / 2) - (((photo_height * mask_num) * 5) / 200);
mask_num++;
} else {
delete onEnterFrame;
}
};
Symbol 28 MovieClip [mask_12] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
k = 0;
while (k < m) {
arrayCount = clipArray.length;
nIndex = random(arrayCount);
setProperty(clipArray[nIndex], _xscale , 100);
setProperty(clipArray[nIndex], _yscale , 100);
clipArray.splice(nIndex, 1);
k++;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
slide_count = 20;
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(Math.ceil(photo_width / slide_count), 0);
lineTo(Math.ceil(photo_width / slide_count), Math.ceil(photo_height / slide_count));
lineTo(0, Math.ceil(photo_height / slide_count));
lineTo(0, 0);
endFill();
}
var clipArray = new Array();
j = 0;
while (j < slide_count) {
k = 0;
while (k < slide_count) {
duplicateMovieClip ("mask2_mc", (("mask_mc_" + j) + "_") + k, ((j * slide_count) + k) + 3);
setProperty((("mask_mc_" + j) + "_") + k, _x , (photo_width / slide_count) * j);
setProperty((("mask_mc_" + j) + "_") + k, _y , (photo_height / slide_count) * k);
setProperty((("mask_mc_" + j) + "_") + k, _xscale , 0);
setProperty((("mask_mc_" + j) + "_") + k, _yscale , 0);
clipArray[(j * slide_count) + k] = (("mask_mc_" + j) + "_") + k;
k++;
}
j++;
}
arrayCount = clipArray.length;
m = Math.round((arrayCount / transitionDuration) + 0.5);
if (m < 1) {
m = 1;
}
onEnterFrame = maskTransition;
Symbol 29 MovieClip [mask_11] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
mask2_mc._xscale = 100;
mask2_mc._yscale = i * delScale;
j = 0;
while (j < slide_count) {
setProperty("mask_mc_" + j, _xscale , 100);
setProperty("mask_mc_" + j, _yscale , i * delScale);
j++;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
slide_count = 16;
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, (photo_height / slide_count) + 0.5);
lineTo(0, (photo_height / slide_count) + 0.5);
lineTo(0, 0);
endFill();
}
j = 1;
while (j < slide_count) {
duplicateMovieClip ("mask2_mc", "mask_mc_" + j, j + 2);
setProperty("mask_mc_" + j, _x , 0);
setProperty("mask_mc_" + j, _y , (photo_height / slide_count) * j);
j++;
}
onEnterFrame = maskTransition;
Symbol 30 MovieClip [mask_10] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
mask2_mc._xscale = i * delScale;
mask2_mc._yscale = 100;
j = 0;
while (j < slide_count) {
setProperty("mask_mc_" + j, _xscale , i * delScale);
setProperty("mask_mc_" + j, _yscale , 100);
j++;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
slide_count = 16;
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo((photo_width / slide_count) + 0.5, 0);
lineTo((photo_width / slide_count) + 0.5, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
j = 1;
while (j < slide_count) {
duplicateMovieClip ("mask2_mc", "mask_mc_" + j, j + 2);
setProperty("mask_mc_" + j, _x , (photo_width / slide_count) * j);
setProperty("mask_mc_" + j, _y , 0);
j++;
}
onEnterFrame = maskTransition;
Symbol 31 MovieClip [mask_9] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_y = ((photo_height / 2) * (100 - (i * delScale))) / 100;
_xscale = 100;
_yscale = i * delScale;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = maskTransition;
Symbol 32 MovieClip [mask_8] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_x = ((photo_width / 2) * (100 - (i * delScale))) / 100;
_xscale = i * delScale;
_yscale = 100;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = maskTransition;
Symbol 33 MovieClip [mask_7] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_xscale = 100;
_yscale = i * delScale;
}
with (this.mask3_mc) {
_xscale = 100;
_yscale = i * delScale;
_y = (photo_height / 2) + ((photo_height * (100 - (i * delScale))) / 200);
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height / 2);
lineTo(0, photo_height / 2);
lineTo(0, 0);
endFill();
}
duplicateMovieClip (mask2_mc, "mask3_mc", 2);
onEnterFrame = maskTransition;
Symbol 34 MovieClip [mask_6] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_xscale = i * delScale;
_yscale = 100;
}
with (this.mask3_mc) {
_xscale = i * delScale;
_yscale = 100;
_x = ((photo_width * (100 - (i * delScale))) / 200) + (photo_width / 2);
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width / 2, 0);
lineTo(photo_width / 2, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
duplicateMovieClip (mask2_mc, "mask3_mc", 2);
onEnterFrame = maskTransition;
Symbol 35 MovieClip [mask_5] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_xscale = 100;
_yscale = i * delScale;
_y = (photo_height * (100 - (i * delScale))) / 100;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = maskTransition;
Symbol 36 MovieClip [mask_4] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_x = (photo_width * (100 - (i * delScale))) / 100;
_xscale = i * delScale;
_yscale = 100;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = maskTransition;
Symbol 37 MovieClip [mask_3] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_xscale = 100;
_yscale = i * delScale;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = maskTransition;
Symbol 38 MovieClip [mask_2] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
with (this.mask2_mc) {
_xscale = i * delScale;
_yscale = 100;
}
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
delScale = 100 / transitionDuration;
this.createEmptyMovieClip("mask2_mc", 1);
with (mask2_mc) {
beginFill(15728640);
moveTo(0, 0);
lineTo(photo_width, 0);
lineTo(photo_width, photo_height);
lineTo(0, photo_height);
lineTo(0, 0);
endFill();
}
onEnterFrame = maskTransition;
Symbol 39 MovieClip [mask_1] Frame 1
function maskTransition() {
with (_parent._parent.mc_current_photo) {
_alpha = 100;
}
this.mask1_mc._xscale = i * delScale;
this.mask1_mc._yscale = i * delScale;
i++;
if (i > transitionDuration) {
delete this.onEnterFrame;
}
}
i = 0;
photo_width = _parent._parent.control.getPhotoWidth();
photo_height = _parent._parent.control.getPhotoHeight();
transitionDuration = _parent._parent.control.getCurrentTransitionFrames();
this.createEmptyMovieClip("mask1_mc", 1);
mask1_mc.beginFill(15728640);
mask1_mc.moveTo(0, 0);
mask1_mc.lineTo(photo_width, 0);
mask1_mc.lineTo(photo_width, photo_height);
mask1_mc.lineTo(0, photo_height);
mask1_mc.lineTo(0, 0);
mask1_mc.endFill();
delScale = 100 / transitionDuration;
onEnterFrame = maskTransition;
Symbol 42 MovieClip [block] Frame 6
stop();
Symbol 9 MovieClip Frame 1
function clipEnterFrame() {
var _local1 = _parent;
_local1.loader_mc._x = Stage.width / 2;
_local1.loader_mc._y = Stage.height / 2;
frame_loaded = _local1._framesloaded;
if (frame_loaded >= total_to_load) {
_local1.loader_mc._x = Stage.width + 100;
_local1.loader_mc._y = Stage.height + 100;
_local1.loader_mc._alpha = 0;
_local1.loader_mc.removeMovieClip();
delete this.onEnterFrame;
_local1.gotoAndPlay(3);
}
}
var total_to_load = 3;
_parent.createEmptyMovieClip("loader_mc", 5500);
_parent.loader_mc.attachMovie("loading", "loading1", 5501);
onEnterFrame = clipEnterFrame;
Instance of Symbol 54 MovieClip in Symbol 55 MovieClip [soundControl] Frame 1
onClipEvent (load) {
_root.soundstatus = "on";
_root.mySound = new Sound(_level0);
_root.mySound2 = new Sound(_level1);
_root.mySound3 = new Sound(_level2);
_root.mySound4 = new Sound(_level3);
_root.mySound5 = new Sound(_level4);
maxvolume = 100;
minvolume = 0;
}
onClipEvent (enterFrame) {
if ((_root.soundstatus == "on") && (_parent._parent.control.currentPhoto <= (_parent._parent.control.getTotalPhotos() - 1))) {
step = 5;
}
if ((_root.soundstatus == "off") || (_parent._parent.control.currentPhoto == (_parent._parent.control.getTotalPhotos() - 1))) {
step = -5;
}
maxvolume = maxvolume + step;
if (maxvolume > 100) {
maxvolume = 100;
}
if (maxvolume < 0) {
maxvolume = 0;
_parent._parent.music_mc.stop();
}
_root.mySound.setVolume(maxvolume);
_root.mySound2.setVolume(maxvolume);
_root.mySound3.setVolume(maxvolume);
_root.mySound4.setVolume(maxvolume);
_root.mySound5.setVolume(maxvolume);
}
Symbol 63 Button
on (release) {
ShowPrevPhoto();
}
Symbol 64 Button
on (release) {
ShowNextPhotoManual();
}
Symbol 69 Button
on (release) {
_parent.showPlay();
_parent.ClearAllTimer();
gotoAndStop (2);
}
Symbol 74 Button
on (release) {
_parent._parent.music_mc.play();
_root.soundstatus = "on";
if (_parent.currentPhoto == _parent.getTotalPhotos()) {
_parent._parent.replayButton.removeMovieClip();
_parent.currentPhoto = 0;
} else {
_parent._parent.playButton.removeMovieClip();
}
if (_global.continueplay == 1) {
_parent.loadingInterval = setInterval(_parent.LoadingPhotoNoTransitionPlay, 200);
} else {
_parent.loadingInterval = setInterval(_parent.LoadingPhoto, 200);
}
gotoAndStop (1);
}
Symbol 75 MovieClip Frame 1
stop();
Symbol 78 Button
on (release) {
showControl();
}
Symbol 80 Button
on (release) {
setPrevMenu();
}
Symbol 81 Button
on (release) {
setNextMenu();
}
Symbol 86 MovieClip Frame 1
if (_global.havemusic == 0) {
soundOn._visible = false;
soundOff._visible = false;
} else {
soundOff._visible = false;
soundOn.onRelease = function () {
this._visible = false;
soundOff._visible = true;
_root.soundstatus = "off";
};
soundOff.onRelease = function () {
_parent._parent.music_mc.play();
this._visible = false;
soundOn._visible = true;
_root.soundstatus = "on";
};
}
Symbol 87 MovieClip [control] Frame 1
function getPhotoX() {
return(photo_x);
}
function getPhotoY() {
return(photo_y);
}
function getPhotoWidth() {
return(photo_width);
}
function getPhotoHeight() {
return(photo_height);
}
function ShowPhotoInformation() {
with (imageDesc) {
background = true;
backgroundColor = 0;
}
imageTitle.text = GetCurrentPhotoTitle();
_parent.imagesInfoMc.imagesInfo.text = GetCurrentPhotoDesc();
}
function ShowLoadingInformation() {
myLoader._alpha = 100;
myLoader._y = Stage.height / 2;
myLoader._x = Stage.width / 2;
}
function HideLoadingInformation() {
myLoader._y = -1000;
myLoader._alpha = 0;
}
function showControl() {
var _local1 = _parent;
if (control_show_bool == false) {
control_show_bool = true;
_local1.control._y = 0;
_local1.mythumbnail._y = 395;
} else {
control_show_bool = false;
_local1.control._y = 97;
_local1.mythumbnail._y = 700;
}
}
function setbuttonback() {
i = 0;
while (i < _global.total_images) {
eval ("buttonback" + (i + 1))._visible = false;
i++;
}
if ((menu_page == (Math.ceil(_global.total_images / 6) - 1)) && ((_global.total_images % 6) != 0)) {
i = 0;
while (i < (_global.total_images % 6)) {
eval ("buttonback" + (i + 1))._visible = true;
i++;
}
} else {
i = 0;
while (i < _global.total_images) {
eval ("buttonback" + (i + 1))._visible = true;
i++;
}
}
}
function addEvent() {
i = 1;
while (i <= _global.total_images) {
eval ("_parent.mythumbnail.thumbnail_" + i).who = i - 1;
eval ("_parent.mythumbnail.thumbnail_" + i).onRelease = function () {
thisWho = this.who;
with (_parent.control) {
currentPhoto = thisWho;
ClearAllTimer();
loadingInterval = setInterval(LoadingPhotoNoTransitionPlay, 200);
}
_parent.playButton.removeMovieClip();
_parent.replayButton.removeMovieClip();
if (_global.continueplay == 1) {
_parent.control.myautoplay.gotoAndStop(1);
} else {
_parent.control.myautoplay.gotoAndStop(2);
}
};
i++;
}
}
function addmenu() {
addEvent();
setAllMenu();
i = 1;
while (i <= _global.total_images) {
eval ("_parent.mythumbnail.thumbnail_" + i)._visible = false;
i++;
}
if (_global.total_images <= menuNum) {
duoShaoGe = _global.total_images;
} else {
duoShaoGe = menuNum;
}
i = 1;
while (i <= duoShaoGe) {
eval ("_parent.mythumbnail.thumbnail_" + i)._x = 127 * menu_weizhi_x;
eval ("_parent.mythumbnail.thumbnail_" + i)._y = 95.5 * menu_weizhi_y;
eval ("_parent.mythumbnail.thumbnail_" + i)._visible = true;
menu_weizhi_x++;
if ((i % 2) == 0) {
menu_weizhi_x = 0;
menu_weizhi_y++;
}
i++;
}
}
function setMenuState() {
addEvent();
menu_weizhi_y = 0;
menu_weizhi_x = 0;
i = 1;
while (i <= _global.total_images) {
eval ("_parent.mythumbnail.thumbnail_" + i)._xscale = 80;
eval ("_parent.mythumbnail.thumbnail_" + i)._yscale = 80;
eval ("_parent.mythumbnail.thumbnail_" + i)._visible = false;
i++;
}
if ((menu_page != (Math.ceil(_global.total_images / menuNum) - 1)) || ((_global.total_images % menuNum) == 0)) {
geshu = menuNum;
} else {
geshu = _global.total_images % menuNum;
}
i = 1;
while (i <= geshu) {
eval ("_parent.mythumbnail.thumbnail_" + ((menu_page * menuNum) + i))._visible = true;
eval ("_parent.mythumbnail.thumbnail_" + ((menu_page * menuNum) + i))._x = 102 * (i - 1);
i++;
}
}
function setNextMenu() {
if (menu_page != (Math.ceil(_global.total_images / menuNum) - 1)) {
menu_page++;
}
setMenuState();
}
function setPrevMenu() {
if (menu_page != 0) {
menu_page--;
}
setMenuState();
}
function setAllMenu() {
_parent.stop_play.pageInfo.text = (("Page:" + (menu_page + 1)) + "/") + menu_all_page;
}
function addloader() {
attachMovie("loading", "myLoader", 70);
}
function getCurrentTransitionID() {
transID = eval ("_global.trans_id_" + currentPhoto);
return(transID);
}
function getCurrentMaskID() {
transID = eval ("_global.trans_id_" + currentPhoto);
if ((transID <= 0) || (transID > total_mask)) {
transID = random(total_mask) + 1;
}
if (transID <= 0) {
transID = 1;
}
if (transID > total_mask) {
transID = total_mask;
}
return(transID);
}
function getTotalPhotos() {
return(_global.total_images);
}
function GetCurrentPhotoTitle() {
return(eval ("_global.title_" + currentPhoto));
}
function GetCurrentPhotoDesc() {
return(eval ("_global.desc_" + currentPhoto));
}
function getCurrentPhotoDuration() {
showTime = eval ("_global.show_" + currentPhoto);
transitionTime = eval ("_global.trans_" + currentPhoto);
frameRate = _global.frame_rate;
return((showTime + transitionTime) * 1000);
}
function getCurrentTransitionDuration() {
transitionTime = eval ("_global.trans_" + currentPhoto);
return(transitionTime * 1000);
}
function getCurrentTransitionFrames() {
transitionFrames = eval ("_global.trans_" + currentPhoto);
return(transitionFrames * _global.frame_rate);
}
function getCurrentShowDuration() {
showTime = eval ("_global.show_" + currentPhoto);
return(showTime * 1000);
}
function showCurrentPhoto() {
_parent.gotoAndStop((currentPhoto + 1) + FramePhotoBegin);
_parent.createEmptyMovieClip("mc_current_photo", 2 + DepthWorking);
duplicateMovieClip ("_parent.mc_" + currentPhoto, "mc_current_photo", 2 + DepthWorking);
if (_global.enableurl == 1) {
_parent.mc_current_photo.onRelease = gotoURL;
}
transitionID = getCurrentTransitionID();
if (transitionID == 0) {
transDispatch = random(2);
} else if (transitionID > 28) {
transDispatch = 1;
} else {
transDispatch = 0;
}
if (transDispatch == 1) {
_parent.createEmptyMovieClip("mask_mc", 3 + DepthWorking);
_parent.mask_mc.attachMovie("mask_full_photo", "mask_clip_mc", 4 + DepthWorking);
setProperty("_parent.mask_mc", _x , getPhotoX());
setProperty("_parent.mask_mc", _y , getPhotoY());
setProperty("_parent.mask_mc", _xscale , 100);
setProperty("_parent.mask_mc", _yscale , 100);
_parent.mc_current_photo.setMask(_parent.mask_mc);
with (_parent.mc_current_photo) {
_alpha = 0;
_x = getPhotoX();
_y = getPhotoY();
_width = getPhotoWidth();
_height = getPhotoHeight();
}
ShowPhotoInformation();
MotionCount = 0;
trans_ID = transitionID;
if (trans_ID > 28) {
trans_ID = trans_ID - 28;
}
showPhotoWithMotionInterval = setInterval(showPhotoWithMotion, 1000 / _global.frame_rate);
} else {
maskID = getCurrentMaskID();
_parent.createEmptyMovieClip("mask_mc", 3 + DepthWorking);
_parent.mask_mc.attachMovie("mask_" + maskID, "mask_clip_mc", 4 + DepthWorking);
setProperty("_parent.mask_mc", _x , getPhotoX());
setProperty("_parent.mask_mc", _y , getPhotoY());
_parent.mc_current_photo.setMask(_parent.mask_mc);
with (_parent.mc_current_photo) {
_alpha = 0;
_x = getPhotoX();
_y = getPhotoY();
_width = getPhotoWidth();
_height = getPhotoHeight();
}
ShowPhotoInformation();
showPhotoInterval = setInterval(showPhotoWithDuration, getCurrentPhotoDuration());
}
}
function transitionCurrentPhoto() {
if (MotionCount == 0) {
transitionID = trans_ID;
if (transitionID == 0) {
trans_ID = random(23) + 1;
} else {
trans_ID = transitionID;
if ((trans_ID > 24) || (trans_ID < 0)) {
trans_ID = random(23) + 1;
}
}
}
transitionCurrentPhotoWithID(trans_ID);
}
function transitionCurrentPhotoWithID(transitionID) {
var _local1 = transitionID;
_local1 = _local1 - 1;
switch (_local1) {
case 0 :
transitionAlpha();
return;
case 1 :
transitionMoveLeftToRight(false);
return;
case 2 :
transitionMoveLeftToRight(true);
return;
case 3 :
transitionMoveRightToLeft(false);
return;
case 4 :
transitionMoveRightToLeft(true);
return;
case 5 :
transitionMoveTopToBottom(false);
return;
case 6 :
transitionMoveTopToBottom(true);
return;
case 7 :
transitionMoveBottomToTop(false);
return;
case 8 :
transitionMoveBottomToTop(true);
return;
case 9 :
transitionStretchLeftToRight(false);
return;
case 10 :
transitionStretchLeftToRight(true);
return;
case 11 :
transitionStretchVerticalCenter(false);
return;
case 12 :
transitionStretchVerticalCenter(true);
return;
case 13 :
transitionStretchRightToLeft(false);
return;
case 14 :
transitionStretchRightToLeft(true);
return;
case 15 :
transitionStretchTopToBottom(false);
return;
case 16 :
transitionStretchTopToBottom(true);
return;
case 17 :
transitionStretchHorizontalCenter(false);
return;
case 18 :
transitionStretchHorizontalCenter(true);
return;
case 19 :
transitionStretchBottomToTop(false);
return;
case 20 :
transitionStretchBottomToTop(true);
return;
case 21 :
transitionStretchCenter(false);
return;
case 22 :
transitionStretchCenter(true);
return;
default :
transitionAlpha();
}
}
function transitionAlpha() {
with (_parent.mc_current_photo) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
}
}
function transitionStretchCenter(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX() + ((getPhotoWidth() / 2) * (1 - (MotionCount / getCurrentTransitionFrames())));
_y = getPhotoY() + ((getPhotoHeight() / 2) * (1 - (MotionCount / getCurrentTransitionFrames())));
_xscale = (100 * MotionCount) / getCurrentTransitionFrames();
_yscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_yscale > 100) {
_yscale = 100;
}
if (_xscale > 100) {
_xscale = 100;
}
if (_x < getPhotoX()) {
_x = getPhotoX();
}
if (_y < getPhotoY()) {
_y = getPhotoY();
}
}
}
function transitionStretchTopToBottom(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX();
_y = getPhotoY();
_xscale = 100;
_yscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_yscale > 100) {
_yscale = 100;
}
}
}
function transitionStretchHorizontalCenter(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX();
_y = getPhotoY() + ((getPhotoHeight() / 2) * (1 - (MotionCount / getCurrentTransitionFrames())));
_xscale = 100;
_yscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_yscale > 100) {
_yscale = 100;
}
if (_y < getPhotoY()) {
_y = getPhotoY();
}
}
}
function transitionStretchBottomToTop(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX();
_y = getPhotoY() + (getPhotoHeight() * (1 - (MotionCount / getCurrentTransitionFrames())));
_xscale = 100;
_yscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_yscale > 100) {
_yscale = 100;
}
if (_y < getPhotoY()) {
_y = getPhotoY();
}
}
}
function transitionStretchLeftToRight(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX();
_y = getPhotoY();
_xscale = 0;
_xscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_xscale > 100) {
_xscale = 100;
}
}
}
function transitionStretchVerticalCenter(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX() + ((getPhotoWidth() / 2) * (1 - (MotionCount / getCurrentTransitionFrames())));
_xscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_xscale > 100) {
_xscale = 100;
}
if (_x < getPhotoX()) {
_x = getPhotoX();
}
}
}
function transitionStretchRightToLeft(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_xscale = (100 * MotionCount) / getCurrentTransitionFrames();
if (_xscale > 100) {
_xscale = 100;
}
_x = getPhotoX() + (getPhotoWidth() * (1 - (MotionCount / getCurrentTransitionFrames())));
if (_x < getPhotoX()) {
_x = getPhotoX();
}
}
}
function transitionMoveLeftToRight(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX() + (getPhotoWidth() * ((MotionCount / getCurrentTransitionFrames()) - 1));
_y = getPhotoY();
}
}
function transitionMoveRightToLeft(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_y = getPhotoY();
_x = getPhotoX() + (getPhotoWidth() * (1 - (MotionCount / getCurrentTransitionFrames())));
if (_x <= getPhotoX()) {
_x = getPhotoX();
}
}
}
function transitionMoveTopToBottom(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX();
_y = getPhotoY() + (getPhotoHeight() * ((MotionCount / getCurrentTransitionFrames()) - 1));
if (_y >= getPhotoY()) {
_y = getPhotoY();
}
}
}
function transitionMoveBottomToTop(bAlpha) {
with (_parent.mc_current_photo) {
if (bAlpha) {
_alpha = (100 * MotionCount) / getCurrentTransitionFrames();
if (_alpha > 100) {
_alpha = 100;
}
} else {
_alpha = 100;
}
_x = getPhotoX();
_y = getPhotoY() + (getPhotoHeight() * (1 - (MotionCount / getCurrentTransitionFrames())));
if (_y <= getPhotoY()) {
_y = getPhotoY();
}
}
}
function showPhotoWithMotion() {
transitionCurrentPhoto();
MotionCount++;
if (MotionCount > getCurrentTransitionFrames()) {
with (_parent.mc_current_photo) {
_alpha = 100;
}
clearInterval(showPhotoWithMotionInterval);
showPhotoInterval = setInterval(showPhotoWithDuration, getCurrentShowDuration());
}
}
function showCurrentPhotoNoTransition() {
_parent.mc_current_photo.removeMovieClip();
_parent.mask_mc.removeMovieClip();
_parent.gotoAndStop((currentPhoto + 1) + FramePhotoBegin);
_parent.createEmptyMovieClip("mc_current_photo", 2 + DepthWorking);
duplicateMovieClip ("_parent.mc_" + currentPhoto, "mc_current_photo", 2 + DepthWorking);
with (_parent.mc_current_photo) {
_alpha = 100;
_x = getPhotoX();
_y = getPhotoY();
_width = getPhotoWidth();
_height = getPhotoHeight();
}
if (_global.enableurl == 1) {
_parent.mc_current_photo.onRelease = gotoURL;
}
_parent.mc_current_photo.setMask(null);
ShowPhotoInformation();
if (_global.continueplay == 1) {
showPhotoInterval = setInterval(showPhotoWithDuration, getCurrentPhotoDuration());
}
}
function showCurrentPhotoNoTransitionPlay() {
_parent.mc_current_photo.removeMovieClip();
_parent.mask_mc.removeMovieClip();
_parent.gotoAndStop((currentPhoto + 1) + FramePhotoBegin);
_parent.createEmptyMovieClip("mc_current_photo", 2 + DepthWorking);
duplicateMovieClip ("_parent.mc_" + currentPhoto, "mc_current_photo", 2 + DepthWorking);
with (_parent.mc_current_photo) {
_alpha = 100;
_x = getPhotoX();
_y = getPhotoY();
_width = getPhotoWidth();
_height = getPhotoHeight();
}
if (_global.enableurl == 1) {
_parent.mc_current_photo.onRelease = gotoURL;
}
_parent.mc_current_photo.setMask(null);
ShowPhotoInformation();
if (_global.continueplay == 1) {
showPhotoInterval = setInterval(showPhotoWithDuration, 800);
}
}
function showPhotoWithDuration() {
var _local1 = _parent;
_local1.mc_current_photo.setMask(null);
_local1.mask_mc.removeMovieClip();
if (_local1.prev_photo != null) {
removeMovieClip("_parent.prev_photo");
}
duplicateMovieClip (_local1.mc_current_photo, "_parent.prev_photo", DepthWorking + 1);
setProperty("_parent.prev_photo", _alpha , 100);
setProperty("_parent.prev_photo", _x , getPhotoX());
setProperty("_parent.prev_photo", _y , getPhotoY());
setProperty("_parent.prev_photo", _width , getPhotoWidth());
setProperty("_parent.prev_photo", _height , getPhotoHeight());
removeMovieClip("_parent.mc_current_photo");
clearInterval(showPhotoInterval);
ShowNextPhoto();
}
function ShowNextPhoto() {
ClearAllTimer();
currentPhoto++;
if (currentPhoto == getTotalPhotos()) {
if (_global.autorepeat == 1) {
_parent.music_mc.gotoAndPlay(1);
currentPhoto = 0;
loadingInterval = setInterval(LoadingPhoto, 200);
} else {
showRepeat();
}
} else {
loadingInterval = setInterval(LoadingPhoto, 200);
}
}
function AutoPlay() {
showPhotoWithDuration();
}
function showPhoto(nWhich) {
if (_global.continueplay == 1) {
currentPhoto = nWhich;
loadingInterval = setInterval(LoadingPhotoNoTransition, 200);
} else {
myautoplay.gotoAndStop(2);
ClearAllTimer();
currentPhoto = nWhich;
if (currentPhoto == getTotalPhotos()) {
currentPhoto = 0;
}
if (currentPhoto < 0) {
currentPhoto = 0;
}
loadingInterval = setInterval(LoadingPhotoNoTransition, 200);
}
}
function ShowNextPhotoManual() {
_parent.playButton.removeMovieClip();
_parent.replayButton.removeMovieClip();
if (currentPhoto >= (getTotalPhotos() - 1)) {
currentPhoto = 0;
} else {
currentPhoto++;
}
if (_global.continueplay == 0) {
myautoplay.gotoAndStop(2);
} else {
myautoplay.gotoAndStop(1);
}
ClearAllTimer();
loadingInterval = setInterval(LoadingPhotoNoTransition, 200);
}
function ShowPrevPhoto() {
_parent.playButton.removeMovieClip();
_parent.replayButton.removeMovieClip();
if (currentPhoto <= 0) {
currentPhoto = getTotalPhotos() - 1;
} else {
currentPhoto--;
}
if (_global.continueplay == 0) {
myautoplay.gotoAndStop(2);
} else {
myautoplay.gotoAndStop(1);
}
ClearAllTimer();
loadingInterval = setInterval(LoadingPhotoNoTransition, 200);
}
function LoadingPhotoNoTransition() {
infoText.text = ((currentPhoto + 1) + "/") + _global.total_images;
if (_parent._framesloaded >= (currentPhoto + FramePhotoBegin)) {
clearInterval(loadingInterval);
HideLoadingInformation();
showCurrentPhotoNoTransition();
} else {
ShowLoadingInformation();
}
}
function LoadingPhotoNoTransitionPlay() {
var _local1 = _parent;
infoText.text = (((("Photo to Show:" + currentPhoto) + " Frame loaded:") + _local1._framesloaded) + "/") + _local1._totalframes;
if (_local1._framesloaded >= (currentPhoto + FramePhotoBegin)) {
clearInterval(loadingInterval);
HideLoadingInformation();
showCurrentPhotoNoTransitionPlay();
} else {
ShowLoadingInformation();
}
}
function LoadingPhoto() {
var _local1 = _parent;
infoText.text = (((("Photo to Show:" + currentPhoto) + " Frame loaded:") + _local1._framesloaded) + "/") + _local1._totalframes;
if (_local1._framesloaded >= (currentPhoto + FramePhotoBegin)) {
clearInterval(loadingInterval);
HideLoadingInformation();
showCurrentPhoto();
} else {
ShowLoadingInformation();
}
}
function enterFrameFunction() {
var _local1 = _parent;
addloader();
setDecoration();
infoText.text = (("Frame loaded:" + _local1._framesloaded) + "/") + _local1._totalframes;
if (_local1._framesloaded >= (currentPhoto + FramePhotoBegin)) {
delete this.onEnterFrame;
HideLoadingInformation();
if (_global.autoplay == 1) {
loadingInterval = setInterval(LoadingPhoto, 200);
} else {
showPlay();
}
} else {
ShowLoadingInformation();
}
}
function ClearAllTimer() {
clearInterval(loadingInterval);
clearInterval(showPhotoInterval);
clearInterval(showPhotoWithMotionInterval);
}
function setWholeFlashMask() {
_parent.createEmptyMovieClip("mask_whole_mc", 100 + DepthWorking);
with (_parent.mask_whole_mc) {
beginFill(10485760);
moveTo(0, 0);
lineTo(_global.flash_width, 0);
lineTo(_global.flash_width, _global.flash_height);
lineTo(0, _global.flash_height);
lineTo(0, 0);
endFill();
_x = 0;
_y = 0;
}
_parent.setMask(_parent.mask_whole_mc);
}
function setDecoration() {
_parent.decoration_mc.createEmptyMovieClip("mask_decoration_mc", 96 + DepthWorking);
with (_parent.decoration_mc.mask_decoration_mc) {
beginFill(10485760);
moveTo(getPhotoX(), getPhotoY());
lineTo(getPhotoX() + getPhotoWidth(), getPhotoY());
lineTo(getPhotoX() + getPhotoWidth(), getPhotoY() + getPhotoHeight());
lineTo(getPhotoX(), getPhotoY() + getPhotoHeight());
lineTo(getPhotoX(), getPhotoY());
endFill();
}
_parent.decoration_mc.swapDepths(95 + DepthWorking);
_parent.decoration_mc._alpha = 50;
_parent.decoration_mc.setMask(_parent.decoration_mc.mask_decoration_mc);
}
function GetCurrentPhotoURL() {
return(eval ("_global.url_" + currentPhoto));
}
function gotoURL() {
getURL (GetCurrentPhotoURL(), "_blank");
}
function showRepeat() {
var _local1 = _parent;
myautoplay.gotoAndStop(2);
_local1.attachMovie("replayButton", "replayButton", 5500, {_x:getPhotoX() + (getPhotoWidth() / 2), _y:getPhotoX() + (getPhotoHeight() / 2), _alpha:50});
_local1.replayButton.onRelease = function () {
_parent.music_mc.gotoAndPlay(1);
_root.soundstatus = "on";
myautoplay.gotoAndStop(1);
this.removeMovieClip();
currentPhoto = 0;
loadingInterval = setInterval(LoadingPhoto, 200);
};
}
function showPlay() {
var _local1 = _parent;
_local1.music_mc.stop();
_root.soundstatus = "off";
_local1.attachMovie("playButton", "playButton", 5500, {_x:getPhotoX() + (getPhotoWidth() / 2), _y:getPhotoY() + (getPhotoHeight() / 2), _alpha:50});
_local1.playButton.onRelease = function () {
_root.soundstatus = "on";
myautoplay.gotoAndStop(1);
this.removeMovieClip();
_parent.music_mc.play();
if (_global.continueplay == 1) {
loadingInterval = setInterval(LoadingPhotoNoTransitionPlay, 200);
} else {
loadingInterval = setInterval(LoadingPhoto, 200);
}
};
}
photo_x = 0;
photo_y = 0;
photo_width = 640;
photo_height = 480;
var currentPhoto = 0;
var trans_ID = 0;
var MotionCount = 0;
currentPhoto = 0;
FramePhotoBegin = 3;
DepthWorking = 5000;
prev_photo = null;
total_mask = 28;
var menu_page = 0;
var menuNum = 6;
if (_global.havemusic == 0) {
soundButtonBox._visible = false;
}
if (_global.showbutton == 0) {
_parent.control._y = Stage.height + 5000;
}
if (_global.autoplay == 1) {
myautoplay.gotoAndStop(1);
} else {
myautoplay.gotoAndStop(2);
}
if (_global.total_images <= menuNum) {
menu_all_page = 1;
} else {
menu_all_page = Math.ceil(_global.total_images / menuNum);
}
var menu_weizhi_x = 0;
var menu_weizhi_y = 0;
var control_show_bool = false;
var control_weizhi_y = 700;
setWholeFlashMask();
onEnterFrame = enterFrameFunction;
setMenuState();
Symbol 90 MovieClip Frame 1
Stage.scaleMode = "noScale";
_parent.attachMovie("control", "control", 5020);
_parent.control._x = 0;
_parent.control._y = 95;
_parent.thumbnail.duplicateMovieClip("mythumbnail", 5030);
_parent.thumbnail._x = -10000;
_parent.mythumbnail._y = 700;
_parent.mythumbnail._x = 18;
_parent.attachMovie("soundControl", "soundControl", 5031);
_parent.soundControl._y = -1000;
_parent.soundControl._x = -1000;