Name
ScaleAnim -- scale an animation
Synopsis
ScaleAnim(id, width, height[, smooth])
Function
This function scales the animation specified by id to the desired width and height. Please note that scaling an animation on a 68k processor can take quite some time. Optionally, you can choose to have the scaled graphics interpolated by passing True in the smooth argument. The graphics will then be scaled using anti-alias.

New in V2.0: You can pass #KEEPASPRAT as either width or height. Hollywood will calculate the size then automatically by taking the aspect-ratio of the anim into account.

Starting with Hollywood 2.0, width and height can also be a string containing a percent specification, e.g. "50%".

Inputs
id
identifier of the animation scale
width
desired new width for the animation
height
desired new height for the animation
smooth
optional: whether or not anti-aliased scaling shall be used (V2.5)
Example
ScaleAnim(1, 320, 240)
The above code scales animation 1 to a format of 320x240.

Show TOC