A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Flex builder. Grrr. Underscore separation of constant names

  1. #1
    Senior Member
    Join Date
    Aug 2002
    Location
    Dublin, Ireland
    Posts
    1,749

    Flex builder. Grrr. Underscore separation of constant names

    Hi,
    I have defined a custom Event class for one of my objects, which works well, but...

    Although Flex builder picks up the custom events, it is separating the names with underscores eg: "GAMEREADY" becomes "_G_A_M_E_R_E_A_D_Y" which then breaks the compile as it is an invalid constant name...

    Does anybody know why Flex builder might be doing this? Or is it just Adobe launching a very private war against me in particular?

    Gaius

  2. #2
    supervillain gerbick's Avatar
    Join Date
    Jul 2000
    Location
    undecided.
    Posts
    18,986
    I personally have never seen this. But then again, I tend to use the lowercaseUppercase for all of my vars and objects... so for me, it would be gameReady.

    That's just... odd dude.

    [ Hello ] | [ gerbick ] | [ Ω ]

  3. #3
    Senior Member
    Join Date
    Aug 2002
    Location
    Dublin, Ireland
    Posts
    1,749
    Traced it to a mis-match between my metadata and the constants...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center