-- Lingo syntaxwindowObjRef.picture // JavaScript syntaxwindowObjRef.picture;
Window property; provides a way to get a picture of the current contents of a window--either the Stage window or a movie in a window (MIAW). Read-only.
You can apply the resulting bitmap data to an existing bitmap or use it to create a new one.
If no picture exists, this property returns VOID (Lingo) or null (JavaScript syntax).
This statement grabs the current content of the Stage and places it into a bitmap cast member:
-- Lingo syntax
member("Stage image").picture = _movie.stage.picture
// JavaScript syntax
member("Stage image").picture = _movie.stage.picture;