Specificlly, add a flashvars argument: var _sVersion = "1.0";
// if we've detected an acceptable version // embed the Flash Content SWF when all tests are passed AC_FL_RunContent( "src", "myflexapp", "width", "100%", "height", "100%", "align", "middle", "id", "myflexapp", "quality", "high", "bgcolor", "#869ca7", "name", "myflexapp", "flashvars",'ver=' + _sVersion, "allowScriptAccess","sameDomain", "type", "application/x-shockwave-flash", "pluginspage", "http://www.adobe.com/go/getflashplayer" ); Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Rusher Sent: Friday, February 08, 2008 2:50 AM To: [email protected] Subject: Re: [flexcoders] how do I modify the html to pass a version parameter? In the html-template folder of your project, edit the index.template.html Regards, Rob On Feb 7, 2008 5:30 PM, luvfotography <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: I would like the equivalent of this line, where I pass a version parameter: <embed src="myflexapp.swf?ver=1.0" How do I modify the Flex generated html to accomplish this: // if we've detected an acceptable version // embed the Flash Content SWF when all tests are passed AC_FL_RunContent( "src", "myflexapp", "width", "100%", "height", "100%", "align", "middle", "id", "myflexapp", "quality", "high", "bgcolor", "#869ca7", "name", "myflexapp", "allowScriptAccess","sameDomain", "type", "application/x-shockwave-flash", "pluginspage", "http://www.adobe.com/go/getflashplayer <http://www.adobe.com/go/getflashplayer> " ); -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher

