made compatible with flash builder and removed preloader