Step 2: Create the Code Hint File
The root node of the Code Hint XML file is called <%lt%>customactions<%gt%> and contains several sub elements as described below:
<%lt%>actionspanel<%gt%> is used to group and define the folders and items that will be placed into the Flash Actions Toolbox (see Figure 1).
<%lt%>colorsyntax<%gt%> is used to define which identifiers (i.e. objects and methods) will display using the color specified for identifiers within the ActionScript editor preferences window (see figure 5).
<%lt%>codehints<%gt%> is used to identify a specific object type within the ActionScript editor and allows the editor to display the menu-style code hint for the object.
Each of these elements can contain sub elements to describe supporting information. We will review each as we create the Code Hint XML file for FSimpleClass. Lets begin by creating the skeleton of the Code Hint XML file.
|» Level Advanced|
Rating: 8 Votes: 14
|Paul Gubbay, CEO
Jason Williams, CTO
CyberSage Software specializes in building highly innovative XML, Flash and JAVA-based software products for developers and graphic artists. CyberSage technology is designed to solve real world problems with an emphasis on innovative XML solutions. Current offerings include Firefly for Flash and FlashDoc.
|Download the files used in this tutorial.|
|Download (227 kb)|
|More help? Search our boards for quick answers!|