Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Insert flash file
#6
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
Reply


Messages In This Thread
Insert flash file - by cumbe - 2010-01-13, 08:50:41
Insert flash file - by Rich - 2010-01-13, 09:09:22
Insert flash file - by cumbe - 2010-01-14, 04:49:36
Insert flash file - by two53475 - 2010-05-27, 08:59:38
Insert flash file - by Zegnåt - 2010-05-27, 23:10:51
Insert flash file - by two53475 - 2010-05-28, 03:02:33
Insert flash file - by two53475 - 2010-05-28, 04:20:45
Insert flash file - by shumphreys - 2011-06-21, 06:37:00
Insert flash file - by n00dles101 - 2011-06-21, 07:03:01
Insert flash file - by shumphreys - 2011-06-21, 07:22:45



Users browsing this thread: 6 Guest(s)