First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing! | Flash Jobs
Search tutorials
Author: Paul Gubbay, Jason Williams | Website: http://www.cybersage.com

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!

    Comments

    • 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: work2survive
    » Title: Girl Walking 1kb
    » Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
    Featured Sound Loops
    Image for equalize

    Audio Player

    » Author: BoxCat
    » Title: CPU Talk
    » Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
    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: nathan
    » Description:

    A recorded sound of the Dimensional Fork Gate.