Hello coders,

Simple question I think...

I have a SWF file, but its location on my server is not fixed, so I am having to call and load files using full URL paths.

I'm having an issue with loading the CSS file based on whether the domain being loaded is typed with, or without the "www" in front of it.

How can I make it so that the CSS file is loaded from either domain name?

Cuase right now if I write in my FLA to load the CSS from http://www.mysite.com/cssfile.css

then it won't load it if the swf is currently playing from:

http://mysite.com/someunknownpath/thecallingfile.swf

Thanks!!

Seb.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to