Movie Clips - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

Movie Clips

Description:

Topics Movie Clips Using actionScript to control other timelines Instance names _root., _parent. (object hierarchy and dot syntax) Movie clips Uber symbol ... – PowerPoint PPT presentation

Number of Views:110
Avg rating:3.0/5.0
Slides: 7
Provided by: aew2
Category:
Tags: clips | movie | timelines

less

Transcript and Presenter's Notes

Title: Movie Clips


1
Topics
  • Movie Clips
  • Using actionScript to control other timelines
  • Instance names
  • _root., _parent. (object hierarchy and dot
    syntax)

2
Movie clips
  • Uber symbol
  • Independent timelines
  • Mini flash files
  • Car example

3
ActionScript and Movie Clips
  • Instance names
  • Pathing to instances (not symbols)
  • _root.ltinstance name(s)gt.ltfunction or propertygt
  • (for absolute pathing)
  • For example _root.mushroom.stop()
  • _parent.ltinstance name(s)gt.ltfunction or propertygt
  • (for relative pathing)
  • For example _parent.sky.gotoAndStop(1)
  • this.ltinstance name(s)gt.ltfunction or propertygt
  • (current location in heirarchy)
  • For example faceFrame this.face._currentframe
  • this. is not necessary, already implied

4
Instance names
  • Different than symbol name
  • Why?

5
Hierarchy example
face
6
Another Hierarchy example
  • From sky to mushroom
  • _parent.mushroom
  • From mushroom to sky
  • _parent.sky

sky
mushroom
Write a Comment
User Comments (0)
About PowerShow.com