Học Actionscript 3.0 - p 31

Loading HTML and CSS Now we come again to a point where you should stretch the mental muscles and try to take what you’ve learned one step further. The first topic of this section will give you a peak at what we’ll be covering in Chapter 13: loading external assets. You’ll learn how to load and apply external HTML and CSS files. The second topic of this section will give a brief overview of the new Text Layout Framework that brings some advanced typographic support to ActionScript. We’ll list a few pros and cons of this new technology and then show. | Loading HTML and CSS Now we come again to a point where you should stretch the mental muscles and try to take what you ve learned one step further. The first topic of this section will give you a peak at what we ll be covering in Chapter 13 loading external assets. You ll learn how to load and apply external HTML and CSS files. The second topic of this section will give a brief overview of the new Text Layout Framework that brings some advanced typographic support to ActionScript. We ll list a few pros and cons of this new technology and then show you a few examples of how to use TLF fields that differ from uses of ordinary text fields. Loading HTML and CSS This exercise uses the same HTML CSS and some of the ActionScript from the prior HTML and CSS example but loads the content from external files. We ll discuss loading again in Chapter 13 but here we ll just focus on loading text files. The assets you ll need for this exercise are included with the source code from the companion website but here are the setup files in case you wish to recreate them on your own. The following files should go in the same directory as your host .fla file. In case you want to try the sample files they re found in the LoadHTMLCSS_Example directory of the source archive and the FLA uses the class as a document class. HTML body p class heading ActionScript Adds Time Travel p p class byline by Walter Westinghouse p p January 1 2015. The rumors swirling around the tech community recently have been confirmed today as lead Flash Player engineer Dr. Eldon Tyrell announced that ActionScript will support time travel. Ever since the concept of time travel was popularized by a href event author of early science fiction novel The Time Machine H. G. Wells a in 1895 humans have yearned for the ability to travel through time and now it s a reality. p p Flash Player QA lead Roy Batty agreed. We re happy to add this feature to human BioChips everywhere using the standard Express .

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
110    93    5    15-05-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.