First time here? First time here? Newsletter Signup Newsletter
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: S.Saipriya
    » Title: Flash Fire Effect
    » Description: This tutorial explains about how to create Fire Effect in Flash of Actionscript 2.0.I hope this tutorial helps you!
    Featured Sound Loops
    Image for equalize

    Audio Player

    » Author: Aidan Crouzet-Pascal
    » Title: Falling Star
    » Description: This loop is a cool sounding, E minor loop.
    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: Brandan Paulin
    » Description: Epic sounding loop with Brass, Percussion, Strings and Winds. This is actually part of a Loop Pack called the Coming where you can download the rest of the loops that go with it FREE from my website.