43.1 Overview
This library provides abstract functions to deal with Hollywood objects. Hollywood objects are
all objects created and managed by Hollywood, e.g. brushes, anims, background pictures, videos,
etc. Those objects will be closed and freed automatically when Hollywood exits. It is recommended,
though, that you free objects no longer needed yourself in order to avoid unnecessary memory
consumption.
Hollywood objects are addressed either through numeric identifiers or through handles that
are returned by all object creation functions when you pass the special value Nil
as the numeric identifier. See Auto id selection for details. When using numeric identifiers
and passing a numeric identifier that already exists to an object creation function, the existing
object will automatically be freed.
Object library functions like GetAttribute(), GetObjectData(),
or SetObjectData() require you to pass an object type constant
together with the identifier of the object. The following object type constants are
currently recognized:
#ANIM
-
An animation object created by @ANIM or LoadAnim().
See ANIM for details.
#ANIMSTREAM
-
An animation object created by BeginAnimStream().
See BeginAnimStream for details.
#ASYNCDRAW
-
An asynchronous draw object created by PlayAnim(), the functions in the
move object library, or by the transition effects functions.
#ASYNCOBJ
-
An asynchronous operation handle created by functions like CopyFile()
or DownloadFile().
#BGPIC
-
A background picture object created by @BGPIC, LoadBGPic()
and the like. See BGPIC for details.
#BRUSH
-
A brush object created by @BRUSH, LoadBrush() and the
like. See BRUSH for details.
#CLIENT
-
A client object created by OpenConnection() or passed to your
OnConnect
event handler callback. See OpenConnection for details.
#CLIPREGION
-
A clip region object created by CreateClipRegion().
See CreateClipRegion for details.
#CONSOLEWINDOW
-
A console window object created by CreateConsoleWindow().
See CreateConsoleWindow for details.
#DIRECTORY
-
A directory object created by OpenDirectory().
See OpenDirectory for details.
#DISPLAY
-
A display object created by @DISPLAY or CreateDisplay().
See DISPLAY for details.
#FILE
-
A file object created by @FILE or OpenFile().
See FILE for details.
#FONT
-
A font object created by @FONT or OpenFont().
See FONT for details.
#ICON
-
An icon object created by @ICON, LoadIcon() and the
like. See ICON for details.
#INTERVAL
-
An interval object created by SetInterval().
See SetInterval for details.
#LAYER
-
A Hollywood layer created by one of the commands which draw graphics, e.g. DisplayBrush().
#MEMORY
-
A memory block object created by AllocMem() and the like.
See AllocMem for details.
#MENU
-
A menu object created by @MENU or CreateMenu().
See MENU for details.
#MOVELIST
-
A move list object created by AddMove().
See AddMove for details.
#MUSIC
-
A music object created by @MUSIC, OpenMusic() and the like.
See MUSIC for details.
#PALETTE:
-
A palette object created by @PALETTE, LoadPalette()
or CreatePalette(). See PALETTE for details.
#POINTER
-
A mouse pointer object created by CreatePointer().
See CreatePointer for details.
#SAMPLE
-
A sound sample object created by @SAMPLE, LoadSample() and the like.
See SAMPLE for details.
#SERIAL
-
An serial connection object created by OpenSerialPort.
See OpenSerialPort for details.
#SERVER
-
A server object created by CreateServer().
See CreateServer for details.
#SPRITE
-
A sprite object created by @SPRITE or LoadSprite().
See SPRITE for details.
#TEXTOBJECT
-
A text object created by CreateTextObject().
See CreateTextObject for details.
#TIMEOUT
-
A timeout object created by SetTimeout().
See SetTimeout for details.
#TIMER
-
A timer object created by StartTimer().
See StartTimer for details.
#UDPOBJECT
-
A UDP object created by CreateUDPObject().
See CreateUDPObject for details.
#VECTORPATH
-
A path object created by StartPath().
See StartPath for details.
#VIDEO
-
A video object created by @VIDEO or OpenVideo().
See VIDEO for details.
Show TOC