1 Reply Latest reply on Jul 31, 2007 9:06 AM by Rusherific

    Flash isn't autogenerating classes...

    Rusherific
      So I'm doing a U.S. dealer-locator map for my company, and I made my first custom class to be able to control the button properties of all the states at once. It works beautifully, except I can't assign my class to more than one State!

      If I set "myButtonClass" to, for example, California's base class in the linkage panel, I have to give it a dummy class like "CA" right? Well for some reason flash is just not auto-generating these. It keeps saying:

      1046: Type was not found or was not a compile-time constant: CA.

      I thought this was fairly standard, as you have to go through this to give any hand-placed object an actionscript link. And I've used auto-generated classes before, so I don't know why this isn't working now...

      Also, if no one has any idea, is there a way around this? I don't know how to make custom classes except to make an individual .as file for each, which would be a pain.

      Thanks for your help!
      Devin