Page 1 of 1

One more issue

Posted: Tue Jan 18, 2011 8:11 pm
by c0mas
I have the following scenario:
- I have a simple MFC modal dialog
- on another thread I initialize the OCX and I load a flash window with FPC_CreateWindow

In this case my modal dialog remains unresponsive (and my flash sound plays in background).

Do you know what can be the problem or how can this be avoided ?

Thanks,
/C0mas

Posted: Wed Jan 19, 2011 12:05 pm
by Softanics
Hello,

Does another thread have a message loop? Do you really need to create a window in another thread?

Thank you.

Posted: Wed Jan 19, 2011 7:42 pm
by c0mas
There is no message loop on that thread.

Somehow I've managed to move all the initializations on the same thread, but I still don't know what was the problem.

One more thing :) ... it seems that one swf is playing immediately without a call to FPC_Play. Am I doing something wrong ? Or is there any way to load it and wait ?

Thanks
/C.

Posted: Thu Jan 20, 2011 1:20 pm
by Softanics
c0mas wrote:One more thing :) ... it seems that one swf is playing immediately without a call to FPC_Play. Am I doing something wrong ? Or is there any way to load it and wait ?


It seems that it's just a feature of this movie... It's impossible to "freeze" a flash movie.

Posted: Thu Jan 20, 2011 6:46 pm
by c0mas
OK :) ... thanks