Flasher Archive

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


Subject: FLASH: Help with increment
From: Andrew Le Sage
Date: Mon, 25 Dec 2000 14:15:45 GMT

Hi all

I have a problem, I have a 24 piece jigsaw which all works fine with the
bits snapping into place as the result of a hitTest. There is no problem
with that. However I want to have an action caused by the last bit being put
into place. The bits can go in any order so the only way I can see to do
this is to have a variable that increments everytime a bit is put into the
correct position. Once in the correct position they cannot be moved again so
as soon as the variable reaches 24 I could have the movie goto the next
scene or whatever. The problem is that I cannot seem to set this up. Where
should the variable be declared, in the main timeline in the 1st frame? then
in the code for every dragable MC (puzzle bit) have it increment the
variable by 1 on a true hitTest. If this is right so far then it is the
syntax that I am having trouble with. Or is my idea the totally incorrect
way to do this.

Thanks for sparing the time to read this and thanks if you decide to help

Andrew Le Sage


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Help with increment, Gregg Caines

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