Plasma etch chemistry of aluminum and aluminum alloy films - 5351002
if you notice you will see that i have change the class path is is now package com{ you can either delete the com or create a com folder
var finishValue:Number=400; var duration:Number=6; var myTween:Tween=new Tween(_sprite,"y",Bounce.easeOut,startValue,stage.stageHeight,duration,true);
myTween.looping=true; } private function rand(minimum:Number,maximum:Number):Number { return Math.floor(minimum+Math.random()*maximum-minimum+1); } }}

as you say it's all about experimenting if you really want to experiment stay away from the " import fl.* " and learn how to use the velocities both x and y and creat you own tweens and custom easings..
i'm "experimenting" a bit with code at the moment and now i have written a class that creates a circle that bounces at the bottom of the stage. Wich has a random size and a random starting point.

package com{ import flash.events.*; import flash.display.*; import fl.transitions.*; import fl.transitions.easing.*; import flash.display.Sprite; import flash.events.Event; public class BallBounce extends MovieClip { private var _sprite:Sprite;
Also i have noticed that the stage.stageHeight does not get updated when i resize my screen when i run it, any idea on how to make that happen ?
_sprite.graphics.beginFill(Math.random()*0xFF0000,100); _sprite.graphics.drawCircle(0,0,_dikte); _sprite.graphics.endFill(); _sprite.x=_ystart; _sprite.y=0; addChild(_sprite); var startValue:Number=_sprite.y;
as you say it's all about experimenting if you really want to experiment stay away from the " import fl.* " and learn how to use the velocities both x and y and creat you own tweens and custom easings..
P.s. Any idea on how to update the stageheight when i resize my window ? so that the balls bounce on the new stageheight ?
if you notice you will see that i have change the class path is is now package com{ you can either delete the com or create a com folder
But now i wan't to expand the code so that i can have a random amount of balls bouncing down, so instead of only one there are f.e. 3 balls.

Neil
Neil