A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: [RESOLVED] Disable the CONTROL in swf files

  1. #1
    Senior Member
    Join Date
    Mar 2005
    Location
    U.S.A . VA.
    Posts
    108

    resolved [RESOLVED] Disable the CONTROL in swf files

    I want to disable little cheaters ability to click [Control] >> Play OR [Control] >> next frame and all that < > mumbo jumbo...

    Ive got the right clickers down

    Actionscript Code:
    var rightClick:ContextMenu = new ContextMenu();
    rightClick.hideBuiltInItems();
    _root.menu = rightClick;

    but what about people i send my swf file? they got that Control thingy

    KILL IT WITH FIRE!!!
    ((Or html5 lol))
    How can you say so much, but say so little?

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    Just tried it, and most of the menu items are also disabled locally!
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  3. #3
    Senior Member
    Join Date
    Mar 2005
    Location
    U.S.A . VA.
    Posts
    108
    Quote Originally Posted by Nig 13 View Post
    Just tried it, and most of the menu items are also disabled locally!
    What do you mean? How did you disable them? Please explain

    I was looking in the publish settings for something similar to what you speak of but didnt find anything (that did something)

    Thanks abunch!
    How can you say so much, but say so little?

  4. #4
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    No, I tried your code in my Flash, and tried it locally, on my computer, and the right-click menu is disabled - what are you experiencing?
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  5. #5
    Senior Member
    Join Date
    Mar 2005
    Location
    U.S.A . VA.
    Posts
    108
    Im saying if you publish your flash movie as a swf

    the top bar of the window has a bunch of options like

    [File] [view] [CONTROL] [help]

    I would like to disable the control or make it hidden
    How can you say so much, but say so little?

  6. #6
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    I swear that I remember having seen someone else disabling the toolbar, but it might be AS3, not sure! Sorry, but the only solution I know right now, is to use a third-party projector application like Zinc, mProjector or ***********, and convert your SWF into a customized EXE projector, which you can control how to display. These software are NOT free, so I can't help you any further, sorry D:

    Why do you want to hide it anyways? When using your code, all the buttons in the Control section are disabled!
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  7. #7
    Senior Member
    Join Date
    Mar 2005
    Location
    U.S.A . VA.
    Posts
    108
    Macromedia cost enough $ as it is alone xD

    Well as it turns out even if you use the "Control" the control does not break the game as frame action script rules apply even to the person using frame steps. so this will not help them at all lol

    Thanks for the help brotha!
    How can you say so much, but say so little?

  8. #8
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    no problem, lol xD
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

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