Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Coloring book |
| From: | Marc Hoffman, Poison Dart Frog Media |
| Date: | Wed, 9 Jun 1999 07:12:13 +0100 |
At 07:24 AM 6/9/99 +0200, you wrote:
>Hi Marc!
>
>I would really like to hear more about this. The egg coloring game was
>very cool.
The coloring book is accessible from http://www.dartfrogmedia.com/sampler.
Here's the basic idea.
The egg has 17 parts. Each is actually a MC (movie clip) with 9 stopped,
labeled frames. In each frame the part is a different color (including
white), and is labeled accordingly. There is also an invisible button that
overlays each of the 17 parts. These 17 invisible buttons do not change.
The palette is really an array of 9 buttons (8 colors plus the Clear
button), but in fact there is a MC there, so there are 17 variations of the
palette each in a stopped frame.
Click on one of the invisible buttons and it sends the palette MC (via Tell
target) to a frame whose buttons each address that part of the egg. So, if
you click on part #14, each button in the palette has a tell target to part
#14 to go to a particular frame: the red button tells it to go to label
"red," the blue button tells it to go to label "blue," etc.
The Clear button just tells all the parts to go to frames where they are white.
If you plan this construction carefully, you can use copy symbol and copy
instance to reduce redundant coding. Otherwise it will take you a long time
to type in all the TellTargets.
Everything happens in one frame on the main timeline. I use the first three
frames, however, to ensure the whole thing is loaded before anything is
displayed. It's all small enough (37k) that loading is quite fast.
Homework assignment for all those who are interested: How would you
reconstruct this so that the user clicks first on a color, and then can
click on any number of parts to turn them the same color? First one to post
a working demo receives a Poison Dart Frog Media mug if my supplier ever
gets around to shipping them (should be any day now). If John C. is the
winner, the runner up will get a mug, too. Offer void where prohibited by
law (I don't know why they always say that, so I'll say it too, just to be
safe). BTW, the mug is really on order, see
http://www.dartfrogmedia.com/mug/ (pantone color guide is not part of the
real mug) to view the design.
Marc Hoffman
marc
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-manager
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-manager
Replies
Re: FLASH: Coloring book, Rusty Worden
Re: FLASH: Coloring book, John Croteau
Replies
Re: FLASH: Coloring book, Marc Hoffman, Poison Dart
Re: FLASH: Coloring book, sK@RRe
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

