Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

_root.nextFrame(); in AS3

Community Beginner ,
Oct 22, 2010 Oct 22, 2010

How I wish there was a book written in layman's terms for AS3 I have great dictionary for AS2 wish there was an AS3 equivalent.

I know that _root is dead in AS3.

I have a movieClip called "mcClimber" which is inside a movieClip called "mcMountain04". The climber mountain clip has a bone tween of a guy doing a climbing motion.

When it hits frame 40 in mcClimber, I want it to tell mcMountain04 to go to the nextFrame.

That's all.

Why is this so difficult in AS3?

I've looked at the online Adobe literature and it's so poorly written for laymen my eyes glaze over and I end up looking elsewhere.

I have tried this: MovieClip(parent).mcMountain04.nextFrame();

But I get an error saying MovieClip is not a function.
-Kirk
TOPICS
ActionScript
3.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Oct 22, 2010 Oct 22, 2010

MovieClip(root) is also an option.

Translate
Community Beginner ,
Oct 22, 2010 Oct 22, 2010

Found this and it works:

MovieClip(parent).nextFrame();

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 22, 2010 Oct 22, 2010
LATEST

MovieClip(root) is also an option.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 22, 2010 Oct 22, 2010

.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines