RE: [Flashcoders] Best practice DLL Integration
We used to use this approach, utilising Object.watch to check for changes - however we started getting the occasional exception - we switched to xml sockets and haven't looked back since. M > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Lee McColl-Sylvester > Sent: 24 April 2006 10:27 > To: Flashcoders mailing list > Subject: RE: [Flashcoders] Best practice DLL Integration > > That's a little overkill. What's the point in using > XMLSockets where the data is persisting in one place? It's > better to use SetVariable from the EXE to the Flash movie and > send XML as strings to the variables (which are > getters/setters), and ExternalAPI for Flash to the EXE which > also sends XML. If you look at my blog on my website > (www.designrealm.co.uk) I have a post where I explain a good > way to proxy xml streams from Flash to functions in your EXE; > at least for .NET. It's also just as doable with C++ function > pointers and there are other hacks for other languages. > > Regards, > Lee ___ 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
RE: [Flashcoders] Best practice DLL Integration
That's a little overkill. What's the point in using XMLSockets where the data is persisting in one place? It's better to use SetVariable from the EXE to the Flash movie and send XML as strings to the variables (which are getters/setters), and ExternalAPI for Flash to the EXE which also sends XML. If you look at my blog on my website (www.designrealm.co.uk) I have a post where I explain a good way to proxy xml streams from Flash to functions in your EXE; at least for .NET. It's also just as doable with C++ function pointers and there are other hacks for other languages. Regards, Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: 24 April 2006 09:58 To: Flashcoders mailing list Subject: RE: [Flashcoders] Best practice DLL Integration You could consider using a XMLSocketServer to communicate with flash over this local server. In theory this works like charm, I wrote a XMLSocketServer for .NET as a console application and it worked all fine. I am going to test if it works on the PPC to tonight. Yours, Weyert de Boer ([EMAIL PROTECTED]) innerfuse* http://www.innerfuse.biz/ ___ 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 ___ 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
RE: [Flashcoders] Best practice DLL Integration
You could consider using a XMLSocketServer to communicate with flash over this local server. In theory this works like charm, I wrote a XMLSocketServer for .NET as a console application and it worked all fine. I am going to test if it works on the PPC to tonight. Yours, Weyert de Boer ([EMAIL PROTECTED]) innerfuse* http://www.innerfuse.biz/ ___ 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
RE: [Flashcoders] Best practice DLL Integration
I did this with a .NET application. Unfortunately, the flash ocx exposes little that allow you to manipulate the running movie. I did manage to exploit the fact that you can use SetVariable to set a setter/getter that is in effect a function, as you normally can't call functions directly from outside the ocx. Course, it still limits you to one parameter. Anyway, I did this for a while with a custom XML parser and sent XML to and from my getters/setters, but in the end, I got pissed off and changed to using Fluorine. Fluorine now allows direct assembly access WITH session handling, which is something Macr's remoting never did. Course, the issue with this is that you will need to use .NET, which might be overkill with a Win32 dll, which to me would suggest using Multidmedia's Zinc. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: 21 April 2006 19:54 To: Flashcoders mailing list Subject: Re: [Flashcoders] Best practice DLL Integration if its windows then just embed the flash ocx into a winapp and use the normal ways to instantiate the dll. On 4/21/06, Wade Arnold <[EMAIL PROTECTED]> wrote: > > I have a project that I am working on that requires an exe integrated > player > that can connect to a windows DLL. Has anyone done any flash to dll > integration projects and have URL's to show examples and best practices. > Also has anyone used in software programs that have aided in writing the > dll > interface? > > Thanks; > Wade Arnold > > > > > ___ > 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 > -- j:pn http://www.lennel.org ___ 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 ___ 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
Re: [Flashcoders] Best practice DLL Integration
if its windows then just embed the flash ocx into a winapp and use the normal ways to instantiate the dll. On 4/21/06, Wade Arnold <[EMAIL PROTECTED]> wrote: > > I have a project that I am working on that requires an exe integrated > player > that can connect to a windows DLL. Has anyone done any flash to dll > integration projects and have URL's to show examples and best practices. > Also has anyone used in software programs that have aided in writing the > dll > interface? > > Thanks; > Wade Arnold > > > > > ___ > 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 > -- j:pn http://www.lennel.org ___ 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