Code myclipvisible false hy xem v d 07visiblefla r hn

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: o các button l n lư t là Advance ActionScript on (release) { gears.nextFrame(); } Previous ActionScript on (release) { gears.prevFrame(); } Play ActionScript on (release) { gears.play(); } Stop ActionScript on (release) { gears.stop(); } Rewind ActionScript on (release) { gears.gotoAndStop (1); } 3) Target m t movie Level cơ b n u tiên c a Flash là time line chính(Level 0). N u b n mu n ra l nh cho time line này, b n dùng code sau _root.gotoAndStop(); th m chí n u b n t code gotoAndStop(); time line chính, b n ko c n _root. Ch c n Gi s n u b n có m t movie trên time line, t c là b n có m t level sâu hơn(level 1). N u b n t time line chính, mu n goi movie gears , b n ph i dùng câu l nh gears.gotoAndStop(7); _root["gears"].gotoAndStop(7); this["gears"].gotoAndStop(7); C 3 cách trên u gi ng nhau.. Tuy nhiên this có nghĩa là level hi n hành. VÍ d trên, level hi n hành c a this là level 0. Nhưng n u code t trong movie, level hi n hành s là level 1. B n ph i...
View Full Document

This note was uploaded on 01/16/2013 for the course BANKING 111 taught by Professor Johnsmith during the Spring '13 term at University of Economics and Technology.

Ask a homework question - tutors are online