In the last tutorial we created a custom cursor, in this tutorial we’ll address some issues that will make our cursor a lot more useful! Today we’ll learn to make the cursor disappear when the mouse leaves the flash window area and reappear on the return. At the same time we’ll set it up to react correctly during a right click and most importantly maintain it’s position at the top of the stage. This way newly added MovieClips will not be able to appear on top of our cursor.
Maybe you’re entirely new to this Tweener thing. Wondering what it is or why in the world you would ever want to use it. Let me give you a list of things you can use Tweener for:
fading in and out any Display Object (MovieClip, TextField, Graphic)
scaling an object up and down or in and out over time.
moving an object across the screen with easing over time.
creating a timer.
rotating an object with easing over time.
So you need to create a weapon, maybe a laser, and you want your character to fire the weapon. At the same time, you want a nice delay between firing each round instead of a crazy Gatling gun effect. Well this Flash tutorial is for you. We’re going to learn to make our Spaceship fire lasers with a nice timeout between each fire. To do this we’re going to use AS3 Timers, so get ready to use a timer and create the perfect delay for your laser.