50 likes | 161 Views
3D Modelling & Animation Module F21MA. Unit2: Flex Basics. Mike Chantler, 20/8/2008. 3D Modelling & Animation Module F21MA. Lab. Lab 2.1. Modify bouncingBox.mxml to replace the box with an image. Modify bouncingBox.mxml to add a toggle button that starts and stops the animation.
E N D
3D Modelling & Animation Module F21MA Unit2: Flex Basics Mike Chantler, 20/8/2008
Lab 2.1 • Modify bouncingBox.mxml to replace the box with an image. • Modify bouncingBox.mxml to add a toggle button that starts and stops the animation. • Modify it again to give it a ‘single step’ button that will advance the animation one frame and then stop.
Lab 2.2 • Modify “bouncingBallUsingComponents” to bounce 3 balls up and down. • Add 3 Text components and use them to indicate the vertical velocities (vy) of the 3 balls. • Add a NumericStepper component to control the x position of the first ball. • Add an HSlider component to control the x position of the second ball.
3D Modelling & Animation Module F21MA End: Unit 2