Flash Player Security Features - MACROMEDIA FLASH MX 2004-USING ACTIONSCRIPT IN FLASH Use Manual

Using actionscript in flash
Hide thumbs Also See for FLASH MX 2004-USING ACTIONSCRIPT IN FLASH:
Table of Contents

Advertisement

There are two technologies that enable communication between the browser and Flash Player:
LiveConnect (Netscape Navigator 3.0 or later on Windows 95/98/2000/NT/XP or Power
Macintosh) and ActiveX (Internet Explorer 3.0 and later on Windows 95/98/2000/NT/XP).
Although the techniques for scripting are similar for all browsers and languages, there are
additional properties and events available for use with ActiveX controls.
For more information, including a complete list of Flash Player scripting methods, use the
keywords Flash method to search the Flash Support Center at
flash.
About using JavaScript to control Flash applications
Flash Player 6 (6.0.40.0) and later supports certain JavaScript methods that are specific to Flash
applications, as well as
these JavaScript methods and
Macromedia Support Center article, "Scripting With Flash" at
flash/publishexport/scriptingwithflash/.
For Netscape 6.2 and later, you do not need to set the
However, setting
information, see the

Flash Player security features

By default, Flash Player 7 and later prevents a SWF file served from one domain from accessing
data, objects, or variables from SWF files that are served from different domains. In addition,
content that is loaded through nonsecure (non-HTTPS) protocols cannot access content loaded
through a secure (HTTPS) protocol, even when both are in exactly the same domain. For
example, a SWF file located at http://www.macromedia.com/main.swf cannot load data from
https://www.macromedia.com/data.txt without explicit permission; neither can a SWF file served
from one domain load data (using
Identical numeric IP addresses are compatible. However, a domain name is not compatible with
an IP address, even if the domain name resolves to the same IP address.
The following table shows examples of compatible domains:
www.macromedia.com
data.macromedia.com
65.57.83.12
The following table shows examples of incompatible domains:
www.macromedia.com
macromedia.com
www.macromedia.com
65.57.83.12
www.macromedia.com
288
Chapter 11: Working with External Data
, in Netscape 6.2 and later. Earlier versions do not support
FSCommand
FSCommand
to
swLiveConnect
true
attribute in "Parameters and attributes" in Using Flash.
swLiveConnect
loadVars()
www.macromedia.com
data.macromedia.com
65.57.83.12
data.macromedia.com
www.macromedia.com
macromedia.com
www.macromedia.com (even if this domain resolves to 65.57.83.12 )
65.57.83.12 (even if www.macromedia.com resolves to this IP)
www.macromedia.com/support/
in Netscape 6.2 or later. For more information, see the
www.macromedia.com/support/
swliveconnect
has no adverse effects on your SWF file. For more
, for example) from another domain.
attribute to
.
true

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING ACTIONSCRIPT IN FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents