First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: Paul Gubbay, Jason Williams | Website:

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 it’s methods.

The following is a description of the attributes used:

  • text – defines the text that will be displayed using the color specified for identifiers within the ActionScript Editor preferences window (see Figure 5).
  • 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:

  • OBJECT – name of the object to be used when the pattern is matched.
  • pattern – the text pattern to match against within the code pane.
  • » Level Advanced

    Added: 2002-09-20
    Rating: 8 Votes: 14
    (10 being the highest)
    » 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.
    » Forums
    More help? Search our boards for quick answers!


    • There are no comments yet. Be the first to comment!

    • You must have javascript enabled in order to post comments.

    Leave a Comment
    • Your email address will not be published. All fields are required.
    Featured Flash FLA
    » Author: Inocreato
    » Title: RaiseTheBlocks
    » Description: Raise all the blocks to win the game
    Featured Sound Loops
    Image for equalize

    Audio Player

    » Author: TomCat Carty
    » Title: The Wood
    » Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
    Latest Font
    » Author: Fábio FAFERS
    » Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
    Featured Sound Fx
    Image for equalize

    Audio Player

    » Author: Davisigner
    » Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.