Chaz Meyers (cpm) wrote,
Chaz Meyers

While doing some research, I stumbled upon Macromedia's ActionScript Coding Standards [pdf] [googleized html]

The Macromedia Flash MX ActionScript editor has built-in code completion support. In order to take advantage of this, variables must be named in a specific format. The default format is to suffix the variable name with a string that indicates the variable type. Below is a table of supported suffix strings. Supported suffix strings for code completion </td>_date</td>
Object typeSuffix stringExample

Wow. I was wondering why they didn't hack anything so that non-predefined variables would get that popup menu. They just forgot to document how to trigger it. :-P
Well, hopefully they have something more intelligent in mx2004. I read somewhere that AS2.0 is a strongly typed language (huh? based on EMCA?) so it should be able to prompt by keeping track of the type of everything like how Visual Studio does. Ha. Extensions. Who would ever use such a silly convension? ;)

  • My tweets

    Fri, 20:07: I made my first comment on a YouTube video. It got 132 upvotes and 28 comments. The clout is definitely already going to my head.

  • My tweets

    Wed, 21:11: I think the changes to Overwatch 2 are great because they realize how hard it is to find 5 friends who want to play the game. Now I…

  • My tweets

    Sun, 01:39: RT @ dinoman_j:

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.