Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Apr 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb Disable Right click menu on .swf file in browser window...

    hi

    The menu of a flash movie can be disabled using the menu attribute, and setting in html embed code...:

    <EMBED src=mindcycle.swf type="text/html;
    charset=iso-8859-1" quality="high" menu=false
    bgcolor=#000000 WIDTH=120 HEIGHT=30>

    To activate the menu again, set the attribute menu=true.

    But it don't disable full right menu, as ir still shows two options in right menu...

    Do anyone know how to eliminate full menu...

    Thanks in advance

  • #2
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    I don't think it's possible. It's handled by the player not the movie so I don't think you can through actionscript either..BUT you might be able to do it with a sprinkle of js...
    Omnis mico antequam dominus Spookster!

  • #3
    Regular Coder
    Join Date
    Oct 2003
    Location
    SC
    Posts
    936
    Thanks
    0
    Thanked 0 Times in 0 Posts
    in ur body tag:

    <body oncontextmenu="javascript:return false">

    that should do it

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Location
    A 4D universe
    Posts
    1,337
    Thanks
    0
    Thanked 0 Times in 0 Posts
    --> Moved to the JavaScript forum.
    http://www.mudsplat.com - Web design, print, and marketing solutions.

  • #5
    New to the CF scene
    Join Date
    Feb 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by meenu21 View Post
    hi

    The menu of a flash movie can be disabled using the menu attribute, and setting in html embed code...:

    <EMBED src=mindcycle.swf type="text/html;
    charset=iso-8859-1" quality="high" menu=false
    bgcolor=#000000 WIDTH=120 HEIGHT=30>

    To activate the menu again, set the attribute menu=true.

    But it don't disable full right menu, as ir still shows two options in right menu...

    Do anyone know how to eliminate full menu...

    Thanks in advance
    <EMBED src=mindcycle.swf type="text/html;
    charset=iso-8859-1" quality="high" menu=false
    bgcolor=#000000 WIDTH=120 HEIGHT=30>
    ----------------------------------------------
    will not work but


    <EMBED src=mindcycle.swf type="text/html;
    charset=iso-8859-1" quality="high" menu="false"
    bgcolor=#000000 WIDTH=120 HEIGHT=30>
    ----------------------------------------------
    it's working


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •