Solution : If I am going to use the relative URL’s then I need to use the BASE attribute in the HTML.
The BASE attribute is helpful for calling up relative URLs. The BASE attribute specifies the base directory or URL used in resolving all relative path statements in the Flash Player movie. This attribute is particularly helpful when your Flash Player movies are kept in a different directory from your other files. — from Adobe