communication between two flex apps
Asked Answered
I

1

6

I have 2 flex apps on the same page. I want them to be able to call each other's public functions. I am thinking of using either externalInterface calls or FaBridge to do so. Is there a better way to do it?

Interrogator answered 11/8, 2009 at 2:19 Comment(0)
M
76

The best way to go is to use LocalConnection. It allows you to call methods from a separate SWF without having to go through Javascript or a server.

Tip: if you're going to be sending arguments that are greater than about 20KB in size, you will want to split them up in two or more calls. In my experience LocalConnection calls have a limit of around that size for data.

Madonna answered 11/8, 2009 at 14:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.