我可以更改动作Adobe AIR应用程序的图标? [英] Can I change an Adobe Air application icon in actionscript?

查看:180
本文介绍了我可以更改动作Adobe AIR应用程序的图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让在Adobe AIR应用程序,你可以从外部加载图标进入应用程序。我可以更改动作窗口应用程序图标?

I'm trying to make an application in adobe air where you can externally load icons into the application. Can I change the window application icon in actionscript?

推荐答案

你阅读本的文档这documenrtation

这看起来是code这样会做到这一点:

It look as is code like this will do it:

NativeApplication.nativeApplication.icon.bitmaps = 
            [bmp16x16.bitmapData, bmp128x128.bitmapData];

您将不得不从您要使用的图像得到的位图数据,虽然。

You'll have to get the bitmapData from the image you want to use, though.

这篇关于我可以更改动作Adobe AIR应用程序的图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆