So, like I said in my first email, the only thing you can change in SWFObject is the "menu" param. In your code, you are specifically turning off the context menu!
Change params.menu = "false"; to params.menu = "true"; Aran On Fri, Mar 12, 2010 at 2:26 PM, jnjortn <[email protected]> wrote: > Aran, > Let me explain the situation better. > I grabbed the sample code for the custom-context-menu project on > code.google.com. The sample code uses swfobject 1.5. I am trying to > modify the sample code to use swfobject 2.2. Seems like it should be > straightforward, but I have been unsuccessfull. > > Here is my sample html using swfobject 2.2 > > > <!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></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" src="rightClick.js"></script> > <script type="text/javascript"> > var flashvars = false; > var params = {}; > params.quality = "high"; > params.allowscriptaccess = "always"; > params.wmode = "opaque"; > params.menu = "false"; > var attributes = {}; > attribute.id = "flashcontent"; > attribute.name = "flashcontent"; > swfobject.embedSWF("RightClick.swf", "flashcontent", > "560", "420", > "9.0.0",false,false,params,attributes); > </script> > </head> > <body> > <div id="flashcontent"> > <a href="http://www.adobe.com/go/getflashplayer"> > <img src=" > http://www.adobe.com/images/shared/download_buttons/ > get_flash_player.gif" alt="Get Adobe Flash player" /> > </a> > </div> > </body> > </html> > > Jeff > > On Mar 11, 5:31 pm, Aran Rhee <[email protected]> wrote: > > swfobject does not control the context menu other than setting the menu > > parameter to true or false. (default is true). Are you using ststic or > > dynamic embed? > > > > Aran > > > > On Thu, Mar 11, 2010 at 6:07 PM, jnjortn <[email protected]> wrote: > > > Has anyone been able to use swfobject 2.2 with the custom-context- > > > menu ? I have tried to convert the basic example included with custom- > > > context-menu but cannot get it working. I am working with Firefox > > > 3.5.8 on Mac OSX 10.5.8. > > > > > -- > > > 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]<swfobject%[email protected]> > <swfobject%[email protected]<swfobject%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/swfobject?hl=en. > > -- > 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]<swfobject%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- 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.
