You are already in a script block, so don't include the "<%" script directives, just build the string. And don't include the first "&":
"FlashVars", "uid=" + uid + "&cid=" + cid + "", Tracy Spratt, Lariat Services, development services available _____ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of weezee49 Sent: Friday, May 01, 2009 1:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Accessing query string vars in Flex HTML wrapper and passing them into Flex App I have been following the instructions here: http://livedocs. <http://livedocs.adobe.com/flex/3/html/help.html?content=deep_linking_5.html #245869> adobe.com/flex/3/html/help.html?content=deep_linking_5.html#245869 to capture variable/value pairs from the query string. My URL looks like this: http://localhost: <http://localhost:3000/bin> 3000/bin\Mick.html?uid=louise&cid=amat I have edited the auto-build HTML wrapper by adding <% String uid = (String)request.getParameter("uid"); String cid = (String)request.getParameter("cid"); %> between </head> and <body>, and by adding the FlashVars line: ... } else if (hasRequestedVersion) { // if we've detected an acceptable version // embed the Flash Content SWF when all tests are passed AC_FL_RunContent( "src", "Mick", "FlashVars", "&uid=<%=uid%>&cid=<%=cid%>"+"", "width", "100%", "height", "100%", "align", "middle", "id", "Mick", "quality", "high", "bgcolor", "#869ca7", "name", "Mick", "allowScriptAccess","sameDomain", "type", "application/x-shockwave-flash", "pluginspage", "http://www.adobe. <http://www.adobe.com/go/getflashplayer> com/go/getflashplayer" ); ... When I get into my application's applicationComplete handler, and look at the variable that is supposed to contain "louise", it has "<uid" instead; same for "<cid". What am I doing wrong? TIA. LG