![]() ![]() The compiler then takes the metadata into account when compiling the line of code that follows it.įor example, to embed an image called button_up.png that is stored in the directory one level above the ActionScript file, you would use the following ActionScript: Remember that metadata is “data about data.” You add metadata to ActionScript on the line immediately preceding the line of code that the metadata applies to. Usually, these metadata declarations are used to embed image files, fonts, individual symbols, or other SWF files into the SWF. If you are writing ActionScript 3.0 code to be used in Flex, you can place metadata in the code to embed external files in any published SWF that includes the ActionScript code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |