开发者

Adobe Air: Can you draw something outside of a window?

开发者 https://www.devze.com 2023-02-03 16:12 出处:网络
For example, how would I draw an image outside of my window area, anywhere on the screen开发者_如何学Python?It is not possible to draw outside your window. You can however simulate that effect by crea

For example, how would I draw an image outside of my window area, anywhere on the screen开发者_如何学Python?


It is not possible to draw outside your window. You can however simulate that effect by creating a maximized transparent window and then drawing on it so that it seems you are drawing at arbitrary points on the screen. You will face issues like the visible windows below the transparent window will be inactive till you minimize the transparent window.


You can also create a new window inside your application and place it somewhere on the screen. If you set systemChrome to none it will not have any menu bars and will appear if there is nothing on the screen unless you fill it.

See http://livedocs.adobe.com/flex/3/html/help.html?content=WorkingWithWindows_1.html for more information about windows.

A tutorial to spawn new windows without any menu bars and outlining is here : http://www.adobe.com/devnet/air/flex/quickstart/articles/creating_toast-style_windows.html

0

精彩评论

暂无评论...
验证码 换一张
取 消