flash actionscript:
Hi everybody! I know this might be a special question, but i didnt find any solutions (whycih i could understand) to my problem: Is there any way to call functions from a (in C++ written) DLL, or any other way to get access to C++ functions? This would really help me, because i'd like to use Flash to create desktop applications, and use C++ for system integration. All sujestions are welcome! :smile;
I think you would have to investigate some of the 3rd party wrapper tools eg MDM Zinc (try googling for that). There are others but as well if you google for flash projector tools - but I don't know what their capabilities are. I don't think you can do this with Adobe's AIR as it would mess with the cross-platform consistency approach - but I haven't really played with AIR yet, and its been a while since I read up on it - so perhaps I'm wrong.
Well that's ok if you want to extend flash (the authoring tool) but not if you want to access a DLL from flash (actionscript).
You're right, i didnt read well. But about these projector, <what> are they? I know Flash can make an executable from an SWF, and i thought those projectors would do exactly the same, so what's the difference?
The third party tools "wrap" or 'host' the activex control and provide an extended api - think of them as a much enhanced version of the standard flash projector, which is pretty limited. I just know what's possible I can't speak from experience - but I know others here on the forums have used them. There is an open source type of implementation called haxe or screenweaver.. or something like that... but I don't know if it will do what you want. I know Zinc will because I did a quick search and it said so - so I guess it should! Other names that spring to mind are Jugglor and Swf Studio. I haven't checked these out to see if they can use external libraries.
I just took a look at it and yes I think at first glance it can do the sort of thing you want. The swf runs within a neko virtual machine. Neko provides additional api support for the desktop app stuff and you can extend it with additional libraries. Haxe is the programming language. Like I said I haven't used it, but the communication between flash and neko is similar in concept to the other commercial examples I think.
Do you know where i can find any code snippet, or tutorial, or description?
Instead of wrapping flash with 3rd party tools you could create a WebService (.NET) and use the dll in the webservice. It is then much easier to call the WebService from flash. Cheers, Gorka www.AquiGorka.com
Seems like a good idea, but i'm looking focussing on Desktop-applications, not on the web.
Don't see what you're looking for? Try a search.
|