Next, we need to create the <%lt%>colorsyntax<%gt%> section. The <%lt%>identifier<%gt%> element is used to define the syntax coloring for FSimpleClass and its methods.
The following is a description of the attributes used:
The final section of the Code Hint XML file contains the <%lt%>codehints<%gt%> tag. Only objects are specified within this element. The purpose of this section is to provide a way for Flash MX to determine what menu-style code hint to display when a user is writing code in the editor. It looks for a pattern in the text being edited and attempts to match that pattern with one of the pattern attributes within the codehints typeinfo tag. When a match is found the menu-style code hint is displayed. We would like the menu-style code hint to appear any time the user types in xxxx_simple. Here is how we would enter FSimpleClass.
The following is a description of the attributes used:
» Level Advanced |
Added: 2002-09-20 Rating: 8 Votes: 14 |
» Author |
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 |
Download the files used in this tutorial. |
Download (227 kb) |
» Forums |
More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.
Comments
There are no comments yet. Be the first to comment!