Skip to Content
Teach Yourself Visually™ Flash® CS4 Professional
book

Teach Yourself Visually™ Flash® CS4 Professional

by Keith Butters
February 2009
Beginner
368 pages
10h 30m
English
Visual
Content preview from Teach Yourself Visually™ Flash® CS4 Professional
Work with Instances
in ActionScript
224
Relative Target Paths in Flash
Flash reserves three keywords to make it easier to
access your movie clips and objects in ActionScript 3:
this, parent, and root. The keyword refers to the
Timeline you are currently working on. The parent
keyword refers to the object that your current object
is inside. For example, if you are writing a script on
the Timeline of ball in the previous example, and you
want to reference field, your target path would be the
following:
this.parent
The root keyword always refers to the main Timeline
of your Flash movie. So, to reference field another
way from the Timeline of ball, you could use ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Adobe Flash CS4 Professional on Demand

Adobe Flash CS4 Professional on Demand

Steve Perspection, Inc. Johnson

Publisher Resources

ISBN: 9780470344743Purchase book