Inside Macintosh: QuickTime Reference

| Previous | Chapter Contents | Chapter Top | Next |

Example #2

A sprite in one movie targets a sprite which is embedded in a movie which is again embedded in another movie.

You target a sprite named "Dude" in a Track of index one in a movie of ID 2 which is nested in a movie whose track name is "Rad" which is nested in a movie whose user data name is OuterExternalMovie. The OuterExternalMovie is an external movie to the one that is executing an action handler.

kActionTarget
        kTargetMovieName
                [name = "OuterExternalMovie"]
        kActionTarget
                kTargetChildMovieTrackName
                        [name = "Rad"]
                kActionTarget
                        kTargetChildMovieMovieID
                                [ID = 2]
                        kTargetTrackIndex
                                [Index = 1]
                        kTargetSpriteName
                                [spriteName = "Dude"]


© 2000 Apple Computer, Inc.

Inside Macintosh: QuickTime Reference

| Previous | Chapter Contents | Chapter Top | Next |