首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

其次周工作总结——Air Mobile As3 App

2012-11-23 
第二周工作总结——Air Mobile As3 App201211191.flash--AirMobile:error while loading initial content 问

第二周工作总结——Air Mobile As3 App

20121119
1.

flash--AirMobile:
error while loading initial content
问题:升级版本所导致的错
解决方法:(网上复制,对我没用,解决一个又一个):
打开 downloader-app.xml 配置文件
将Application 修改为下面的一行, 重新编译保存.
<application xmlns="http://ns.adobe.com/air/application/1.5">
对应版本 flex sdk 3.0.0的改成 1.0
flex sdk 3.2 的改成 1.5
以后的版本也是同样方法.

----->error while loading initial content

-----> invalid application descriptor: version must have a non-empty value

------> invalid application descriptor:supportedProfiles tag not allowed in this namespace

------>application descriptor not found

上问题并没解决,问了很多很多前辈,看了很多博客...
最终,我决定还是新建一个项目,此问题解决。


2

error:  Parameter cursor must be one of the accepted values.
 at flash.ui::Mouse$/set cursor()
 at away3d.Misc::os_mouseMgr/set_cursor()
 at iceFireUI.bag::BagPanel/toCloseFrame()
 at gameMainUI::GameMainWindow/closeAllFrame()
 at bhmain::bhmainproc/SM_NEWMAP_process()
 at bhmain::bhmainproc/safe_SM_NEWMAP_process()
 at Main/move_mgr()
 at Main/_handleEnterFrame() 的Setcursor();

在AS3项目中,是这样将此图片设置上的: 首先编写.xml文件, xml对其图片 (图片共有5中状态,每种状态10帧)命名
在程序中将其(name)压入Vector,并编写Set(string name)函数,导入图片,当我需要此图片的某种状态时候,我只需要Set(图片名字)
此问题在flash编译中是没错的 当编译成AIR程序的时候 error# :Parameter cursor must be one of the accepted values.
有人说类型不同(目前还没解决)。

热点排行