Page 1 of 1

What's the uses of OnUnloadExternalResourceAsync event?

Posted: Sat Apr 17, 2010 12:21 pm
by coolshadow
Today, I download the latest version , and found some new events are added.
One is the OnUnloadExternalResourceAsync event.

But in samples, no any samples about this event.
So my question is, what's the use of this event? How can we use it?

thanks

Posted: Sat Apr 17, 2010 7:05 pm
by Softanics
Thank you for your question.

Please check this event:
http://www.f-in-box.com/delphi/help/ind ... async.html

OnUnloadExternalResourceAsync event is called when Flash doesn't need more a flash video resource.

Thank you.

Posted: Sun Apr 18, 2010 12:27 am
by coolshadow
Softanics wrote:Thank you for your question.

Please check this event:
http://www.f-in-box.com/delphi/help/ind ... async.html

OnUnloadExternalResourceAsync event is called when Flash doesn't need more a flash video resource.

Thank you.


Thanks, but what can we do in this event?? just free the tstream?

and There is a global event called setGlobalOnLoadExternalResourceHandlerAsync. Why no SetFlobalOnUnloadExternalResourceAsync event?

May be there should be more description in help file or some samples just using these events.

:oops:

Posted: Sun Apr 18, 2010 11:47 am
by Softanics
coolshadow wrote:Thanks, but what can we do in this event?? just free the tstream?


No; the event has been added by this request:
http://www.f-in-box.com/forum/viewtopic.php?t=577

coolshadow wrote:and There is a global event called setGlobalOnLoadExternalResourceHandlerAsync. Why no SetFlobalOnUnloadExternalResourceAsync event?

May be there should be more description in help file or some samples just using these events.


You're right; we should improve our samples and the documentation. I do agree.

Thank you.

Posted: Sun Apr 18, 2010 1:08 pm
by coolshadow
Softanics wrote:
coolshadow wrote:Thanks, but what can we do in this event?? just free the tstream?


No; the event has been added by this request:
http://www.f-in-box.com/forum/viewtopic.php?t=577

coolshadow wrote:and There is a global event called setGlobalOnLoadExternalResourceHandlerAsync. Why no SetFlobalOnUnloadExternalResourceAsync event?

May be there should be more description in help file or some samples just using these events.


You're right; we should improve our samples and the documentation. I do agree.

Thank you.


I got it, thanks :lol: