Flasher Archive

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


Subject: RE: FLASH: shaking an instance
From: Ben Houghton
Date: Wed, 8 Nov 2000 12:53:39 GMT

Thanks Bruce,

Unfortunately this apprears to be ignoring the horiz variable and just
placing the object at
(_x = +15) then at (_x = -15). hmmmmm.


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

>Date: Wed, 8 Nov 2000 07:04:07 +0800
>From: "McMillan, Bruce" <bruce [dot] mcmillanatalcoa [dot] com [dot] au>
>Subject: RE: FLASH: shaking an instance
>
Try

Set Variable: "horiz" = "GetProperty(../Shake,_x)"
Set Property ("../Shake", X Position) = "horiz" + 15

Set Variable: "horiz" = "GetProperty(../Shake,_x)"
Set Property ("../Shake", X Position) = "horiz" - 15

Bruce


> -----Original Message-----
> From: Ben Houghton [SMTP:benatakoluthic [dot] com]
> Sent: Wednesday, November 08, 2000 7:53 AM
> To: flasheratchinwag [dot] com
> Subject: FLASH: shaking an instance
>
> hi there
>
> i'm currently trying to create a little script that can be applied to
> multiple layers of a movie which shakes the instance found in that
> particular layer (or ideally on script which shakes all the instances
> together).
>
> unfortunately i am not doing very well :-(
>
> within my main 30 frame looped movie i have created a simple rectangle
> which
> is a movie clip called Shake instance name Shake, which contains two
> frames
> each containing the frame scripts as follows
>
> Set Variable: "horiz" = "GetProperty(../Shake,_x)"
> Set Property ("../Shake", X Position) = "horiz+15"
>
> and in the second frame
>
> Set Variable: "horiz" = "GetProperty(../Shake,_x)"
> Set Property ("../Shake", X Position) = "horiz-15"
>
> I know the targeting is OK because when I take out the horiz from the set
> property the thing moves.
>
> I guess it's something to do with my syntax but what?
>
> Also it seams far too slow - I want it to blur really - is this achievable
> or do I need to think again?
>
> And finally :-) how would I easily apply this to a movie which contains
> lots
> of different things in different layers all that I want to shake - do I
> need
> to increment a name variable (e.g. target Shake1, Shake 2 etc.) but this
> seams clumsy - is there a better way?
>
> Thanks in advance!
>
> Ben Houghton
> benata-eye [dot] com


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