Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Flash - Klyve the newbie!
From: Marc Hoffman, Poison Dart Frog Media
Date: Thu, 10 Jun 1999 10:38:58 +0100

At 09:50 AM 6/10/99 +0100, you wrote:
>Marc,
>I'm obviously quite slow as I can't follow what you mean here!
>Any added details? Much appreciated.
>Klyve

Hi Klyve,

That's quite all right. I sometimes give a sketchy explanation and count on
you to let me know when you need more detail. It usually saves time and
bandwidth. But here's the extra detail:

>Draw a mockup of the buttons and associated text on the main stage.

Draw a button right where it will go. Also type in the text exactly where
you want it to appear on rollover.

>One button at a time, select all the associated elements for that button

Draw button and text all in one layer. Then select the button and the text.
You may need to hold the shift key down to select multiple objects,
depending if you checked "shift select" under Flash's Preferences.

>press F8 to actually make it a button.

When stuff is selected and you press F8, it draws a line around it and
makes it a symbol. You are prompted to give it a name (else it will be
named "Symbol XX"). Be sure also to check the circle that says it's a
button. Then click okay.

> Then in button edit you can break
>stuff apart into the appropriate layers and frames.

While the symbol is selected press Ctrl-E (Edit Symbol) or you can access
it via the library list. In symbol edit mode you will see everything you
drew on one layer. Create a second layer. Cut the button out of the first
layer and put it in the second (use Cut and Paste in Place), leaving only
text in the first layer. Add frames and keyframes as needed to the text
layer so that the text is only in the Over frame (perhaps you will want it
in the Down frame as well). In the layer that holds the button you can make
a keyframe for Up, Over, and Down, and apply effects (color effects,
enlargement, or whatever you like) so the button responds to the mouse
passing over and clicking. The hit frame should have only one graphic in it
(can be in either layer) and the graphic should be a solid fill (no
outline) that defines the area of the button that is "hot."

When you return to the movie edit stage, you will see the button in its
correct place but the text will appear only if you activate buttons there
(ctrl-alt-B) or when you Test Movie.

NOTE: If you create a layer for each button, you can draw them all on the
stage before converting them to buttons. Even if the text overlaps or is in
the exact same location, having them on separate layers lets you select the
elements for each button, one at a time, and convert them to a button. If
there is no overlapping, you can draw them all on the same layer, just be
careful to select the right text for each button.

Note, too, that John C's solution (making text appear by making it a movie
clip separate from the button) is perfectly all right and allows for extra
effects such as animations that finish themselves even if the user rolls
out of the button hit area. I offered my method because it has other
applications, such as getting movie clips placed correctly with minimal
effort (especially those containing large-area tweens).

Good luck and don't stop asking questions :)




Marc Hoffman

marcatdartfrogmedia [dot] com (mailto:marcatdartfrogmedia [dot] com)
Flash3 Portfolio: <http://www.dartfrogmedia.com/sampler>, featured
in Flash 3 Web Animation, by Ken Milburn.

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  RE: FLASH: Flash - Klyve the newbie!, Klyve Dawson

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]