Our Flash tutorials provide you with step-by-step instructions on how to create beautiful Flash animations and integrate them into your website.  Home Flash & Swish Flash Tutorials Bungee Ball (Video Tutorial)

Bungee Ball (Video Tutorial)


Matt Kloskowski offers this video tutorial for creating stunning multi-photo collages in Photoshop.

Bungee Ball (Video Tutorial)
(Click the picture to play video in new window)

Download Flash player



Author's URL: Craig Campbell
Final results of our readers
New!
Passed through all the steps? Share your result!
Your result will be premoderated.
Please make sure you choose the right image.
 
 



Captcha

*Required fileds
Our Flash tutorials provide you with step-by-step instructions on how to create beautiful Flash animations and integrate them into your website. More Flash Tutorials: Featured Materials | Fresh Materials | More Flash Tutorials at FlashPerfection.com

Reader's comments
comments wtevr1984 March 05, 2007 says:
Hi im trying to do this tutorial and im almost there but Flash does not like one of the lines !!!

here is all of the code:

import mx.transitions.Tween;
import mx.transitions.easing.*;

var xBall = Stage.width/2;
var yBall = Stage.height/2;
ball_mc._x = xBall;
ball_mc._y = yBall;

ball_mc.onPress = function () {
ball_mc.startDrag();
}

ball_mc.onRelease = function () {
ball_mc.stopDrag();
ball_mc.enabled = false;
var xTween:Tween = new Tween (ball_mc, "_x", Elastic.easeOut,ball_mc._x, xBall, 2,true);
var yTween:Tween = new Tween (ball_mc, "_y", Elastic.easeOut,ball_mc._y, yBall, 2,true);
[b] xTween.onMotionFinished = function () { ball_mc.enabled = true;

}
}

ok, Flash does not like this line: [b]xTween.onMotionFinished = function () {Flash says " There is no property with the name 'onMotionFinished'."

also when i take out the x in the beginning it actually works but only ONCE!

Please help, as i really like this animation (for my project)

Reply
Add comments to "Bungee Ball (Video Tutorial)"

Captcha