Back Previous Next


Linguist media package - create

Syntax:

   create {player} in {container}
      [at {position}]
      [size {size}]

Keyword handler:

   net.eclecity.linguist.media.keyword.MediaKCreate.class

Runtime handler(s):

   net.eclecity.linguist.media.handler.MediaHPlayer.class

Function:

Creates a media player. The player variable must have already been declared. Here we specify the window that is to be the parent of the media player, and the position and size of the media player within that container.

Example(s):

   create MoviePlayer in MainWindow
      at 100 80 size 320 240


Back Previous Next d instruction (block) is executed. The events are as follows: