You pass values into the swf loading in the FlashPlayer using "flashvars".
If you are using the wrapper generated by Flex Builder, then look at the code of that html. You will see that the Flash Player is actually intantiated in code in a .js file, in order to avoid the IE7 "click to use" prompt. All yo need to do to add your values is to add/edit the flashvars line in the call to the AC_FL_RunContent() function. Here is one of mine: "flashvars",'dataSourceUrl=' + _sDataSourceUrl + '&assetsUrl=' + _sAssetsUrl + '', If you are writing your own html wrapper, use similar techniques on your own. Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of v.cekvenich Sent: Sunday, March 18, 2007 11:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] generated html wraper to pass args to swf? I can pass pam to swt using some.swf?arg=23?arg2=3 and that works. but if some.swf is wraped in html (and it has to be in my case), how do i edit the generated html to pass that arg? ex some.html?arg=23?arg2=3 passed to the swf? tia, .V