MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 1089

Actionscript 2.0 language reference
Table of Contents

Advertisement

If you publish SWF file content to be played back as local files (either locally installed SWF
files or projectors [EXE]), and you need to access a specific shared object from more than one
local SWF file, be aware that for local files, two different locations may be used to store shared
objects. The domain that is used depends on the security permissions granted to the local file
that created the shared object. Local files can have three different levels of permissions: 1)
access to the local filesystem only, 2) access to the network only, or 3) access to both the
network and the local filesystem. Local files with access to the local filesystem (either 1 or 3)
store their shared objects in one location. Local files with no access to the local filesystem (2)
store their shared objects in another location. For more information, see the following:
Chapter 17, "Understanding Security," in Learning ActionScript 2.0 in Flash
The Flash Player 8 Security white paper at http://www.macromedia.com/go/fp8_security
The Flash Player 8 Security-Related API white paper at http://www.macromedia.com/go/
fp8_security_apis
Availability: ActionScript 1.0; Flash Player 6
Parameters
- A string that represents the name of the object. The name can include forward
name:String
slashes (
); for example,
/
object name, nor are the following characters:
~ % & \ ; : " ' , < > ? #
[optional] - A string that specifies the full or partial path to the SWF file
localPath:String
that created the shared object, and that determines where the shared object is stored locally.
The default value is the full path.
[optional] - (Flash Player 8 only) Determines whether access to this shared
secure:Boolean
object is restricted to SWF files that are delivered over an HTTPS connection. Assuming that
your SWF file is delivered over HTTPS:
If this parameter is set to
reference to an existing secure shared object. This secure shared object can be read from or
written to only by SWF files delivered over HTTPS that call
with the
secure
If this parameter is set to
reference to an existing shared object. This shared object can be read from or written to by
SWF files delivered over non-HTTPS connections.
work/addresses
, Flash Player creates a new secure shared object or gets a
true
parameter set to
true
, Flash Player creates a new shared object or gets a
false
is a legal name. Spaces are not allowed in a shared
.
SharedObject.getLocal()
SharedObject
1089

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents