Issue:
Flash animation displays when viewed in editable form. It does not display in same document reopened after save or in other page elements such as views (via $$ViewTemplate) or pages.
Solution:
The issue is a path one. See the code below:
"<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"
codebase=\"http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0\"
id=\"header_animation\" width=\"197\" height=\"83\">
<param name=\"movie\" value=\"/" + @WebDbName + "/header_animation.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"bgcolor\" value=\"#FFFFFF\">
<embed name=\"header_animation\" src=\"/" + @WebDbName + "/header_animation.swf\" quality=\"high\" bgcolor=\"#FFFFFF\"
width=\"197\" height=\"83\"
type=\"application/x-shockwave-flash\"
pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\">
</embed>
</object>"
Both the embed name src= and the movie name value= must include the path.
1. The first solution, shown above is to use @WebDbName to include the full path.
2. The second solution is to update the HTML Head of the $$ViewTemplate, Page, or Form to include the path. See below.
< BASE HREF=\"http://myserver.com/mysubdir/mydatabase.nsf/\" >
previous page
|