VERY BASIC
Basic Lesson 1: Publish
Basic Lesson 2: Movie Size
Basic Lesson 3: Action Menu
Basic Lesson 4: Timeline

Basic Lesson 5: Import Image

BASIC
Introduction
Lesson 1: Motion Tween

Lesson 2: Shape Tween
Lesson 3: Break Apart
Lesson 4: Motion Guide
Lesson 5: Alpha Fade
Lesson 6: Drag & Drop
Lesson 7: Animated Button
Lesson 8: Load Movie

Lesson 9: Link URL

Lesson 10: Cursor Change
Lesson 11: Add Favorites
Lesson 12: Add Sound
Lesson 13: Insert Scene
Lesson 14: Goto Frame

ADVANCED/GAME
Lesson 1: Control Movieclips
Lesson 2: Flip Symbol
Lesson 3: Inside Movieclip
Lesson 4: Dynamic Text
Lesson 5: Random Clip
Lesson 6: Actionscript Music
Lesson 7: Symbol Timer
Lesson 8: Rotate Movieclip
Lesson 9: Disable Right-click
Lesson 10: Frame Names
Lesson 11: Side Scroller
Lesson 12: Increasing Velocity
Lesson 13: Visibility
Lesson 14: What's 'this'
Lesson 15: Collectable Items
Lesson 16: Specified Action
Lesson 17: Button Tap Code
Lesson 18: Random in Detail
Lesson 19: Health Bar
Lesson 20: Follow Movieclips

ACTIONSCRIPT 3.0
Common Arrays
Lesson 1: Hello World

Lesson 2: Functions
Lesson 3: Loops
Lesson 4: If Statements
Lesson 5: Arrays
Lesson 6: Control Movieclips
Lesson 7: Basic Properties
Lesson 8: Control Movieclips 2

Lesson 9: Adding A Timer

Lesson 10: Saving Data
Lesson 11: Data Objects

MORE GAMES
Lesson 1: Movement

Lesson 2: Wall Collision
Lesson 3: Shoot
Lesson 4: Shot Collision
Lesson 5: Score

ANIMATION IN FLASH
Lesson 1: Character

Lesson 2: Eye Movement
Lesson 3: Arm Movement
Lesson 4: Walking
Lesson 5: Background
Lesson 6: Loop Background

ROB's CORNER
Introduction
Lesson 1: Orbital Dots 1

Lesson 2: Orbital Dots 2
Lesson 3: Spinning 1
Lesson 4: Spinning 2
Lesson 5: Easing Spaceship
Lesson 6: Sprite 3d
Lesson 7: Bouncy Ball
Lesson 8: Bouncy Ball 2
2
Lesson 9: Simple Collision

Lesson 10: Crazy Tiles




****

Contact Flashcartoons!
 
Click Here to Visit!
Naruto Blogs Flashcartoons.org Forum!
AssCastle - Online Comic
Eddsworld! MyAnimeSpace - Myspace Layouts
 

Flashcartoons on Facebook

Flashcartoons Google+ Page

Flashcartoons on Twitter

Flashcartoons on Myspace

 
eXTReMe Tracker



 

FLASHCARTOONS YOUTUBE CHANNEL!
   
home > learn flash > actionscript 3.0 lesson 8  
 

 Actionscript 3.0 Lesson Eight: Controlling Movie Clips 2

1.) In actionscript 3.0 if you want to edit how the movie clip reacts inside a Movie Clip you can add functions to your document. I will provide an example and you can place the code in any actionscript 3.0 document's frame. Some Actions are gotoAndStop, gotoAndPlay, stop actions and next frame actions, previous frame actions, and play actions. I will provide examples in the code below. You can place the code inside the movie clip or outside the movieClip. If you place the code out side of the movieClip you need to tell what movie clip you want the action to run in. In this example I will name the movieClip "myMovieClip", without quotes.

--------- --------------

--------- --------------

2.) Here is the code.

//inside a movieClip
//on Frame 1...
stop();
//outside on a frame
MovieClip(root).myMovieClip.gotoAndStop(5);

The Breakdown. In the first code you are placing the code on a frame, and when the frame reaches that frame it will execute the code. In this example the movie clip will stop on frame 1. OutSide of the variable you need to tell the program what you are going to modify (a movie clip), and it will be on the root timeline, and ofcourse we are editing inside of myMovieClip, and it will execute the action of stopping at frame 5 inside of that movieClip.

-jordan

FLASHCARTOONS.ORG NEW STORE!!
advertisement


Property Management in Orlando