X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a5a7fba9daa003bb416fd8b7dff57a93eecf8d0..02b51ae521db06ef12a3c2a37a5378a9f715e707:/docs/doxygen/mainpages/samples.h diff --git a/docs/doxygen/mainpages/samples.h b/docs/doxygen/mainpages/samples.h index 90f8776afb..bfec6ec988 100644 --- a/docs/doxygen/mainpages/samples.h +++ b/docs/doxygen/mainpages/samples.h @@ -78,6 +78,7 @@ TODO: Organize them in a more human-readable way. @li @sample{event} @li @sample{except} @li @sample{exec} +@li @sample{flash} @li @sample{font} @li @sample{grid} @@ -407,6 +408,23 @@ wxProcess::Exists(). @sampledir{exec} +@section page_samples_flash Flash Sample + +The flash sample demonstrates embedding of Adobe Flash into a wxWidgets +program. Currently it only works under Windows as it uses the Flash ActiveX +control to achieve this but we hope to be able to extend it to also work under +other platforms in the future. The sample also currently requires Microsoft +Visual C++ compiler as it uses COM support extensions specific to this +compiler. + +The sample comes with 2 Flash files (SWF), showing a simple Flash animation +which can be controlled using the "Play", "Stop" and "Back"/"Forward" buttons +in the sample as well as a Flash form which shows how Flash and wxWidgets +program can exchange data: calling "GetText" function without arguments returns +the text of the text control defined inside Flash and calling "SetText" with an +argument sets the control contents to the given string. Finally clicking on the +button generates an event which is caught by the C++ program. + @section page_samples_font Font Sample The font sample demonstrates wxFont,