The following bit of javascript writes and retrieves a cookie which counts a users visits to the page. Then using swfobject it both embeds main_banner.swf and passes the cookie value “visits” to it via flashvars. The trouble is in the actionscript below; the vallue has been passed (this is certain, because the .swf shows up rather than the alternative content)- but the .swf is stuck on the first frame rather than processing the cookie and sending the user to the appropriate frame label. If anyone has any suggestion on how to write the receiving code, I would definitely appreciate it.
Thanks, Ryan
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “[COLOR=#0000ff]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/COLOR]”>
<html xmlns="[COLOR=#0000ff]http://www.w3.org/1999/xhtml[/COLOR]" lang=“en” xml:lang=“en”>
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1” />
<title>Untitled Document</title>
<script src="