摘要:
最近工作中有这个需求,需要修改AIR for android 生成的apk里的android:screenOrientation="user"为android:screenOrientation="landscape"。原因是一些平台的sdk接入air for android下会出现home键返回界... 阅读全文
摘要:
1.可以用在两个层次上:campaign level andthe ad level2Ad 1 - The ad that sends the messageAd 2 - The ad that receives the message//import the SyncAds classimport eyeblaster.utilities.syncAds.SyncAds;//create an instance of the SyncAds classvar syncAd_mc:SyncAds = new SyncAds();//set the synchronization level./ 阅读全文
摘要:
1.会报一个错:[0.10] Maps Error: You can only use the Maps component after a user has interacted with the ad.这个时候地图显示不出来,有两种处理方法:1 @StudioMap.setDoNotRequireUserInteraction(true);2 @enabler.addEventListener(StudioEvent.INTERACTION, enablerInteractionHandler);3 function enablerInteractionHandler(e:StudioEv 阅读全文
摘要:
var xml:XML=<main><a><url>http://www.baidu.com</url></a><a><url>http://www.baidu.com</url></a></main>;解析 trace(xml.a[0].url)//http://www.baidu.com总结:根节点是忽略的,不用考虑; 阅读全文