5 Replies Latest reply on Oct 3, 2008 7:51 AM by Laura MS

    making buttons of U.S. states

    Laura MS Level 1
      I have a vector map of the U.S., and I'm trying to make each state a simple button. But certain landlocked states (Oklahoma, West Virginia, Kansas) won't allow me to make buttons of them. How do I do this?
        • 1. Re: making buttons of U.S. states
          Level 7
          Laura,

          >I have a vector map of the U.S., and I'm trying to make each
          > state a simple button. But certain landlocked states (Oklahoma,
          > West Virginia, Kansas) won't allow me to make buttons of them.
          > How do I do this?

          You have two options: a) create separate symbols out of all 50 states
          or b) overlay each state with an "invisible" button, or hotspot. To create
          an invisible button, create a button symbol and draw a shape only in the Hit
          frame. That gives the button a clickable surface, but a surface that
          doesn't look like anything (the authoring environment will show you the
          shape as a semitransparent teal, for convenience).

          If you go with the latter choice, you'll probably want to make your
          invisible buttons match the shape of each state as closely as possible ...
          and if so, you may as well forego the invisible buttons and just make each
          state it's own symbol. ;)

          That said, maybe you've already tried this, and that's where you're
          getting stuck. To create a symbol from each of the landlocked states, you
          should be able to carefully use the Selection tool to click on each piece of
          the state's stroke, and then its fill, then convert. Doing that, however,
          will "steal" strokes from neighboring states, so the workflow I would use is
          this (starting with the original vector map):

          a) Create a new layer above the original map layer.
          b) Choose a state and carefully select its stroke and fill.
          c) Copy to the clip board.
          d) Paste in place to the new layer. (This leaves the original strokes in
          place, to be used to create the symbols for neighboring states.
          e) In the new layer, select the state's stroke and fill, then convert to a
          button or movieclip.
          f) Repeat steps b through e another 49 times.


          David Stiller
          Co-author, Foundation Flash CS3 for Designers
          http://tinyurl.com/2k29mj
          "Luck is the residue of good design."


          • 2. Re: making buttons of U.S. states
            Laura MS Level 1
            I keep trying to copy and paste into a new layer, but Flash keeps putting it on the same map layer!
            • 3. Re: making buttons of U.S. states
              Laura MS Level 1
              I keep trying to copy and paste into a new layer, but Flash keeps putting it on the same map layer!
              • 4. Re: making buttons of U.S. states
                Level 7
                Laura,

                >I keep trying to copy and paste into a new layer, but Flash
                > keeps putting it on the same map layer!

                Is the new layer locked, maybe?


                David Stiller
                Adobe Community Expert
                Dev blog, http://www.quip.net/blog/
                "Luck is the residue of good design."


                • 5. Re: making buttons of U.S. states
                  Laura MS Level 1
                  What I did was blow the map up to a pretty large size. Then I defined each landlocked state. I changed its stroke and fill properties before converting it to a symbol. Once I was able to get all the landlocked states defined as simple buttons, I did the perimeter states. Then I shrank the map down to the size I needed. It took the better part of two days, but I have all 50 U.S. states defined as simple buttons now. Thanks for your help!