Flasher Archive

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


Subject: FLASH: shaking an instance
From: Ben Houghton
Date: Tue, 7 Nov 2000 21:04:29 GMT

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]