Displaying 1 result from an estimated 1 matches for "stageright".
Did you mean:
stagefright
2005 Jun 27
1
stage left and right effects
...r right.
I used the Shake effect as a guide to this one. The StageBase accepts
the element and an "amount" to initially shake the element by. So in
StageLeft''s case, it moves -20 left, 40 right and then -1000 left and
finally renders the element hidden. The opposite holds for
StageRight.
Feel free to use it for whatever you like and any suggestions are welcome.
Andrew
Effect2.StageBase = function(element, amount) {
new Effect2.MoveBy(element, 0, amount,
{ duration: 0.05, afterFinish: function(effect) {
new Effect2.MoveBy(effect.element, 0, -(amount*2),
{...