Hello,
we are developing a nice small appli, where the UI would be in FL2.1, while the appli core is in native C++. We are using a Janus-based HTTP server and the communication between UI and core is then made using XML Socket, so far so good.
However, because of the sockets, the UI needs to be published with "Network access" .. and then we have the following problem: if the core C++ sends to the UI the name of a video clip to play, then the FL UI needs to access it as "local file access" ... :-(
We thought about using 2 swf's, while the "file access" one would grant access to the "network" one, as follows:
System.security.allowDomain("*");
So, one swf is getting the filename from Core C++, pass it to the othe swf to open it.
It works correctly on emulator .. but unfortunately not on my N95 (which is FL3.0).
However, as expected, if everything is put in the Trusted folder and accessed thru the FlashPlayer, it would work.
This is not helping to much, because eventually, the swf needs to be launched using the Document API, so ...
Has anybody ever succeedded to make this working ?
Thanks,
Jacques.





