Skip to main content
Inspiring
December 5, 2015
Answered

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

  • December 5, 2015
  • 1 reply
  • 1064 views

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.

This topic has been closed for replies.
Correct answer mcdermitt

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


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.

1 reply

kglad
Community Expert
Community Expert
December 5, 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.

mcdermittAuthor
Inspiring
December 7, 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.

kglad
Community Expert
Community Expert
December 7, 2015

if you still have a problem, what is HBCut?