[转]ANE和iOS GameKit协同开发

ADOBE在ANE上估计下了蛮大的赌注。不过ANE也确实在给了使用者在不同平台上很大的自由度。这不,又一篇使用ANE结合iOS的GameKit的技术文章来了。James在他的系列文章里详细介绍了怎么整合GameKit的相关API,以及显示NATIVE的UI来支持某些功能。


ANE与GameKit(一)概览

Advertisements

Use StageVideo on Honeycomb

Since FlashPlay 10.2 and AIR 3.0, user can use StageVideo on all Honeycomb devices. But just like other new features provided by Adobe, you won’t just get it for free without any pain:)



I spent the whole morning to figure out how to make it happen on my Xoom. After reading dozens of threads from Adobe’s forum, finally, it worked. Here are something you need to prepare before the StageVideo servers you correctly:

  1. Make sure you are running on Honeycomb. Any Android OS lower than 3.0 doesn’t have StageVideo.
  2. In your Flex Compiler setting, make sure you have those values input: -swf-version=13 -target-player=11.0.0
  3. In your application description xml file, make sure you have the following setting:
    1. renderMode = direct
    2. colorDepth = 32bit [this one could be omitted if your app’s namespace is >= 3.0]

Those settings will give your the access of StageVideo. But if you want to actually SEE your video on the screen, you should make you application’s background transparent: backgroundAlpha=”0″. Otherwise, you will only hear the audio.


Now, you should have StageVideo serve you correctly:)

记录一下这个历史的时刻吧,最新的智能手机市场份额图

看出什么了吗?Android很强势啊!

25个愚蠢的密码

还好我一个都没用过:

1.password(密码)
2.123456
3.12345678
4.Qwerty(电脑标准键盘)
5.abc123
6.Monkey(猴子)
7.1234567
8.Letmein(让我进)
9.trustno1(不信1) — 这里原文翻译错了吧。应该是“不要相信任何人”
10.Dragon(龙)
11.Baseball(棒球)
12.111111
13.Iloveyou(我爱你)
14.Master(主人)
15.Sunshine(阳光)
16.Ashley(人名)
17.Bailey(人名)
18.passw0rd
19.Shadow(影子)
20.123123
21.654321
22.Superman(超人)
23.Qazwsx
24.Michael
25.football(足球)

Google Swiffy又回来了

N久以前,我们见到过Swiffy,一个由Google工程师在20%时间项目上面开发的小工具,用来把swf转换成html。但听说Google把它给停了。今天又看到消息说它又回来了,而且作为一个Flash Pro的插件,直接在Flash Pro里运行,导出成html。目前的版本限制很多,但应该还是很有潜力的。具体的情况移步Google的博客吧。