アルファ・ブレンドウインドウ(ツールチップやマルチメディア用)
Use the Shape option in the Stack Inspector to set a stack’s windowShape property to the transparent, or alpha channel of an image that has been imported together with its alpha channel (i.e. in either PNG or GIF format). This allows you to create a window with “holes” or a window with variable translucency. You can apply a shape to any type of stack, regardless of the mode it is opened, allowing such a window to block as a dialog, float as a palette, etc.
スタック・インスペクタのShapeオプションを使ってスタックのwindowSapeプロパティを透明(transparent)に設定するか、アルファ・チェンネル(つまり、PNGかGIFフォーマット)を伴って読み込まれた画像のアルファ・チャンネルに設定します。これを使うと穴(hole)を持つウインドウや可変透明度を持つウインドウを作ることができます。どのスタックでも、開かれているモードに関係なく、形状要素を持たすことができます。形状要素を持ったウインドウはダイアログのようにウインドウをブロックし、パレットなどのように浮いたものになります。
Figure 29 – Window with alpha mask applied
図29 ー アルファ・マスクが適用されたウインドウ
You can change the windowShape property dynamically by script to a series of images to create an animated translucent window.
windowShapeプロパティは、アニメーションの様な透明ウインドウを作るためにスクリプトにより動的に連続するイメージに変更することができます。