somewhere in the late beta cycle, something went awry with the parsing of ampersands in blocks rendered with input content of full html.

take this bit of code:

<param name="flashvars" value="stage_height=150&map_title=&xml_file=locations.xml&map_style=false&map_color=000000&date_format=mdy&node_limit=5&zoom=auto&grid_line_opacity=10&show_routes=true&route_thickness=1&route_curve_factor=false&tooltip_bg_color=aaaaaa&tooltip_shadow_opacity=5&mod=1.8&past_point_style=circle&future_point_style=diamond&future_route_opacity=35&past_route_opacity=55" /> 

it is broken in 4.7 with all of the ampersands converted into & amps. yes, the & amp is very nice and all, but it breaks the value for the flash animation effectively.

it did work during the early beta cycle. can't really pin down where it died though.

any thoughts before i file a bug report?

it seems like this is related to http://drupal.org/node/68477 and http://drupal.org/node/63895

Comments

sime’s picture

sime’s picture

Looks like you'll need to find a way around it. "by design" for standards-compliancy reasons.

sime’s picture

Looking at your sample, you'll need to separate the vars as separate parameters. You are using the url format. Both forms are described here:
http://probertson.com/articles/2005/02/14/flash-databases-urlvars-flashv...

kvarnelis’s picture

that page is really confusing.

i wish this hadn't been done to drupal. my page validated without any problems prior to this.

oh well. anyway, i guess all will be fine, but this simply does not work. what am i doing wrong?

<object type="application/x-shockwave-flash" data="map.swf" width="300" height="150">
<param name="movie" value="map.swf" />
<param name="stage_height" value="150" />
<param name="map_title" value="" />
<param name="xml_file" value="locations.xml" />
<param name="map_style" value="false" />
<param name="map_color" value="000000" />
<param name="date_format" value="mdy" />
<param name="node_limit" value ="5" />
<param name="zoom" value="auto" /> 
<param name="grid_line_opacity" value="10" />
<param name="show_routes" value="true" />
<param name="route_thickness" value="1" />
<param name="route_curve_factor" value="false" />
<param name="tooltip_bg_color" value ="aaaaaa" />
<param name="tooltip_shadow_opacity" value ="5" />
<param name="mod" value="1.8" />
<param name="past_point_style" value="circle" />
<param name="future_point_style" value="diamond" />
<param name="future_route_opacity" value="35" />
<param name="past_route_opacity" value="55" /> 
<embed src="map.swf" width="300" height="150" stage_height="150" map_title="" xml_file="locations.xml" map_style="false" map_color="000000" date_format="mdy" node_limit="5" zoom="auto" grid_line_opacity="10" show_routes="true"
route_thickness="1" route_curve_factor="false" tooltip_bg_color="aaaaaa" tooltip_shadow_opacity="5" mod="1.8" past_point_style="circle" future_point_style="diamond" future_route_opacity="35" past_route_opacity="55" name="URLvariables" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> 
</object>
 
sime’s picture

yes, it's frustrating. but we do need to output text to the browser in a standard way. unfortunately I've used up all my flash param knowledge. You might need to go to a specialist forum and find out the situation there.