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
Your Ad Here

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.

image 1

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



Author's URL: Guy Watson
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

Internet & computing Flash is a vector-based moving graphics format created by Macromedia for the publication of animations on the World Wide Web. More Flash & Swish: Most Popular Materials | Fresh Materials | More Flash Tutorials at FlashPerfection.com

Add comments to "System.showSetting"

Only registered users can write comment

Reader's comments