TAILIEUCHUNG - Học Actionscript 3.0 - p 22

Programmatic Tweening Reproducing Timeline Tweens with ActionScript The last thing we want to mention in this chapter is a companion website post about a feature that’s a bit out of the ordinary. As such, we intend it to be an additional resource for your continued study outside this book. In addition to scripting motion solely with code, it’s also possible to rebuild a Flash Professional timeline motion tween using ActionScript. At the very least, this is an interesting workflow between designer and developer—allowing a designer to carefully tweak an animation using traditional interface tools, and then turning the file over to a. | Programmatic Tweening Reproducing Timeline Tweens with ActionScript The last thing we want to mention in this chapter is a companion website post about a feature that s a bit out of the ordinary. As such we intend it to be an additional resource for your continued study outside this book. In addition to scripting motion solely with code it s also possible to rebuild a Flash Professional timeline motion tween using ActionScript. At the very least this is an interesting workflow between designer and developer allowing a designer to carefully tweak an animation using traditional interface tools and then turning the file over to a developer that can make the entire process more dynamic with ActionScript. At best it s a way for any Flash user to turn restrictive timeline tweens into code-based animations that are vastly easier to reuse and adapt. This process requires that a traditional timeline tween be created first and then Flash can break down the steps needed to reproduce the tween and write them to an XML document. ActionScript can then load the document parse the instructions and recreate the tween on the fly. The companion website http has a full tutorial including sample files in a post called Recreating Timeline Tweens with ActionScript so be sure to check it out. NOTE In this introduction we ve only scratched the surface of what the GreenSock Tweening Platform can do. Visit http for details documentation interactive examples performance comparisons of other tweening engines and more. learningactionscript3 Packages As discussed multiple times in prior chapters one of the greatest benefits of learning object-oriented programming is the ability to quickly and easily reuse code. To that end we re going to evolve a small library of code as the book progresses to show you how to build reusable packages of your own. In this and every subsequent chapter we ll add a little code to this ongoing learningactionscript3 .

TÀI LIỆU MỚI ĐĂNG
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.