TAILIEUCHUNG - Flash Builder 4 and Flex 4 Bible- P10

Flash Builder 4 and Flex 4 Bible- P10: When Macromedia first released Flash MX in 2002, the product was branded as the new way to build Rich Internet Applications (known by the acronym RIA). The term was invented at Macromedia to describe a new class of applications that would offer the benefits of being connected to the Internet, including access to various types of Web-based services, but would solve many of the nagging issues that had been inherent in browser-based applications since the mid-1990s | Chapter 14 Declaring Graphics with MXML and FXG Ellipse. Draws an elliptical shape. If its height and width are identical it draws a circle. Line. Draws a straight line from one set of coordinates to another. Path. Draws a shape based on a set of drawing commands creating multiple shape segments. Rect. Draws a rectangular shape. If its height and width are identical it draws a square. The package also includes the following classes that are used to group graphics together and embed graphical files in conventional formats such as PNG GIF and JPG BitmapImage. A class that embeds bitmap data defined in a graphical file. The file can be in any one of the conventional bitmap file formats PNG JPG or GIF. Graphic. A nonvisual class that can be used to group multiple FXG graphics together. When you place multiple FXG graphics within an instance of the Graphic class they overlap each other using a layout architecture similar to a Group with a layout of BasicLayout. Drawing lines The Line class draws a line on the screen. As with all such primitives it must be placed within a Spark application or component. Its width and height properties determine its horizontal and vertical length while the stroke property determines its color and style. The stroke property must be set to an instance of a class that implements the IStroke interface. Examples of such classes in the Flex 4 SDK include GradientStroke and SolidColorStroke. Caution The Line class s stroke property defaults to null. If you don t set the stroke to an instance of a class that implements the IStroke interface the line is invisible. The following code draws a simple horizontal line. The stroke property is set to an instance of SolidColorStroke with a color of black 000000 and a weight of 2 pixels s Line width 700 s stroke s SolidColorStroke color 000000 weight 2 s stroke s Line Using gradient strokes As with the fill property used with shapes that are drawn with the Rect Ellipse and Path classes .

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.