Active
Project:
SWF Tools
Version:
6.x-3.0-beta5
Component:
SWF Tools
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2011 at 12:24 UTC
Updated:
8 Dec 2011 at 21:18 UTC
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
Comment #1
liquidcms commentedi 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