Hello, I'm having a problem with my menu item labels showing up. Here is my code below the link. I tried url encoding it but, no luck. The problem is random but, consistently on the same buttons if that makes sense. Anyone have any suggestions? Thanks, passing parameters into flash should not be such a pain. Much appreciation, T.
http://www.todamax.com/index.php?c=50&d=27&a=6&w=2&r=Y <<<<<<<<<<<<HTML>>>>>>>>>>>>>>>>>> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca b#version=7,0,19,0" width="150" height="20"> <param name="movie" value="image_lib/navButtonsSub1.swf?buttonLabel={$menu_text[menu]}" /> <param name="quality" value="high" /> <param name="FlashVars" value="uri={$menu_link[menu]|urlencode}" /> <embed src="image_lib/navButtonsSub1.swf?buttonLabel={$menu_text[menu]|urlencode}" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="150" height="20" FlashVars="uri={$menu_link[menu]|urlencode}"></embed> </object> <<<<<<<<<<<<END HTML>>>>>>>>>>>>>>>>>> <<<<<<<<<<<AS>>>>>>>>>>>> myButtonLabel = _root.buttonLabel; <<<<<<<<<<<AS>>>>>>>>>>>>>>>> -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tan Sent: Sunday, July 16, 2006 3:13 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Flash Query String Problem You might want to pass in escaped value for myURL before it is passed into Flash so that Flash would not get confused. Depending on how the URL is generated, in javascript you can easily write it as escape(myURLvalue). -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sunnrunner Sent: Sunday, July 16, 2006 5:04 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Flash Query String Problem Hello, I have a button flash file. This file needs two parameters that are passed in through the query string. Here's my query string. navButtons.swf?myURL={$menu_channel_id[menu]}&buttonLabel={$menu_text[menu]} here is the URL that is being passed in domain.com/index.php?c=21&a=35&w=2&r=Y the ampersands are making flash think these are separate variables to pass into flash. Is there a way to make flash send in the above link as a whole without chopping it up into several separate variables. I would use some other method besides a query string but, I really need this to work with it. Hope that makes sense! Thanks, T _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com