2010-05-28, 03:02:33
Zegnåt Wrote:When a theme file is read your browser is not actually in the theme folder. So if you write "flashfiles/" but your browser is at the homepage http://example.ms/ it is going to check the folder http://example.ms/flashfiles/ and not your theme folder.
You will have to link to the folder in the same way as you link to a stylesheet and everything else, by telling it to look in the theme folder:
Code:flashvars.pathToFiles = "<?php get_theme_url(); ?>/flashfiles/";
-----------
Thanks, i'll give it a try when i get back to my pc