Camera, Microphone, Clipboard, Mouse, And Keyboard Access - Adobe FLEX 2-PROGRAMMING ACTIONSCRIPT 3.0 Manual

Programming actionscript 3.0
Table of Contents

Advertisement

The choice of a shared object store is based on a SWF file's origin URL. This is true even in
the two situations where a SWF file does not originate from a simple URL: import loading
and dynamic loading. Import loading refers to the situation where you load a SWF file with
the
LoaderContext.securityDomain
this situation, the loaded SWF file will have a pseudo-URL that begins with its loading SWF
file's domain and then specifies its actual origin URL. Dynamic loading refers to the loading
of a SWF file using the
will have a pseudo-URL that begins with its loading SWF file's full URL followed by an
integer ID. In both the import loading and dynamic loading cases, a SWF file's pseudo-URL
can be examined using the
a real URL for the purposes of choosing a shared object store. You can specify a shared object
parameter that uses part or all of the pseudo-URL.
localPath
Users and administrators can elect to disable the use of third-party shared objects. This is the
usage of shared objects by any SWF file that is executing in a web browser, when that SWF
file's origin URL is from a different domain than the URL shown in the browser's address bar.
Users and administrators may choose to disable third-party shared object usage for reasons of
privacy, wishing to avoid cross-domain tracking. In order to avoid this restriction, you may
wish to ensure that any SWF file using shared objects is loaded only within HTML page
structures that ensure that the SWF file comes from the same domain as is shown in the
browser's address bar. When you attempt to use shared objects from a third-party SWF file,
and third-party shared object use is disabled, the
SharedObject.getRemote()
www.adobe.com/products/flashplayer/articles/thirdpartylso.
Camera, microphone, Clipboard, mouse,
and keyboard access
When a SWF file attempts to access a user's camera or microphone using the
or
Microphone.get()
can allow or deny access to their camera and microphone. The user and the administrative
user can also disable camera access on a per-site or global basis, through controls in the
mms.cfg file, the Settings UI, and the Settings Manager (see
on page 452
and
"User controls" on page
methods each return a
Microphone.get()
Capabilities.avHardwareDisable
microphone have been administratively prohibited (
484
Flash Player Security
property set to
Loader.loadBytes()
LoaderInfo.url
methods return
methods, Flash Player displays a Privacy dialog box, in which the user
454). With user restrictions, the
null
property to determine whether the camera and
SecurityDomain.currentDomain
method. In this situation, the loaded SWF file
property. The pseudo-URL is treated exactly like
SharedObject.getLocal()
. For more information, see
null
"Administrative user controls"
value. You can use the
) or allowed (
true
. In
and
Camera.get()
and
Camera.get()
).
false

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex

Table of Contents