LocalConnection is often the answer ________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Daman Dogra Sent: Tuesday, September 25, 2007 11:20 AM To: [email protected] Subject: [flexcoders] Data Sharing between two swfs Hi All, Here's a brief description of my problem. I have two separate html pages, lets say html1 and html2, each containing a swf..lets say swf1 and swf2. A user would typically land up on html1 page which contians swf1, swf1 would gather some data, the user then navigates to html2 page which contains swf2. The problem here is that swf2 needs access to data that was collected by swf1 on the previous page. Some options I thought about.. 1) using shared objects to share the data, but read somewhere that shared objects can only share simple data like strings etc. My data is stored in a actionscript class and wasn't sure if I could store the whole class in a shared object. Any ideas ? 2) Would RSL's be of any help here ? If I create my data class as an RSL, would it be seen by both the swf objects on different pages ? 3) Could create a long query-string (with all data) within swf1 and then call swf2 on next page with these parameters as flashvars. Would appreciate any suggestions about achieving this. Thx

