Hi,
I’ve got a flash based heat map going on my website. Here’s is the url:
http://www.babynametrain.com/name-map.php?name_var=noah&gender=boy
This map is working perfectly with the url above. However, I’m trying to get the page to work with a friendly url, like tihs:
http://www.babynametrain.com/heatmap/boy/noah/
To do this, I put a line into my htaccess file that looks like this:
RewriteRule heatmap/boy/([^/.]+)/?$ name-map.php?name_var=$1&gender=boy
However, the friendly URL doesn’t load the map.
Here is the code on the name-map.php page, related to the flash:
<object classid=“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ver sion=10,0,0,0” width=“550” height=“340”>
<param name=“allowScriptAccess” value=“sameDomain” />
<param name=“allowFullScreen” value=“false” />
<param name=“movie” value=“http://www.babynametrain.com/usmap.swf?xmlPath=map<?php echo $gender; ?>.php?name_var=<?php echo $HTTP_GET_VARS[“name_var”]; ?>” /><param
name=“quality” value=“high” />
<embed src=“http://www.babynametrain.com/usmap.swf?xmlPath=map<?php echo $gender; ?>.php?name_var=<?php echo $HTTP_GET_VARS[“name_var”];?>” quality=“high” width=“550”
height=“340” allowScriptAccess=“sameDomain” allowFullScreen=“false”
type=“application/x-shockwave-flash”
pluginspage=“http://www.macromedia.com/go/getflashplayer” wmode=“transparent” />
</object>
I’m sure I’m just missing something simple and obvious, but I’m very new to the flash world and I’m not seeing the problem.
I did make the references to the usmap.swf file from relative to absolute thinking this would fix things, but it hasn’t.
Thanks in advance!!