Join Joseph Labrecque for an in-depth discussion in this video MovieClip and Sprite, part of Learning ActionScript.
MovieClip and Sprite objects are one of the cornerstones of animation and visual …representation in ActionScript. In this lesson we'll examine how to use …each and the subtle differences between the two objects. …So in order to use MovieClip and Sprite, we first have to import them. …So, we import flash.display.movieclip and flash.display.sprite. …You're probably used to seeing Sprite be imported when you create a new class.…
As classes almost always extend Sprite when they have something to do with …visual objects. So the first thing we do here, are create …two new private variables. One, is a MovieClip symbol, called …MovieClip, and the second is a Sprite symbol, and this is going to be called Sprite. …You'll notice that we use a lowercase, for both MovieClip and Sprite variables. …And you can call it whatever you want. we're just calling it this for clarity, …but we want to make sure we don't actually call it MovieClip and Sprite.…
Using the same case, that's used by the core Flash Player classes. …
- What is ActionScript and why should I learn it?
- ActionScript 2.0 vs. ActionScript 3.0
- Implementing external source code
- Working in Flash Professional and Flash Builder
- Understanding language fundamentals
- Working with ActionScript objects