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

Classic Motion Guide Kills Instance Name

Explorer ,
Dec 12, 2018 Dec 12, 2018

Copy link to clipboard

Copied

Ran into an issue recently where a movieclip attached to a motion guide would return 1120 errors.

Eventually realized that when a movieclip follows a guide, Animate ignores (or loses?) the instance name.

Is there a workaround anyone is familiar with? I mainly work in keyframe animations and rarely use motion guides, so I have yet to find a solution.

Views

312

Translate

Translate

Report

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 , Dec 13, 2018 Dec 13, 2018

His guides aren't movieclips.

He DOES have advanced layers turned on, which is what's breaking his code.

Votes

Translate

Translate
LEGEND ,
Dec 12, 2018 Dec 12, 2018

Copy link to clipboard

Copied

It does not. I just created a new document, added a squiggly motion guide, movieclip instance named "bob", tweened it along the guide. Added a "trace(bob)" to the beginning and end of the animation. Got "[object MovieClip]" in the output window at both ends.

You don't have Advanced Layers turned on, do you?

Votes

Translate

Translate

Report

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
Explorer ,
Dec 13, 2018 Dec 13, 2018

Copy link to clipboard

Copied

Hey there. Thanks for the reply.

I'm not using advanced layers (as far as I can tell) I have to admit that if I am, I don't know how to turn them off. Would that cause issues with movieclips and motion paths?

I'm being pretty basic with my animation. I've attached a test FLA if you are interested. Two scenes. One with and one without a motion guide.

Dropbox - MotionGuideBreaksMC.fla

Votes

Translate

Translate

Report

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 ,
Dec 13, 2018 Dec 13, 2018

Copy link to clipboard

Copied

His guides aren't movieclips.

He DOES have advanced layers turned on, which is what's breaking his code.

Votes

Translate

Translate

Report

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
Explorer ,
Dec 13, 2018 Dec 13, 2018

Copy link to clipboard

Copied

LATEST

Thanks

Advanced layers was the culprit. To be clear in case anyone else needs this:

Document Settings

Un-check Use Advanced Layers

I missed the warnings when activating it previously. Or more likely ignored.

Thanks for your help ClayUUID

- gene

Votes

Translate

Translate

Report

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
Community Expert ,
Dec 13, 2018 Dec 13, 2018

Copy link to clipboard

Copied

In order for the guide to work it cannot be a movieclip.

try this tutorial. Animate CC Creating Motion Guides - YouTube

Votes

Translate

Translate

Report

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