Ok, so originally you were using SWFObject 1.x notation, and now you are using 2.x methods. Both methods do work, but I am glad you got it working via the 2.x API.
Cheers, Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of PixelPhysician Sent: Monday, 9 March 2009 2:35 PM To: SWFObject Subject: Re: Can't read a url variable from flash Got it. Just wanted to get the solution posted here... I dug a little deeper and found the info needed here: http://code.google.com/p/swfobject/wiki/api <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Products</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.hpBagSelected = swfobject.getQueryParamValue ("hpBagSelected"); var params = {}; var attributes = {}; swfobject.embedSWF("ProductSlide.swf", "flashcontent", "726", "331", "9.0.0", "expressInstall.swf", flashvars, params, attributes); </script> </head> <body bgcolor="#f9f5e0"> <div id="flashcontent" align="center"> <p>Alternative content</p> </div> </body> </html> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
