LocalConnection is asynchronous. I don't know how mProjector got synchronous code in flash 7, it had to be some very clever hack. However, synchronous calls are supported natively in flash 8 (via ExternalInterface, which communicates with the host using a documented XML format I believe).
SharedObject writes to a file, but I don't know if the format is documented anywhere. I'm pretty sure LocalConnection does something in memory, and doesn't go through files. But I don't know all the details on how these are implemented internally. -David R On 4/26/06, JesterXL <[EMAIL PROTECTED]> wrote: > > Hrm... I think SharedObject & LocalConnection both write to a file that > you > could check, but not really sure. I think that's how mProjector managed > to > get syncronous code, not sure. > > Darron might have something here: > http://www.darronschall.com/weblog/archives/000151.cfm > > I coulda swore someone else did something similiar, but the link escapes > me.... > > ----- Original Message ----- > From: "Rifled Cloaca" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com> > Sent: Wednesday, April 26, 2006 6:50 PM > Subject: Re: [Flashcoders] LocalConnection from SWF <-> Visual Basic? > > > Yeah, that was plan B. I was curious, though, if it were possible without > embedding a proxy SWF. Thanks! > > On 4/26/06, JesterXL <[EMAIL PROTECTED]> wrote: > > > > Have one SWF embedded in the VB app that exposes the LocalConnection. > > Hey > > can talk to VB via ExternalInterface. > > > > Every other SWF can talk to the VB app via that LocalConnection proxy > SWF > > embedded in VB. > > > > ----- Original Message ----- > > From: "Rifled Cloaca" <[EMAIL PROTECTED]> > > To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com> > > Sent: Wednesday, April 26, 2006 6:21 PM > > Subject: [Flashcoders] LocalConnection from SWF <-> Visual Basic? > > > > > > All, > > > > Does anyone know if it's possible to create a LocalConnection between a > > SWF > > file and a Visual Basic App? If so, are there any open source examples > > out > > there? Thanks! > > > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com