Example 20, Use of Sound/Video controllers


This description will add an Active List with Sound and Video to
    -  Doc Example.ADsrc  (source,  "W" in the icon).
   -  Doc Example.ADcomp  (compiled, "P" in the icon)
Both files can be found on the CD in the folder
     Samples\Try This\Example Folder
The description presumes all resources (pictures, sounds available) found in
     Samples\Try This\Example Folder\Example Resources\SndVideoRes
 
As a recreation we want to add some sound and video in our document, just for the pleasure.
It will look like this.
-  Choose Static Text from the menu Create Element of ADWorks and use the Definitions to obtain this.
BTW: We want the user of ADPlayer to look up this.
-  Choose Active List from the menu Create Element of ADWorks
- Optional: Choose his color with the Definitions of the Active List.
- Use the Evaluation of the Active List and the mentioned location
   Samples\Try This\Example Folder\Example Resources\SndVideoRes
   to:
1) Add the ressource Video aliensong, with INDIRECT display mode,
2) Add the ressource Music schubert, with INDIRECT display mode,
3) Add the ressource Replace Text with DIRECT display mode
    (this opens the simple editor, I typed "quite different...").
4) Add the ressource Create  RTF File with DIRECT display mode
    (this opens the RTF editor, the text must be saved at the end,
     its the RTF-file Lyrics, see it, saved at mentioned location.
    Note also this).
See Evalutation Table and see result after OK.
Note: In an Active List
- The resource type can be mixed up
- The dsiplay mode can be mixed up
We are ready jump to ADPlayer to test the Multimedia Portion, case Text. See Illustration.
This document is saved saved with the name Doc Example.ADsrc  (with  a "W" in the icon).
The compiled file is Doc Example.ADcomp  (with a "P" in the icon)


Back to try this