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)
Your Ad Here

Bungee Ball (Video Tutorial)


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

Click to play video
(Click the picture to play video in new window)

Download Flash player



Author's URL: Craig Campbell
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

Internet & computing Flash is a vector-based moving graphics format created by Macromedia for the publication of animations on the World Wide Web. More Flash & Swish: Most Popular Materials | Fresh Materials | More Flash Tutorials at FlashPerfection.com

Add comments to "Bungee Ball (Video Tutorial)"

Only registered users can write comment

Reader's comments
comments wtevr1984 March 06, 2007 says:
Bungee Ball (Video Tutorial)
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);
xTween.onMotionFinished = function () { ball_mc.enabled = true;

}
}

ok, Flash does not like this line: 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)