Vectorials
Flash Perfection
3D Lessons
Tutorialkit
Markup Tutorials
Learn PHP
network
adv banner
Flash & Swish  Home Flash & Swish Flash Tutorials Bungee Ball (Video Tutorial)
rss

Bungee Ball (Video Tutorial)

Author: Craig Campbell More by this author


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




Rate this Material: Bad 1 2 3 4 5 Excellent
print this page tell a friend subscribe to newsletter subscribe to rss

Read/Add comments to "Bungee Ball (Video Tutorial)"

comments  wtevr1984 March 05, 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)