troubleshooting Question

Trouble passing flashvars in a countdown timer

Avatar of John Carney
John CarneyFlag for United States of America asked on
Web Development SoftwareAdobe Flash
9 Comments1 Solution4005 ViewsLast Modified:
We're having a problem with a flash movie which used to produce an auction countdown timer that worked. But now it only works if we hard code the values for day, hour, minutes and seconds. Of course the four variables ahould be getting their values from the html, which I believe is getting them from a cold fusion script (about which I know virtually nothing)..

Please take a look at the code below and let me know if you can surmise from just the AS and the HTML,.what's going wrong .

I'm baffled by the fact that the original year-old swf works fine, but the one generated today from the same flash document dosn't work.

You can view the file at: http://www.discretedata.com/DealTree/CowBoomDev/00_Flash/cowboom_countdown.fla

Thanks!

John



If I could give 5,000 points for this, I would!

Thanks,
John
AS:
var day = _root.day;
var hour = _root.hour;
var minute = _root.minute;
var second = _root.second;
 
HTML:
<OBJECT WIDTH="148" HEIGHT="33" id="cowboom_countdown" align="absmiddle">
<PARAM NAME=movie VALUE="cowboom_countdown.swf"> 
<PARAM NAME="quality" VALUE="high"> 
<PARAM NAME="bgcolor" VALUE="#FFFFFF"> 
<EMBED src="cowboom_countdown.swf?day=4&hour=1&minute=35&second=53&textcolor=#000000&textsize=13&fontface=Arial&isBold=true" quality="high" bgcolor="FFFFFF" WIDTH="100" HEIGHT="20" NAME="cowboom_countdown" TYPE="application/x-shockwave-flash" PLUGINSPAGE="https://www.macromedia.com/go/getflashplayer" align="absmiddle"></EMBED></OBJECT>
ASKER CERTIFIED SOLUTION
Aneesh Chopra
Founder | CTO
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros