i have an swf file file i use it to read an xml file

i'm using video and swftools modules to upload and play this swf file

the problem is this :

the swf file is working but it seems that it doesn't reading the xml file

i reviewed the log and it gave me some warnings like

 Notice: Undefined index: description in theme_swftools_formatter_swftools() (line 340 of /var/www/html/sp/sites/default/modules/swftools/includes/swftools.theme.inc).
*****************************************
 User warning: Table 'sp.ad_weight_probability' doesn't exist query: SELECT probability FROM ad_weight_probability WHERE aid = 133 in _db_query() (line 147 of /var/www/html/sp/includes/database.mysqli.inc).
*****************************************
Notice: Undefined index: theme path in theme() (line 639 of /var/www/html/sp/includes/theme.inc)
*****************************************

how to fix this problem ?

Comments

liquidcms’s picture

Title: My swf file is not reading the xml file » Failed to load XML
Component: Miscellaneous » SWF Tools
Category: support » bug

i use this:

print swf('MyBabbo/Book_english/showit.swf');

and i get black box with text that says "Failed to load XML".

but if i go directly to the SWF: http://mydomain.com/sites/default/files/MyBabbo/Book_english/showit.swf then the video plays fine.

also, the data path in the object tag that gets created appears correct: /sites/default/files/MyBabbo/Book_english/showit.swf

i have also used same swf() call as above (i.e. relative path to same folder) to display an FLV and this plays fine as well.

i suspect something being done incorrectly with paths