Very frustrated. After trying everything I can possibly think of, I'm about to just give up and trash this TheMiner thing.
We are using CS6.
After hearing great things about TheMiner, I have downloaded the latest version, and tried installing it using the installation instructions on sociodox.
Unsurprisingly, neither of the methods worked. (It's never that easy is it?)
I'll focus on trying to get the SWC method working here.
1- Where am I even supposed to put the SWC file? In the same directory as the game? In the folder with all my other includes? In a separate /com/sociodox/theminer/ folder? Normally we just drag drop them to the library, but with TheMiner we got the "Unexpected file format." error. Which of course wasn't unexpected at all - seems to happen way too often with swc's nowadays. So what do I do?
2- The instructions say we just need to add a single line, then proceed to give 14 lines of code. Okay, I'm nitpicking. But at the very least, I need to put two lines of code: the include statement, and the addchild statement, correct? So supposedly, just doing:
import com.sociodox.theminer.*;
this.addChild(new TheMiner());
Should work just fine, right?
Well it doesn't. Depending on where I put the TheMiner.swc file, I get a variety of errors, but the latest one (when I have copies of it placed in every possible project directory I can think of) gives this error:
ReferenceError: Error #1065: Variable com.sociodox.theminer::TheMiner is not defined.
at -----_fla::MainTimeline/frame2()[C:\-----\----\-------\-------\-----\-------.as:2]
Any help would be appreciated.
Thanks,
OV