mthielman11 wrote:

> So my question is, is this even possible?? Can I open a certain state
> in another flex application from a different flex application? ?

Yes, you have a few of options for client-side cross-SWF communication.

The first option is to use the LocalConnection class.  This has the 
advantage of not requiring any recourse to browser-based JavaScript and 
runs on pretty much any platform that supports Flash.  Additionally, it 
can handle serialization of core ECMAScript objects quite nicely without 
you having to do additional work on your end.  It does have several 
drawbacks though, namely a 40 kilobyte limit on the maximum amount of 
data passed on each request and a maximum number of calls that can be 
made per frame (this is about 10 times the framerate, if I recall 
correctly).

Alternatively, you can pass data through JavaScript.  In Flex 2, you can 
do this via the ExternalInterface API, or in Flex 1.5 or earlier, via 
the fscommand() call.  This doesn't have the limitations that come with 
using LocalConnection and will allow you to interface with JavaScript 
quite nicely if you're doing additional scripting there.  However, you 
may need to do your own serialization, and this technique is known not 
to work on all browsers, particularly on Internet Explorer and older 
versions of Safari on the Macintosh.

Lastly, you can always pass data between the two via a back-end server, 
though this wouldn't be particularly efficient and would probably result 
in more latency than you'd like.


Jim


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to