Thanks for the replies!!
I think Steve Hagenlock is correct. I save the flex project to an apache httpdocs and i set the output path as http://localhost/flex/tests.html for example and it works fine. I dont need the flex data services yet so its fine by me.