Page 1 of 1

IShockwaveFlash

Posted: Thu Jan 24, 2008 1:08 pm
by super_juanjo
Hi all
I am writing an application using c++ that plays swf files, using IShockwaveFlash
The problem is that I dont know when the frames arrives, so I am using a timer, which takes a lot of cpu time...
Is there some kind of callback to know when I got a new frame so I can draw it?

Thanks

Posted: Thu Jan 24, 2008 3:06 pm
by Softanics
Thank you for your question.

super_juanjo wrote:I am writing an application using c++ that plays swf files, using IShockwaveFlash


This forum is for questions regarding f-in-box ;)

super_juanjo wrote:The problem is that I dont know when the frames arrives, so I am using a timer, which takes a lot of cpu time...
Is there some kind of callback to know when I got a new frame so I can draw it?


Another words, you need an event that is called each time when a movie is updated?

Posted: Thu Jan 24, 2008 3:17 pm
by super_juanjo
exactly
do you know something about it?

cheers

Posted: Thu Jan 24, 2008 3:54 pm
by Softanics
Yes, I have one idea. Using f-in-box, you can try to use the notification FPCN_PAINT:
http://www.f-in-box.com/dll/help/index/ ... paint.html