You could use the url from which your swf is loaded, replace the filename of
the swf by that of the css.

In your main movie (from top of my haead, i.e. not tested ;-) use something
like:

var cssFullURL:String = this.loaderInfo.url.replace(/thecallingfile\.swf
/,"cssFile.css");
trace(cssFullURL);

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to