Update ImageManager.as

Much cleaner.