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 = 91;
_global.flash_width = 800;
_global.flash_height = 600;
_global.thumnail_width = 120;
_global.thumnail_height = 90;
_global.frame_rate = 25;
_global.show_title = 1;
_global.album_title = "Diaporamas Valeria Lukyanova";
_global.url_target = 0;
_global.title_0 = "Valeria Lukyanova (1)";
_global.title_1 = "Valeria Lukyanova (2)";
_global.title_2 = "Valeria Lukyanova (3)";
_global.title_3 = "Valeria Lukyanova (4)";
_global.title_4 = "Valeria Lukyanova (5)";
_global.title_5 = "Valeria Lukyanova (6)";
_global.title_6 = "Valeria Lukyanova (7)";
_global.title_7 = "Valeria Lukyanova (8)";
_global.title_8 = "Valeria Lukyanova (9)";
_global.title_9 = "Valeria Lukyanova (10)";
_global.title_10 = "Valeria Lukyanova (11)";
_global.title_11 = "Valeria Lukyanova (12)";
_global.title_12 = "Valeria Lukyanova (13)";
_global.title_13 = "Valeria Lukyanova (14)";
_global.title_14 = "Valeria Lukyanova (15)";
_global.title_15 = "Valeria Lukyanova (16)";
_global.title_16 = "Valeria Lukyanova (17)";
_global.title_17 = "Valeria Lukyanova (18)";
_global.title_18 = "Valeria Lukyanova (19)";
_global.title_19 = "Valeria Lukyanova (20)";
_global.title_20 = "Valeria Lukyanova (21)";
_global.title_21 = "Valeria Lukyanova (22)";
_global.title_22 = "Valeria Lukyanova (23)";
_global.title_23 = "Valeria Lukyanova (24)";
_global.title_24 = "Valeria Lukyanova (25)";
_global.title_25 = "Valeria Lukyanova (26)";
_global.title_26 = "Valeria Lukyanova (27)";
_global.title_27 = "Valeria Lukyanova (28)";
_global.title_28 = "Valeria Lukyanova (29)";
_global.title_29 = "Valeria Lukyanova (30)";
_global.title_30 = "Valeria Lukyanova (31)";
_global.title_31 = "Valeria Lukyanova (32)";
_global.title_32 = "Valeria Lukyanova (33)";
_global.title_33 = "Valeria Lukyanova (34)";
_global.title_34 = "Valeria Lukyanova (35)";
_global.title_35 = "Valeria Lukyanova (36)";
_global.title_36 = "Valeria Lukyanova (37)";
_global.title_37 = "Valeria Lukyanova (38)";
_global.title_38 = "Valeria Lukyanova (39)";
_global.title_39 = "Valeria Lukyanova (40)";
_global.title_40 = "Valeria Lukyanova (41)";
_global.title_41 = "Valeria Lukyanova (42)";
_global.title_42 = "Valeria Lukyanova (43)";
_global.title_43 = "Valeria Lukyanova (44)";
_global.title_44 = "Valeria Lukyanova (45)";
_global.title_45 = "Valeria Lukyanova (46)";
_global.title_46 = "Valeria Lukyanova (47)";
_global.title_47 = "Valeria Lukyanova (48)";
_global.title_48 = "Valeria Lukyanova (49)";
_global.title_49 = "Valeria Lukyanova (50)";
_global.title_50 = "Valeria Lukyanova (51)";
_global.title_51 = "Valeria Lukyanova (52)";
_global.title_52 = "Valeria Lukyanova (53)";
_global.title_53 = "Valeria Lukyanova (54)";
_global.title_54 = "Valeria Lukyanova (55)";
_global.title_55 = "Valeria Lukyanova (56)";
_global.title_56 = "Valeria Lukyanova (57)";
_global.title_57 = "Valeria Lukyanova (58)";
_global.title_58 = "Valeria Lukyanova (59)";
_global.title_59 = "Valeria Lukyanova (60)";
_global.title_60 = "Valeria Lukyanova (61)";
_global.title_61 = "Valeria Lukyanova (62)";
_global.title_62 = "Valeria Lukyanova (63)";
_global.title_63 = "Valeria Lukyanova (64)";
_global.title_64 = "Valeria Lukyanova (65)";
_global.title_65 = "Valeria Lukyanova (66)";
_global.title_66 = "Valeria Lukyanova (67)";
_global.title_67 = "Valeria Lukyanova (68)";
_global.title_68 = "Valeria Lukyanova (69)";
_global.title_69 = "Valeria Lukyanova (70)";
_global.title_70 = "Valeria Lukyanova (71)";
_global.title_71 = "Valeria Lukyanova (72)";
_global.title_72 = "Valeria Lukyanova (73)";
_global.title_73 = "Valeria Lukyanova (74)";
_global.title_74 = "Valeria Lukyanova (75)";
_global.title_75 = "Valeria Lukyanova (76)";
_global.title_76 = "Valeria Lukyanova (77)";
_global.title_77 = "Valeria Lukyanova (78)";
_global.title_78 = "Valeria Lukyanova (79)";
_global.title_79 = "Valeria Lukyanova (80)";
_global.title_80 = "Valeria Lukyanova (81)";
_global.title_81 = "Valeria Lukyanova (82)";
_global.title_82 = "Valeria Lukyanova (83)";
_global.title_83 = "Valeria Lukyanova (84)";
_global.title_84 = "Valeria Lukyanova (85)";
_global.title_85 = "Valeria Lukyanova (86)";
_global.title_86 = "Valeria Lukyanova (87)";
_global.title_87 = "Valeria Lukyanova (88)";
_global.title_88 = "Valeria Lukyanova (89)";
_global.title_89 = "Valeria Lukyanova (90)";
_global.title_90 = "Valeria Lukyanova (91)";
_global.url_0 = "www.humourger.com";
_global.url_1 = "www.humourger.com";
_global.url_2 = "www.humourger.com";
_global.url_3 = "www.humourger.com";
_global.url_4 = "www.humourger.com";
_global.url_5 = "www.humourger.com";
_global.url_6 = "www.humourger.com";
_global.url_7 = "www.humourger.com";
_global.url_8 = "www.humourger.com";
_global.url_9 = "www.humourger.com";
_global.url_10 = "www.humourger.com";
_global.url_11 = "www.humourger.com";
_global.url_12 = "www.humourger.com";
_global.url_13 = "www.humourger.com";
_global.url_14 = "www.humourger.com";
_global.url_15 = "www.humourger.com";
_global.url_16 = "www.humourger.com";
_global.url_17 = "www.humourger.com";
_global.url_18 = "www.humourger.com";
_global.url_19 = "www.humourger.com";
_global.url_20 = "www.humourger.com";
_global.url_21 = "www.humourger.com";
_global.url_22 = "www.humourger.com";
_global.url_23 = "www.humourger.com";
_global.url_24 = "www.humourger.com";
_global.url_25 = "www.humourger.com";
_global.url_26 = "www.humourger.com";
_global.url_27 = "www.humourger.com";
_global.url_28 = "www.humourger.com";
_global.url_29 = "www.humourger.com";
_global.url_30 = "www.humourger.com";
_global.url_31 = "www.humourger.com";
_global.url_32 = "www.humourger.com";
_global.url_33 = "www.humourger.com";
_global.url_34 = "www.humourger.com";
_global.url_35 = "www.humourger.com";
_global.url_36 = "www.humourger.com";
_global.url_37 = "www.humourger.com";
_global.url_38 = "www.humourger.com";
_global.url_39 = "www.humourger.com";
_global.url_40 = "www.humourger.com";
_global.url_41 = "www.humourger.com";
_global.url_42 = "www.humourger.com";
_global.url_43 = "www.humourger.com";
_global.url_44 = "www.humourger.com";
_global.url_45 = "www.humourger.com";
_global.url_46 = "www.humourger.com";
_global.url_47 = "www.humourger.com";
_global.url_48 = "www.humourger.com";
_global.url_49 = "www.humourger.com";
_global.url_50 = "www.humourger.com";
_global.url_51 = "www.humourger.com";
_global.url_52 = "www.humourger.com";
_global.url_53 = "www.humourger.com";
_global.url_54 = "www.humourger.com";
_global.url_55 = "www.humourger.com";
_global.url_56 = "www.humourger.com";
_global.url_57 = "www.humourger.com";
_global.url_58 = "www.humourger.com";
_global.url_59 = "www.humourger.com";
_global.url_60 = "www.humourger.com";
_global.url_61 = "www.humourger.com";
_global.url_62 = "www.humourger.com";
_global.url_63 = "www.humourger.com";
_global.url_64 = "www.humourger.com";
_global.url_65 = "www.humourger.com";
_global.url_66 = "www.humourger.com";
_global.url_67 = "www.humourger.com";
_global.url_68 = "www.humourger.com";
_global.url_69 = "www.humourger.com";
_global.url_70 = "www.humourger.com";
_global.url_71 = "www.humourger.com";
_global.url_72 = "www.humourger.com";
_global.url_73 = "www.humourger.com";
_global.url_74 = "www.humourger.com";
_global.url_75 = "www.humourger.com";
_global.url_76 = "www.humourger.com";
_global.url_77 = "www.humourger.com";
_global.url_78 = "www.humourger.com";
_global.url_79 = "www.humourger.com";
_global.url_80 = "www.humourger.com";
_global.url_81 = "www.humourger.com";
_global.url_82 = "www.humourger.com";
_global.url_83 = "www.humourger.com";
_global.url_84 = "www.humourger.com";
_global.url_85 = "www.humourger.com";
_global.url_86 = "www.humourger.com";
_global.url_87 = "www.humourger.com";
_global.url_88 = "www.humourger.com";
_global.url_89 = "www.humourger.com";
_global.url_90 = "www.humourger.com";
_global.trans_id_0 = 0;
_global.trans_id_1 = 0;
_global.trans_id_2 = 0;
_global.trans_id_3 = 0;
_global.trans_id_4 = 0;
_global.trans_id_5 = 0;
_global.trans_id_6 = 0;
_global.trans_id_7 = 0;
_global.trans_id_8 = 0;
_global.trans_id_9 = 0;
_global.trans_id_10 = 0;
_global.trans_id_11 = 0;
_global.trans_id_12 = 0;
_global.trans_id_13 = 0;
_global.trans_id_14 = 0;
_global.trans_id_15 = 0;
_global.trans_id_16 = 0;
_global.trans_id_17 = 0;
_global.trans_id_18 = 0;
_global.trans_id_19 = 0;
_global.trans_id_20 = 0;
_global.trans_id_21 = 0;
_global.trans_id_22 = 0;
_global.trans_id_23 = 0;
_global.trans_id_24 = 0;
_global.trans_id_25 = 0;
_global.trans_id_26 = 0;
_global.trans_id_27 = 0;
_global.trans_id_28 = 0;
_global.trans_id_29 = 0;
_global.trans_id_30 = 0;
_global.trans_id_31 = 0;
_global.trans_id_32 = 0;
_global.trans_id_33 = 0;
_global.trans_id_34 = 0;
_global.trans_id_35 = 0;
_global.trans_id_36 = 0;
_global.trans_id_37 = 0;
_global.trans_id_38 = 0;
_global.trans_id_39 = 0;
_global.trans_id_40 = 0;
_global.trans_id_41 = 0;
_global.trans_id_42 = 0;
_global.trans_id_43 = 0;
_global.trans_id_44 = 0;
_global.trans_id_45 = 0;
_global.trans_id_46 = 0;
_global.trans_id_47 = 0;
_global.trans_id_48 = 0;
_global.trans_id_49 = 0;
_global.trans_id_50 = 0;
_global.trans_id_51 = 0;
_global.trans_id_52 = 0;
_global.trans_id_53 = 0;
_global.trans_id_54 = 0;
_global.trans_id_55 = 0;
_global.trans_id_56 = 0;
_global.trans_id_57 = 0;
_global.trans_id_58 = 0;
_global.trans_id_59 = 0;
_global.trans_id_60 = 0;
_global.trans_id_61 = 0;
_global.trans_id_62 = 0;
_global.trans_id_63 = 0;
_global.trans_id_64 = 0;
_global.trans_id_65 = 0;
_global.trans_id_66 = 0;
_global.trans_id_67 = 0;
_global.trans_id_68 = 0;
_global.trans_id_69 = 0;
_global.trans_id_70 = 0;
_global.trans_id_71 = 0;
_global.trans_id_72 = 0;
_global.trans_id_73 = 0;
_global.trans_id_74 = 0;
_global.trans_id_75 = 0;
_global.trans_id_76 = 0;
_global.trans_id_77 = 0;
_global.trans_id_78 = 0;
_global.trans_id_79 = 0;
_global.trans_id_80 = 0;
_global.trans_id_81 = 0;
_global.trans_id_82 = 0;
_global.trans_id_83 = 0;
_global.trans_id_84 = 0;
_global.trans_id_85 = 0;
_global.trans_id_86 = 0;
_global.trans_id_87 = 0;
_global.trans_id_88 = 0;
_global.trans_id_89 = 0;
_global.trans_id_90 = 0;
_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.trans_76 = 2;
_global.trans_77 = 2;
_global.trans_78 = 2;
_global.trans_79 = 2;
_global.trans_80 = 2;
_global.trans_81 = 2;
_global.trans_82 = 2;
_global.trans_83 = 2;
_global.trans_84 = 2;
_global.trans_85 = 2;
_global.trans_86 = 2;
_global.trans_87 = 2;
_global.trans_88 = 2;
_global.trans_89 = 2;
_global.trans_90 = 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.show_76 = 2;
_global.show_77 = 2;
_global.show_78 = 2;
_global.show_79 = 2;
_global.show_80 = 2;
_global.show_81 = 2;
_global.show_82 = 2;
_global.show_83 = 2;
_global.show_84 = 2;
_global.show_85 = 2;
_global.show_86 = 2;
_global.show_87 = 2;
_global.show_88 = 2;
_global.show_89 = 2;
_global.show_90 = 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";
_global.file_76 = "images\\76.jpg";
_global.file_77 = "images\\77.jpg";
_global.file_78 = "images\\78.jpg";
_global.file_79 = "images\\79.jpg";
_global.file_80 = "images\\80.jpg";
_global.file_81 = "images\\81.jpg";
_global.file_82 = "images\\82.jpg";
_global.file_83 = "images\\83.jpg";
_global.file_84 = "images\\84.jpg";
_global.file_85 = "images\\85.jpg";
_global.file_86 = "images\\86.jpg";
_global.file_87 = "images\\87.jpg";
_global.file_88 = "images\\88.jpg";
_global.file_89 = "images\\89.jpg";
_global.file_90 = "images\\90.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;
Symbol 55 Button
on (release) {
gotoAndStop (2);
_root.soundstatus = "off";
}
Symbol 56 Button
on (release) {
gotoAndStop (1);
_root.soundstatus = "on";
}
Symbol 57 MovieClip [soundButtonBox] Frame 1
stop();
Instance of Symbol 59 MovieClip in Symbol 60 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 68 Button
on (release) {
_parent._parent._parent.ClearAllTimer();
_parent._parent._parent.showPlay();
gotoAndStop (2);
}
Symbol 74 Button
on (release) {
_parent._parent._parent._parent.music_mc.play();
_root.soundstatus = "on";
if (_parent._parent._parent.currentPhoto == _parent._parent._parent.getTotalPhotos()) {
_parent._parent._parent._parent.replayButton.removeMovieClip();
_parent._parent._parent.currentPhoto = 0;
} else {
_parent._parent._parent._parent.playButton.removeMovieClip();
}
if (_global.continueplay == 1) {
_parent._parent._parent.loadingInterval = setInterval(_parent._parent._parent.LoadingPhotoNoTransitionPlay, 200);
} else {
_parent._parent._parent.loadingInterval = setInterval(_parent._parent._parent.LoadingPhoto, 200);
}
gotoAndStop (1);
}
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
stop();
Symbol 79 Button
on (release) {
_parent._parent.ShowNextPhotoManual();
}
Symbol 82 Button
on (release) {
_parent._parent.ShowPrevPhoto();
}
Symbol 91 Button
on (release) {
gotoAndStop (2);
this._parent.gotoAndStop(2);
}
Symbol 94 Button
on (release) {
gotoAndStop (1);
this._parent.gotoAndStop(1);
}
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 2
stop();
Symbol 96 MovieClip Frame 1
stop();
Instance of Symbol 86 MovieClip "control_panel_title" in Symbol 96 MovieClip Frame 1
onClipEvent (load) {
this.onPress = function () {
this._parent.startDrag(this);
};
this.onRelease = function () {
this._parent.stopDrag();
};
}
Symbol 96 MovieClip Frame 2
stop();
Symbol 97 MovieClip [control] Frame 1
function getPhotoX() {
return(photo_x);
}
function getPhotoY() {
return(photo_y);
}
function getPhotoWidth() {
return(_global.flash_width);
}
function getPhotoHeight() {
return(_global.flash_height);
}
function ShowPhotoInformation() {
control_panel.control_panel_title.photo_biaoti.text = GetCurrentPhotoTitle();
imageDesc.text = GetCurrentPhotoDesc();
}
function ShowLoadingInformation() {
myLoader._alpha = 100;
myLoader._y = getPhotoHeight() / 2;
myLoader._x = getPhotoWidth() / 2;
}
function HideLoadingInformation() {
myLoader._y = -1000;
myLoader._alpha = 0;
}
photo_x = 0;
photo_y = 0;
function addloader() {
attachMovie("loading", "myLoader", 10);
}
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 {
control_panel.kongzhibody.autoplay.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) {
control_panel.kongzhibody.autoplay.gotoAndStop(2);
} else {
control_panel.kongzhibody.autoplay.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) {
control_panel.kongzhibody.autoplay.gotoAndStop(2);
} else {
control_panel.kongzhibody.autoplay.gotoAndStop(1);
}
ClearAllTimer();
loadingInterval = setInterval(LoadingPhotoNoTransition, 200);
}
function LoadingPhotoNoTransition() {
var _local1 = _parent;
infoText.text = (((("Photo to Show:" + currentPhoto) + " Frame loaded:") + _local1._framesloaded) + "/") + _local1._totalframes;
if (_local1._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();
setAllInfo();
setDecoration();
infoText.text = (("Frame loaded:" + _local1._framesloaded) + "/") + _local1._totalframes;
if (_local1._framesloaded >= (currentPhoto + FramePhotoBegin)) {
delete this.onEnterFrame;
HideLoadingInformation();
if (_global.autoplay == 1) {
showCurrentPhoto();
} 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() {
targetArray = ["_blank", "_parent", "_self", "_top"];
urlIndex = _global.url_target % 4;
_root.getURL(GetCurrentPhotoURL(), targetArray[urlIndex]);
}
function showRepeat() {
var _local1 = _parent;
control_panel.kongzhibody.autoplay.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";
control_panel.kongzhibody.autoplay.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";
control_panel.kongzhibody.autoplay.gotoAndStop(1);
this.removeMovieClip();
_parent.music_mc.play();
if (_global.continueplay == 1) {
loadingInterval = setInterval(LoadingPhotoNoTransitionPlay, 200);
} else {
loadingInterval = setInterval(LoadingPhoto, 200);
}
};
}
var currentPhoto = 0;
var trans_ID = 0;
var MotionCount = 0;
currentPhoto = 0;
FramePhotoBegin = 3;
DepthWorking = 5000;
prev_photo = null;
total_mask = 28;
setWholeFlashMask();
if (_global.showbutton == 0) {
control_panel._visible = false;
}
if (_global.autoplay == 1) {
control_panel.kongzhibody.autoplay.gotoAndStop(1);
} else {
control_panel.kongzhibody.autoplay.gotoAndStop(2);
}
onEnterFrame = enterFrameFunction;
Symbol 98 MovieClip Frame 1
_parent.attachMovie("control", "control", 5200);
_parent.attachMovie("soundControl", "soundControl", 5030);
_parent.soundControl._y = -1000;
_parent.soundControl._x = -1000;