Flasher Archive

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


Subject: Re: FLASH: Mouse Cursor and point scoring
From: Marc Hoffman
Date: Mon, 14 Sep 1998 08:02:11 +0100

At 03:33 PM 9/14/98 +0930, you wrote:
>Flashers,
>
>I have just purchased Flash 3 and have learnt how to create basic
>animations, however I now need to know how to create a simple game and need
>to know 2 things. Can anyone advise me how to:
>
>1. change the cursor to something else (a graphic or whatever options there
>are) on a (symbol) rollover?
>
>2. then keep a tally of points (+1 or -1) depending if the user clicks on a
>"right" or "wrong" object (symbol).
>
>Rosalinda
>

Although cursor substitutions are easy in Director, the only way I've heard
to approximate them in Flash is to fille the screen with buttons that are
visible only on rollover, using the same "cursor" image for each one.

To keep a tally, you might make a movie clip with a series of numbers in
the frames from, say, -100 to +100, with a stop action in every frame. The
first frame would scoot the playback to the zero (or empty) frame (using
GoTo and a label for the zero frame). Then every correct click uses
TellTarget to make the clip go to the next frame, and every wrong click
uses TellTarget to make the clip go to the previous frame. If you don't
want the score displayed constantly, put a mask above the movie clip in
those places where you do want the score to be displayed.

To use TellTarget to talk to a movie clip, the clip must have an instance
name assigned to its instance on the stage. You will then see the instance
name in the TellTarget dialogue box and can select it.

Let me know if this is not specific enough.


Marc Hoffman
<marchofatjps [dot] net (mailto:marchofatjps [dot] net)>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Create your own music at the Poison Dart Frog Music
Digital Audio Playground: <http://www.jps.net/dartfrog>

------------------------------------------------------------------------
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: Mouse Cursor and point scorin, rosalind abraham

Replies
  FLASH: Pulldown Menu problems, Wayne Townsend
  FLASH: Mouse Cursor and point scoring, rosalind abraham

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