System
1157
Usually you should find that the default value of
System.exactSettings
is fine. Often your
only requirement is that when a SWF file saves a shared object in one session, the same SWF
file can retrieve the same shared object in a later session. This situation will always be true,
regardless of the value of
System.exactSettings
. But you might want to change
System.exactSettings
from its default so that a SWF file published for Flash Player 7 or
later can retrieve shared objects originally created by a SWF file published for Flash Player 6.
Because the player has stored the shared objects created by the Flash Player 6 SWF file in a
folder that's specific to the superdomain of that SWF file, you should use superdomain rules
for shared object retrieval in your Flash Player 7 SWF file. This step requires specifying
System.exactSettings = false
in your Flash Player 7 SWF file. It is also possible that you
might have SWF files that are published for Flash Player 6 and Flash Player 7 SWF files that
share the same shared object data. In this case, simply pick a value for
System.exactSettings
(either
true
or
false
) and use it consistently in your Flash Player 6
and Flash Player 7 SWF files.
Availability:
ActionScript 1.0; Flash Player 7
Example
The following example shows how to specify superdomain matching rules:
See also
loadMovie (MovieClip.loadMovie method)
,
loadClip (MovieClipLoader.loadClip
method)
,
getLocal (SharedObject.getLocal method)
,
exactSettings
(System.exactSettings property)
onStatus (System.onStatus handler)
onStatus = function(infoObject:Object) {}
Event handler: provides a super event handler for certain objects.
The LocalConnection, NetStream, and SharedObject classes provide an onStatus event
handler that uses an information object for providing information, status, or error messages.
To respond to this event handler, you must create a function to process the information
object, and you must know the format and contents of the returned information object.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...