首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 在多个屏幕上控制nativewindows

在多个屏幕上控制nativewindows

  • 资源大小:14.34 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 控制 多个 屏幕

资 源 简 介

AS3 AIR ScreenManager A multi-screen AIR application manager Never wondered how cool it would be when your AIR application runs on 2 or more screens at the same time? Adobe AIR supports multi-screen by offering the developer a Screen-class. This class makes it possible to detect screens, get some info, and that"s it. To open a window on a screen, you"ll have to do some calculations yourself. To make positioning screens, moving screens, ... easier , I quickly build a ScreenManager that takes care of your NativeWindow(s). Make an instance of the nativewindow and send it throught the manager. Like this: var nw:NativeWindow=new NativeWindow(new NativeWindowInitOptions());nw.width=250;nw.height=90;var mc:MovieClip=new MovieClip(); //movieclip with contentnw.stage.addChild(mc);ScreenManager.openWindowCenteredOnScreen(nw,2); The ScreenManager is a static class. It allow the developer to control a NativeWindow through

文 件 列 表

AIRScreenManager
be

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.227734s