Flasher Archive

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


Subject: Re: FLASH: space invaders
From: John Croteau
Date: Mon, 20 Sep 1999 20:28:45 +0100

Hi James,

> I have made a little space invader animation as a tester where my little
> mousedrag spaceship appears with all its environment around it and all
> its little flying enemies on the main movie. I have made a �score�
> movie clip for when it passes over the little buttons that it is
> supposed to kill and a set of �lives� movie clip which disappear one by
> one when it passes over the things which kill it. The �lives� consist
> of 3 keyframes, each of which has one less life in it and a stop command
> on each. When the spaceship passes over one of its enemies it triggers
> the enemies buttons to TELL TARGET the �lives� movie to go to the next
> frame (ie one life less). When all the �lives� are used up my little
> lives movie has another keyframe into which I want to place an
> instruction to go to the main movie and go to the next frame (which
> stops the movie and brings up a �you lose etc�message. I have tries
> numerous ways to address the main movie without success. How does one
> script it. I would appreciate any help
> The main movie is called �space�
> The lives movie clip is called �lives
> The main movie runs till frame 5 and the frame with the �you lose�
> stuff on it is frame 6
To target the main timeline use /
To target a movie clip placed on the main timeline use /InstanceName

Make sure your movie clips are set with behavior Movie Clip and have
Instance names, then you should be able to target them
/space
/lives

----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratchinwag [dot] com. Problems to: helpatchinwag [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-manageratchinwag [dot] com


Replies
  Re: FLASH: space invaders, james duncan

Replies
  FLASH: space invaders, james duncan

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