-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Flex 3 with Java

The LocalConnection
class lets you enable communication between two different SWF files or Flex applications. The LocalConnection
class can also be used to establish communication between SWF files created using an old version, such as ActionScript 1.0 or 2.0, and vice versa. Using LocalConnection
, you can only communicate among SWF files that are running on the same physical computers, but they can execute in different applications (for example, two SWF files running in two different browsers or two different Flash Player instances).
For every LocalConnection
communication, two SWF applications are involved. They are commonly known as a sender SWF file and a listener (or receiving) SWF file. You can easily communicate with two SWF files using LocalConnection
if they are hosted in the same domain. For example, www.domain1.com/app1.swf
can communicate with www.domain1.com/app2.swf
using LocalConnection
without any security concerns.
The applications that are served from...
Change the font size
Change margin width
Change background colour