Copy link to clipboard
Copied
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 17 | 1172: Definition fl.motion:AnimatorFactory3D could not be found. |
HBCut, Line 3, Column 17 | 1172: Definition fl.motion:MotionBase could not be found. |
HBCut, Line 6, Column 17 | 1172: 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.
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.
Copy link to clipboard
Copied
import those classes if HBCut is one of your classes.
if it's citrus class file, you're probably not adding the swc correctly.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
if you still have a problem, what is HBCut?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Thank You!
Copy link to clipboard
Copied
you're welcome.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now