home
design & development
Lotus application development
print design
web site development
request a design quote
solutions & consulting
Notes and Domino application development
Lotus Domino administration
Securence Mail Filtering
UNITRENDS backup and recovery
Lotus Notes / Domino Apps
free Lotus Notes apps
hosting
web site hosting
Lotus application hosting
check your mail
request a hosting quote
publishing
media and publishing
sound
client services
help & support
Make Payment
Client Access - Workboard
billing & payment policies
copyright & liability policies
pricing & turnaround policies
privacy statement
contact
e-mail MW
get files
send files
Flash Animation Loads in Edit-Mode Form But Not in Read-Mode Form
Mindwatering Incorporated
Author: Tripp W Black
Created: 05/29/2004 at 01:42 PM
Category:
Notes Developer Tips
Flash
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
×