Updating document class if the folder where it exists was moved

Now.
Move test1 to flashdevelop(Main.as is document class): ![](http://service.crazypanda.ru/v/clip2net/l/4/i33tVov28t.png)
Result(Main.as is not document class): ![](http://service.crazypanda.ru/v/clip2net/i/y/5SclCCZFt0.png)

Result after fix(Main.as is document class): ![](http://service.crazypanda.ru/v/clip2net/H/s/ZeClwOMh0W.png)