Our Flash tutorials provide you with step-by-step instructions on how to create beautiful Flash animations and integrate them into your website.  Home Flash & Swish Flash Tutorials System.showSetting

System.showSetting


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.

System.showSetting

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



Author's URL: Guy Watson
Final results of our readers
New!
Passed through all the steps? Share your result!
Your result will be premoderated.
Please make sure you choose the right image.
 
 



Captcha

*Required fileds
Our Flash tutorials provide you with step-by-step instructions on how to create beautiful Flash animations and integrate them into your website. More Flash Tutorials: Featured Materials | Fresh Materials | More Flash Tutorials at FlashPerfection.com

No comments yet...
Add comments to "System.showSetting"

Captcha