website promotion banner
Free Stock Images
  • Create A Free Account
  • Download High-Res Stock Images For Free
  • +5 Million Images
Your Ad Here
Flash & Swish  Home Flash & Swish Flash Tutorials System.showSetting
rss

System.showSetting

Author: Guy Watson More by this author


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:

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

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.

image 1

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



Rate this Material: Bad 1 2 3 4 5 Excellent
print this page tell a friend subscribe to newsletter subscribe to rss

Add comments to "System.showSetting"