Old Articles - 6 years, 3 months ago - 0 Comments

System.showSettings

Weve all seen the somewhat mysterious settings menu, found in the right-click menu for the flash 6 player. Wouldnt it be nice, if you could force one of the system settings tabs open on a user? Well, you can, Macromedia havent told us about it in the official Flash MX Help included in the bundle, but its hiding in the player and it works like a charm…

System.showSettings is an actionscript method which pops open the Settings menu as and when you call it. It accepts an optional argument which is used to specify which one of the four settings tabs you want to display:

  • 0 - Displays the Privacy Tab
  • 1 - Displays the Local Storage Tab
  • 2 - Displays the Microphone Tab
  • 3 - Displays the Camera tab

If no argument is passed to the method, then the default tab is displayed, the default tab is the tab which was last displayed:

System.showSettings();

Or with an argument:

System.showSettings(1); //open the Local Storage Tab

You could use this method to ask users of your site to grant you permission to access their Microphone for example or to ask users of your site to grant you permission to access their Camera.

Macromedia have not yet added this method to the Actionscript Dictionary Errata



Note: This is an old article!

Please be aware that the content of this article may no longer be accurate and the links contained within could be broken.

Update Notifications

You can add our RSS feed to your favorite feed reader or recieve an email when a new article is posted by entering your email address below.

    Shu Player allows you to distribute your AIR Applications to users that dont have the AIR Runtime by converting them to standalone applications. Shu Player also adds more commands to do things like open external applications etc…


    If you hate the Adobe Updater like most of us, then just get rid of it.


    Want to quickly find out what version of the Flash Player a client has installed? Send them to www.playerversion.com


    Yet more pv3d goodness. Im loving this funky 3D Flash Lab, the work of Mathieu Badimon. [Update: Apparently this uses Five3D not PaperVision]


    There is an old interview with me on The FWA, its fairly long at 8 pages.


    If you do alot of travelling then it makes sense to get yourself a Priority Pass, which will get you access to over 500 airport lounges worldwide, regardless of whether your flying enconomy, business or first.


    Freelance Switch is a freelancer community with forums, jobs, daily tips and a complete 212 page e-book titled “How to be a rockstar freelancer” for sale.


    Lots of new media jobs at Creative Pool.


    BBC IPlayer is awesome, but its ashame that BBC News is still using Windows Media Player and Real video. Real player is officially badware.


More In Actionscript


More In Adobe Flash


More In Freelancing