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

1172: Definition fl.motion:AnimatorFactory3D could not be found.

Participant ,
Dec 05, 2015 Dec 05, 2015

I am working on the platforming for my game, and I went to import Citrus Engine.

I have never used an external SWC or engine before, so of course I tried to drag it into the library several times. When I finally figured out how to do it, when I went to test the game again (no code currently uses the engine), a MovieClip with it's own action script threw the following errors several times.

HBCut, Line 2, Column 171172: Definition fl.motion:AnimatorFactory3D could not be found.
HBCut, Line 3, Column 171172: Definition fl.motion:MotionBase could not be found.
HBCut, Line 6, Column 171172: Definition fl.motion:motion_internal could not be found.

This breaks the other code so that I cannot run the game. I removed the SWC from the library but still no luck.

TOPICS
ActionScript
966
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

Participant , Dec 07, 2015 Dec 07, 2015

I figured it out. By opening a new FLA, I found I had accidentally deleted the main /ActionScript3.0/libs/ library entry. By re-inputting it, my problem was solved.

Translate
Community Expert ,
Dec 05, 2015 Dec 05, 2015

import those classes if HBCut is one of your classes.

if it's citrus class file, you're probably not adding the swc correctly.

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
Participant ,
Dec 07, 2015 Dec 07, 2015

HBCut does not have a specific class. It's base class is just MovieClip

I also have decided not to use the citrus engine, and I have no code linking to it.

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
Community Expert ,
Dec 07, 2015 Dec 07, 2015

if you still have a problem, what is HBCut?

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
Participant ,
Dec 07, 2015 Dec 07, 2015

HBCut is a cut in animation with button triggers for a special attack in a previous battle, which doesn't use physics, and is coded entirely in the timelines of various MovieClips.

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
Participant ,
Dec 07, 2015 Dec 07, 2015

Would importing a SWC file have changed the default linkage property in the ActionScript settings (which is where I imported the SWC)?

Right now it says Runtime Shared Library

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
Participant ,
Dec 07, 2015 Dec 07, 2015

I figured it out. By opening a new FLA, I found I had accidentally deleted the main /ActionScript3.0/libs/ library entry. By re-inputting it, my problem was solved.

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
Participant ,
Dec 07, 2015 Dec 07, 2015

Thank You!

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
Community Expert ,
Dec 07, 2015 Dec 07, 2015
LATEST

you're welcome.

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