A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: disable Zoom and Print option

  1. #1
    Toronto's courtesan
    Join Date
    Apr 2002
    Location
    Toronto/NYC
    Posts
    82
    I create my movie in Swish, then export it SWF – how can I disable the zoom and print feature in the SWF version?

    Thanks in advance for your help.

  2. #2
    Junior Member
    Join Date
    May 2001
    Posts
    23
    In your html add menu=false to the parameters.

    Use the export panel and go to the options for html. Make sure the Menu option is unchecked. Then select Export from the File menu, then Export then HTML. This will create an HTML file with the appropriate commands. You can also select Copy HTML to Clipboard and paste the commands into your site.

    God bless!

  3. #3
    Shhh! monkeypants's Avatar
    Join Date
    Aug 2000
    Posts
    2,321
    There are a couple of ways to do it.

    Add the following to the <embed> code for your movie (in the html page

    <param name=ShowMenu value=false>

    or, on Frame 1 of your movie (in the scene timeline) add

    FSCommand ShowMenu
    Argument False

  4. #4
    Toronto's courtesan
    Join Date
    Apr 2002
    Location
    Toronto/NYC
    Posts
    82

    in more laymen terms

    I’ve tried the suggestion posted above but can’t seem to be able to disable the right click menu option.
    If anyone has any other suggestion or perhaps the same suggestions in more laymen terms, it would be much appreciated.
    I’m using dream weaver it helps at all

    Thanks
    Ela Foru

  5. #5
    Toronto's courtesan
    Join Date
    Apr 2002
    Location
    Toronto/NYC
    Posts
    82
    Nobody can help me ?

  6. #6
    Senior Member
    Join Date
    Aug 2001
    Posts
    1,071
    The easy way was the FS command monkeypants suggested.

    Alternately, If you are using dreamweaver, just go into the code view, and find your object and embed tags for the swf movie. In the object tag (which IE reads) you will see a number of <param name=*** value=***> tags. Simply add <param name=menu value=false> among them.
    Netscape uses the embed tag, and the params for that aren't bracketed like seperate tags...but you will see the similar params in it...again, just add menu=false among them.

    I don't know how better to tell you, so I hope that helps.


  7. #7
    UNified
    Join Date
    Mar 2001
    Location
    Montville QLD
    Posts
    6,161
    Im not sure I understand you but why not just go to PANEL>EXPORT and just under the HTML is a item called MENU, untick that box.

    Hope this is what you meant.

    Jofta

  8. #8
    Toronto's courtesan
    Join Date
    Apr 2002
    Location
    Toronto/NYC
    Posts
    82
    Thanks so much everyone here, i got, it was so simple, i had it right the first time , but forgot to save before i tested. duh.

  9. #9
    Junior Member
    Join Date
    Oct 2007
    Posts
    2
    I know that this thread is old as dirt, but I wanted to add some info for others who are having trouble trying disable zoom and other options in the right click menu. This info is coming from someone (me) who has no flash actionscript experience, but a decent amount of experience with Dreamweaver and programming. I used Dreamweaver CS3 to add flash text to my web pages, but wanted to prevent users from zooming in on the text.

    When inserting flash text from within dreamweaver, the script/code below is inserted into your web page:

    <script language="javascript">

    if (AC_FL_RunContent == 0) {
    .....
    }

    else {
    AC_FL_RunContent(
    'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
    'width', '200',
    'height', '200',
    'src', 'Untitled-1',
    'quality', 'high',
    'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
    'align', 'middle',
    'play', 'true',
    'loop', 'true',
    'scale', 'showall',
    'wmode', 'transparent',
    'devicefont', 'false',
    'id', 'Untitled-1',
    'bgcolor', '#ffffff',
    'name', 'Untitled-1',
    'menu', 'false',
    'allowFullScreen', 'false',
    'allowScriptAccess','sameDomain',
    'movie', 'Untitled-1',
    'salign', ''
    ); //end AC code
    }
    </script>
    <noscript>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="200" height="200" id="Untitled-1" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="Untitled-1.swf" />
    <param name="menu" value="false" /><param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="bgcolor" value="#ffffff" />

    <embed
    src="Untitled-1.swf"
    menu="false"
    quality="high"
    wmode="transparent"
    bgcolor="#ffffff"
    width="200"
    height="200"
    name="Untitled-1"
    align="middle"
    allowScriptAccess="sameDomain"
    allowFullScreen="false"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    </noscript>

  10. #10
    Junior Member
    Join Date
    Oct 2007
    Posts
    2
    I know that this thread is old as dirt, but I wanted to add some info for others who are having trouble trying disable zoom and other options in the right click menu. This info is coming from someone (me) who has no flash actionscript experience, but a decent amount of experience with Dreamweaver and programming. I used Dreamweaver CS3 to add flash text to my web pages, but wanted to prevent users from zooming in on the text.

    When inserting flash text from within dreamweaver, the script/code below is inserted into your web page:

    <script language="javascript">

    if (AC_FL_RunContent == 0) {

    ...if code...

    }

    else {

    AC_FL_RunContent(

    ...AC_FL_RunContent code...

    ); //end AC code

    }
    </script>
    <noscript>

    <object
    ...object code...
    />

    </object>
    </noscript>


    ================================================== ========

    Now, in order to disable right the zoom, and other options when right clicking on the flash text/object just inserted by dreamweaver, you add the following two bits of code to the the respective areas:

    1) add the code: 'menu', 'false',
    where to add it: in the function?/parameter? AC_FL_RunContent( );
    example:

    AC_FL_RunContent(
    ...
    'menu', 'false',
    ...
    );

    2) add the code: <param name="menu" value="false" />
    where to add it: within the <noscript></noscript> tag
    example:

    <noscript>
    ...
    <param name="menu" value="false" />
    ...
    </noscript>

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center