Subscribe

  • Subscribe  

Avoid LocalConnection Frustration

Posted by Moxie Zhang | April 27, 2005 .

I was told that it’s frustrating to work with LocalConnection class to make it works, from Flex beginners. After helping around, I found they shared the same mistakes!

Here it is:
.: When they develop a Flex, they try it out (with run) inside Flex Builder to see the real layout.
.: once tried, they run it from a browser to test the connection and callbacks. It didn’t work.

The reason was: The sender Flash was communicating with the one running inside Flex Builder, not the one in browser!

hehehe…

This happens a lot when you embedded two flex apps inside a jsp page and want them talk. Once the flexers know this, it works like a charm.

Leave a Comment

If you would like to make a comment, please fill out the form below.


Name

Email

Website

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Comments

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word


Related Posts

<

Direct TV Offers - usdirect has the best directtv deals