views:

189

answers:

1

Hi all, I want to know if its possible to embed a flash movie inside an MFC app and let the user iteract with it. I know this is easily possible through embedding Flash activeX control. But I want the flash movie to be able to receive input from the MFC app (such as data and state update from the servers) and also should let the MFC app know about user interactions and other internal changes via callbacks or in some other way.

Is this possible through Flex SDK, Adobe AIR or such runtimes ? Pls give me some starters so that I can get up and goin with it.

Thanx.

A: 

Hi, unfortunately I don't know c++.

You could try to embedded it as an activeX and establish communication via ExternalInterface.

You can open applications with parameters e.g. photoshop.exe myFile.psd using AIR It was a bit flaky in AIR 1.0, but maybe they fixed those issues in AIR 1.5. I'm not up to date with 1.5

I would also recommend giving mProjector a try. mProjector is a projector tool, meaning it allows you to create desktop applications out of swfs. Some of the differences are: it doesn't have any dependencies( runs as a native applicaiton, deosn't require a runtime ) and it is commercial, but I think it's worth the money.

There is an executeApplicaiton method that allows you to call another app with params, like air does. You have registry support and you can create plugins using C++ which is what I think might get you going.

Try with ExternalInterface first though.

George Profenza
thanx man will look this up.
OverTheEdge