tailieunhanh - adobe press ActionScript 3.0 for ADOBE FLASH PROFESSIONAL CS5 Classroom in a Book phần 7
Nếu một tuyên bố trường hợp đã kết thúc với một phá vỡ, sau đó báo cáo chuyển đổi toàn bộ kết thúc khi một trong những báo cáo trường hợp là đúng, nếu không, người chơi sẽ tiến hành thông qua toàn bộ báo cáo. Để biết thêm thông tin về báo cáo chuyển đổi, xem "ActionScript Tài liệu tham khảo cho các nền tảng Flash." | 4 Test the movie. The video that you selected will play inside the FLVPlayback component. The set of controls that the user is given for an instance of the FLVPlayback component is known as the component s skin. Unless you consciously set the skin property of this component the controls that appear for the video will be whatever skin was last selected and may not be what you want for your project. So you will next set the skin. Setting the FLVPIayback controls Flash CS5 ships with a large number of prebuilt sets of video controls that can be associated with instances of the FLVPlayback component. These skins are set with the skin property of the FLVPlayback component either in the Component Parameters panel or with ActionScript. For now you will set the initial skin in the Component Parameters. 1 With the vidPlayer instance still selected and the Component Parameters still visible locate the skin property and click the pencil icon to open the Select Skin dialog box. 2 In the drop-down list that appears in the Select Skin dialog box navigate to and select the skin then click OK. Setting skin color and transparency Next you will set the color and transparency of the skin for your video first in the Component Parameters panel and then using ActionScript to allow users to change these properties while the project is running. 1 With the vidPlayer component still selected locate the skinBackgroundColor property in the Component Parameters panel and click the color chip to the right of the property name. 2 Select the color that you want your video controls to be. 234 LESSON 11 Using ActionScript and Components to Control Video About FLVPIayback skin files The skins that appear in the Select Skin dialog box are actually SWF files created to work with the FLVPlayback component. All these SWF files as well as the original FLA files from which they were created are installed on your hard drive when you install Flash CS5 Professional. There are many variations
đang nạp các trang xem trước