In MainClass you have "loadbar" where you want "loadBar" - and I'm guessing that the other error is a broken library linkage (probably your loadBar_mc is trying to connect to the LoadBar class???)