TAILIEUCHUNG - Understanding Data Sources and Data Formats

Hiểu biết về các nguồn dữ liệu và nguồn dữ liệu định dạng A dữ liệu là một nơi mà từ đó Flash có thể tải dữ liệu bên ngoài (có nghĩa là, dữ liệu không trực tiếp lập trình vào bộ phim). Ví dụ, Flash có thể tải dữ liệu từ một tập tin văn bản đơn giản, và rằng tập tin văn bản được coi là một nguồn dữ liệu | Understanding Data Sources and Data Formats A data source is a place from which Flash can load external data that is data not directly programmed into the movie . For example Flash can load data from a simple text file and that text file is considered a data source. Data transfer is the act of retrieving data from a source or sending data from Flash to another application. In this section you ll learn about the different types of data sources as well as the Flash objects and methods used to communicate with these sources in the data transfer process. Any data that you plan to load into Flash from an external source must be structured formatted in a specific way. Flash supports the following formats URL string. In this type of name value pair formatting variables and their values are defined as a string of text. For example the following text string name Jobe website http hairColor brown defines three variables name website hairColor and their respective values Jobe http brown . After this text string has been loaded Flash automatically breaks it into its respective variable names values making them available for use just as any other variables. An equals sign is used to associate a variable name with its value and an ampersand marks the end of one variable and the beginning of another. You will use this format in an exercise later in this lesson. The format supports an unlimited number of variables. Only simple variables can be stored in URL string format data contained in objects arrays or any other data type is not supported by a string of text. XML. This popular formatting standard allows data to be stored in a logical structure. For example States State Name North Carolina Name Capital Raleigh Capital State State Name Virginia Name Capital Richmond Capital State States After an XML document is loaded into Flash a script that you write is used to extract information from the XML document. NOTE See Lesson 12 Using XML with

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.