Thiết kế flash với flash cs5 part 69

Stepping Through Code Khi bạn mở Debugger, Flash Player được tự động bị tạm dừng. Điều này cho bạn cơ hội để đặt breakpoint trong kịch bản (xem bài trước: Đặt breakpoint). Một khi các breakpoint được thiết lập, bạn có thể nhấp Continue hoặc nút Play, và Debugger sẽ chơi swf. Tập tin cho đến khi nó gặp một breakpoint. | Stepping Through Code When you open the Debugger the Flash Player is automatically paused. This gives you the opportunity to set breakpoints in the script see previous lesson Setting Breakpoints . Once the breakpoints are set you can click the Continue or Play button and the Debugger will play the .swf file until it encounters a breakpoint. When a breakpoint is reached the Debugger again pauses the movie. You now have the option to step in out or through the breakpoint script. Step Through Code Click the Debug menu point to Debug Movie and then click Debug. Add breakpoints by clicking in the left margin next to the line of code where you want the breakpoint. To remove a breakpoint click it. Click the Continue button. Flash will stop at the first breakpoint. Select from the step options Continue. Click to leave the line at which the player is stopped and continue playing. Stop Debugging. Click to deactivate the Debugger but continue to play the SWF file. Step In. Click to step into and execute a function works only for user-defined functions . Step Out. Click to move out of a function works only if you are currently stopped in a user-defined function . Step Over. Click to skip over a line of code. IMPORTANT If you want to know where the Debugger stopped keep an eye on the yellow arrow. A yellow arrow along the left side of the Debugger s code view indicates the line at which the Debugger stopped. Current breakpoints Continue Stop Debugging The Yellow Arrow indicates where the Debugger stopped. 4 Chapter 17 Debugging a Movie 425 Debugging Manually Debugging a Flash movie manually means exactly what it implies. You can open the movie and take it for a test drive. Debugging a movie manually gives you a chance to be the visitor and experience your movie exactly as they would. When you manually test a Flash movie you want to experience the wait time for downloading you want to forget that you created this masterpiece and you want to come at it just as if you were a .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
103    133    5    26-04-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.