User Manual
Objects
SettingsGro up
Parameter Description
MediaSource Selectamedia file toaddtothe mediaplayer,fromthe
projectfilesfolderorbybrowsingthePC
Note:
TheobjectisnotsupportedoniXTxA/X2basetargets. Simulationoftheobjectonthe
developmentPCissupportedonlyforPCtargets.
Note:
ConnectingatagtoaMedia Player Obj ectwillcausethem ediaplayertotryto
playa
mediaclipwith anamethatco rresponds tothetag’svalue,ignoringthecon
figured
MediaSourceparameter.
ScriptingtotheMediaPlayerObject
When scripting to the Media Player object, the name o
f the current media file has
to be stated, for example:
MediaPlayer1.Source = “Bear.wmv”;
Prior to running the script, the media file h
as to be added manually to the Project
Files folder. When the script is executed
,thefilewillbecopiedtotheoutput
directory.
Events for the media player can be used, for example:
MediaPlayer1.Play();
Relatedinformation
ComponentLibrary
7.4.2 PDFViewerObject
PDF files can be displayed in runtime using the PDF viewer object. The added
files are available from the Component Library.
Note:
AdobeReader9orlaterisrequired.
186
BeijerElectronics, M AEN831P