Flasher Archive

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


Subject: RE: FLASH: shaking an instance
From: Paul Willoughby
Date: Wed, 8 Nov 2000 13:06:33 GMT

Hi again Ben,

Did you see my other post yet? Anyway, it's the same problem. Make sure
you've got the field with the incrementing code set to expression and don't
use any quotes:

Set Variable: "count" = count + 1 //this field *must* be set as an
expression not a string (= *not* abc)

Also leave out quotes when testing a variables value, otherwise Flash
interprets it as a string, not a variable:

If (count > 2)

hth

paul


Ben Houghton wrote on 08 November 2000

> I've got a similar variable problem in trying to createa
> little loop. the
> idea is to just loop a couple of time over a few frames, so
> i set up a
> count variable in an earlier frame
>
> Set Variable: "count" = 0
>
> then in another frame in the loop I use
>
> Set Variable: "count" = "count" +1
>
> then at the end of the loop zone (frame 28) I tell the main movie
>
> If ("count" > 2)
> Go to and Play (29) // a later frame outside the loop
> Else
> Go to and Play (22) // the frame where count
> is incremented
> End If
>
> I'm sure it's a simple syntax error but I'm buggered if I can find it!
>
> Thanks
>
> Ben
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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


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