i have built a custom class, which i call from a frame script. the custom class takes only one parameter, which is a string URL of an XML file.
SUDDENLY, when i move all the files off of my desktop into a different folder, i receive compiler errors, stating it can not find my custom class .as file, even though it's in the same folder!
why is this happening?
here's my entire frame script:
[SWF(width="1000", height="600", frameRate="60", backgroundColor="#330000")]
var sp:XMLClass = new XMLClass("XMLFile.xml");
addChild(sp);
errors:
1046: Type was not found or was not a compile-time constant: XMLClass.
1180: Call to a possibly undefined method XMLClass.
i call all of my custom classes like this and this is the first and only time i've ever had a problem like this.
by the way, if i move my files back to the desktop, it will compile fine. this is crazy! what is going wrong?!