Gif problem in flash

i create a nice smooth gradient panel on PS, then create a gif in FW, then import to Flash, then the panel gradient has lines instead of smooth. So i go to library image properties and select photo compression, still lines are there. I’m only new so i don’t know how to do this.