![]() |
|||||||
|
3D Dragging Film Loops Games Geometry Imaging Lingo LDMs Navigation OOP Scripts
3D |
These behaviors can be used to resize and reposition sprites when the user alters the dimensions of the window, on to tweak the size, position and font of sprites, depending on the platform on which the movie is playing. For the 'Resize' behaviors to function correctly, you will need to include handlers similar to the following in a Movie Script: on activateWindow() (the activeWindow).windowType = 8 -- Zoomable:12, resizable:0 end activateWindow on resizeWindow() sendAllSprites(#reposition, (the activeWindow).rect) end on zoomWindow() sendAllSprites(#reposition, (the activeWindow).rect) end
|
||||||