You can also check out: http://blog.flexexamples.com/2007/08/07/grabbing-flashvars-from-the-embe dding-html-template/. The example should have view-source enabled, so you can download the ZIP and see the MXML and HTML template)
Peter ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Rick Winscot Sent: Wednesday, April 02, 2008 1:24 AM To: [email protected] Subject: RE: [flexcoders] flashvars hate me 1. Make sure that you are editing the template (not the template output) so that your changes aren't getting overwritten 2. Add your flashvars to the AC_FL_RunContent group in the template as: "FlashVars", "url=woo" - your syntax looks wrong. 3. Add your flashvars to the second AC_FL_RunContent group also (as above) If you've done this right... you'll find your value "woo" in Application.application.parameters.url. For clarity, I recommend Peter deHaan's article at: http://blogs.adobe.com/pdehaan/2006/07/using_flashvars_with_actionscr.ht ml <http://blogs.adobe.com/pdehaan/2006/07/using_flashvars_with_actionscr.h tml> Rick Winscot From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of dfalling Sent: Wednesday, April 02, 2008 1:10 AM To: [email protected] Subject: [flexcoders] flashvars hate me I can't get flashvars to work... It seems pretty basic, but no mater what I do they don't seem to show up in flex. AS: woo = Application.application.parameters.url; HTML: <param name="FlashVars" value="url=woo" /> <embed ... flashvars="url=woo"> </embed> What am I missing? Thanks!

