Stream story的標題與文字不可預先填好
必須由使用者自行填入:
以下都是不被允許的
1.混合使用者資料與app的預設文字:例如Melissa 喜歡本app
2.用CheckBox提供預設文字讓使用者選擇
3.預先填入可編輯的app的預設文字
4.用Dropdown選單提供預設文字讓使用者選擇
不可利用Stream story作為邀請朋友加入的手段
例如: Melissa 邀請你參加
不可大量發出Stream
不可使用「呼喚行動」行銷手法(Call to Action)
例如:
1.你能挑戰成功嗎
2.快來看看更多Mellisa的創作
不可使用特殊文字破壞Facebook原有的排版
例如:@@@@@@@@@ Happy APP @@@@@@@@@@
更多內容請看
http://wiki.developers.facebook.com/index.php/Policy_Examples_and_Explanations
但是似乎常常看到不符合規定的情形
僅供參考
Monday, December 7, 2009
Thursday, October 8, 2009
Wednesday, October 7, 2009
Monday, October 5, 2009
SyntaxHighlighter 測試
測試
public function Example( ) {
_video = new Video(160, 120);
_playbackTime = new TextField( );
_playbackTime.autoSize = TextFieldAutoSize.LEFT;
_playbackTime.y = 120;
_playbackTime.text = "test";
_duration = 0;
var connection:NetConnection = new NetConnection( );
connection.connect(null);
_stream = new NetStream(connection);
_stream.play("video.flv");
var client:Object = new Object( );
client.onMetaData = onMetaData;
_stream.client = client;
_video.attachNetStream(_stream);
addChild(_video);
addChild(_playbackTime);
addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
Adobe Applications_for_iPhone
http://labs.adobe.com/wiki/index.php/Applications_for_iPhone
http://www.adobe.com/devnet/logged_in/abansod_iphone.html
http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
----------
Can applications dynamically load SWFs at runtime?
Yes, although any ActionScript in the SWF will be ignored (as there is no virtual machine to interpret the code).
Which native iPhone APIs and functionality are supported when using Flash tooling?
The following native device APIs and functionality are supported:
* MultiTouch
* Screen Orientation
* Saving images to Photo Library
* Accelerometer
* Geo-location
* Cut / Copy / Paste
Can applications take advantage of hardware acceleration?
Yes. In some cases, the rendering of Flash content will be hardware accelerated.
We will publish more information on this when we release the public beta.
Can I play H.264 Video from Flash content on the iPhone?
Yes. You can play H.264 video from Flash content by launching the content in the native iPhone video player. You cannot play back H.264 content directly within the application.
Can I use the Flex Framework to create content for the iPhone?
While it is possible to create iPhone content using the desktop Flex Framework, we do not recommend it. The Flex framework is currently optimized for execution in a desktop environment. The performance, UI, and interaction models have not been optimized for mobile devices.
Adobe is working on a mobile Flex Framework, which should be better suited for iPhone development. You can find the latest information on the mobile Flex Framework at:
http://labs.adobe.com/technologies/flex/mobile/
Which fonts should I use when developing content for the iPhone?
A good baseline font to use is Helvetica at 14pts.
You can also specify the following font types, which will map to the fonts specified:
* _sans : Helvetica
* _serif : Times New Roman
* _typewriter : Courier New
The following device fonts are also available within your content:
* Sans-serif : Helvetica, Arial, Verdana, Trebuchet, Tahoma
* Serif : Times New Roman, Georgia
* Fixed-width : Courier New, Courier
Can I run content created with Flash in the iPhone simulator on Mac?
No. Flash content created for the iPhone will not run within the iPhone simulator on Mac.
Can I use native iPhone OS Controls in my Flash based iPhone content?
No.
What size should my Flash content be when targeting the iPhone?
In fullscreen mode, the screen size is 320 x 480 (480 x 320 in landscape mode). With the status bar showing, the screen size is 320 x 460 (300 x 480 in landscape mode).
Are there any general guidelines I should consider when developing content for the iPhone?
Yes. In general, your content should adhere to the Apple iPhone Human Interface Guidelines.
It is also important to thoroughly test content on all targeted devices as performance and capabilities can vary greatly between different device versions.
http://www.adobe.com/devnet/logged_in/abansod_iphone.html
http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
----------
Can applications dynamically load SWFs at runtime?
Yes, although any ActionScript in the SWF will be ignored (as there is no virtual machine to interpret the code).
Which native iPhone APIs and functionality are supported when using Flash tooling?
The following native device APIs and functionality are supported:
* MultiTouch
* Screen Orientation
* Saving images to Photo Library
* Accelerometer
* Geo-location
* Cut / Copy / Paste
Can applications take advantage of hardware acceleration?
Yes. In some cases, the rendering of Flash content will be hardware accelerated.
We will publish more information on this when we release the public beta.
Can I play H.264 Video from Flash content on the iPhone?
Yes. You can play H.264 video from Flash content by launching the content in the native iPhone video player. You cannot play back H.264 content directly within the application.
Can I use the Flex Framework to create content for the iPhone?
While it is possible to create iPhone content using the desktop Flex Framework, we do not recommend it. The Flex framework is currently optimized for execution in a desktop environment. The performance, UI, and interaction models have not been optimized for mobile devices.
Adobe is working on a mobile Flex Framework, which should be better suited for iPhone development. You can find the latest information on the mobile Flex Framework at:
http://labs.adobe.com/technologies/flex/mobile/
Which fonts should I use when developing content for the iPhone?
A good baseline font to use is Helvetica at 14pts.
You can also specify the following font types, which will map to the fonts specified:
* _sans : Helvetica
* _serif : Times New Roman
* _typewriter : Courier New
The following device fonts are also available within your content:
* Sans-serif : Helvetica, Arial, Verdana, Trebuchet, Tahoma
* Serif : Times New Roman, Georgia
* Fixed-width : Courier New, Courier
Can I run content created with Flash in the iPhone simulator on Mac?
No. Flash content created for the iPhone will not run within the iPhone simulator on Mac.
Can I use native iPhone OS Controls in my Flash based iPhone content?
No.
What size should my Flash content be when targeting the iPhone?
In fullscreen mode, the screen size is 320 x 480 (480 x 320 in landscape mode). With the status bar showing, the screen size is 320 x 460 (300 x 480 in landscape mode).
Are there any general guidelines I should consider when developing content for the iPhone?
Yes. In general, your content should adhere to the Apple iPhone Human Interface Guidelines.
It is also important to thoroughly test content on all targeted devices as performance and capabilities can vary greatly between different device versions.
Sunday, September 6, 2009
20 Excellent of Free Flash Photo Galleries For Design Inspiration
Might be a good reference for slideshow project:
http://visionwidget.com/inspiration/web/359-ree-flash-photo-galleries.html
http://visionwidget.com/inspiration/web/359-ree-flash-photo-galleries.html
Tuesday, August 25, 2009
FLARToolKit:Augmented Reality+Papervision
This toolkit seems cool:
http://www.insideria.com/2009/05/flarvision-augmented-reality-a.html
Lead Flash Developer at Radical Media, Jesse Freeman, will be talking about AR at Max 2009:
http://www.insideria.com/2009/05/flarvision-augmented-reality-a.html
http://www.insideria.com/2009/05/flarvision-augmented-reality-a.html
Lead Flash Developer at Radical Media, Jesse Freeman, will be talking about AR at Max 2009:
http://www.insideria.com/2009/05/flarvision-augmented-reality-a.html
Sunday, June 28, 2009
More on Finding Memory Leaks
似乎大家都遇到這個問題了
http://blogs.adobe.com/aharui/2009/05/more_on_finding_memory_leaks.html
文中提到css style可以用css module解決?
http://blogs.adobe.com/aharui/2009/05/more_on_finding_memory_leaks.html
文中提到css style可以用css module解決?
Thursday, June 18, 2009
FlexMonkey
FlexMonkey is a testing framework for Flex apps that provides for the capture, replay and verification of Flex UI functionality. FlexMonkey can record and playback Flex UI interactions, and generates ActionScript-based testing scripts that can easily be included within a continuous integration process. It uses the Flex Automation API and was created by extending Adobe's sample automation adapter, AutoQuick.
原始連結
Wednesday, June 10, 2009
Performance 秘技再一發
通常用 viewStack 或 TabNavigator 的時候, 為了趕進度, 我們會把他的 creationPolicy 設成 all, 因為這樣我們就不會遇到 reference 到 null 的 runtime error. 可是當要跑在 Netbook 那種機器時, 就會遇到 memory 用太多, 一開始跑起來不順的問題. 最好的方式是將 viewStack or TabNavigator 的 creationPolicy 設成 queued, 然後在 viewStack裡的 container (例如HBox) 再加 creationComplete event handler. 在 creationComplete event handler 呼叫的 function 裡(例如 creationComplete="created()" 的那個 created function), 再用 callLater, 這樣應該就可以避掉 reference 到 null 的問題了~ 這也就是阿多比建議的 Deferring Instantiation.
Monday, June 8, 2009
降 CPU 和 Memory 的快速解法
每天為了降 CPU 和 Memory 而奮戰, 你累了嗎 ~"~.
服下這四帖藥方, 保證你早上10點半來上班, 下午六點就下班~XD
(雖然是說給AIR App用的, 但網路版依然適用)
是說奇怪ㄋㄟ, 以前版本用一卡車Enter Frame 好像也沒怎樣或太大問題, 還是說以前我們也沒太注意這方面的問題ㄋ??
原文:
http://www.webkitchen.be/2009/06/04/building-cpu-efficient-adobe-air-apps/
http://arno.org/arnotify/2009/05/writing-well-behaved-efficient-air-applications/
服下這四帖藥方, 保證你早上10點半來上班, 下午六點就下班~XD
(雖然是說給AIR App用的, 但網路版依然適用)
- Use the lowest framerate possible (有人建議從 7 個 fps 開始...會不會降太大..=.=)
- Dynamically change the framerate to fit your application needs
- Only use Event.ENTER_FRAME handlers when necessary
- Have as few Event.ENTER_FRAME handlers and Timers as possible
是說奇怪ㄋㄟ, 以前版本用一卡車Enter Frame 好像也沒怎樣或太大問題, 還是說以前我們也沒太注意這方面的問題ㄋ??
原文:
http://www.webkitchen.be/2009/06/04/building-cpu-efficient-adobe-air-apps/
http://arno.org/arnotify/2009/05/writing-well-behaved-efficient-air-applications/
Monday, March 2, 2009
Tuesday, February 10, 2009
Monday, February 9, 2009
Flash CS3如何使用gaforflash
google官方教學
http://code.google.com/apis/analytics/docs/flashTrackingIntro.html
gaforflash是用來 track Flash的librqry+component
優點:不需要變更htm頁面程式碼,原始的方式是要崁入一段javascript
缺點:swf檔會增加40-50k,只支援AS3
-----------------------------------------------
1.先去下載gaforflash
2.把這2個檔analytics.swc,analytics_flash.swc複製
放到CS3安裝路徑下Components的目錄

D:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Components
這裡我建了一個google目錄

3.打開Flash CS3,注意新增檔案必須是as3檔案

4.在component面板就會生出一個google目錄跟2個icon

-----------------------------------------------
使用方式有2種,一種用component
把Analytics從library中拖到場景中
取個名字,我這裡用tracker

1.Account填入你的google analytic的帳號
2.mode填入'AS3'說明請看官方的教學
3.visualDebug是否要顯示debug訊息
填好之後就可以利用他把資料傳給google analytics
-------------------------
另一種方法是用library,把AnalyticsLibrary拖到場景
其實是一模一樣
只是要多寫一些code,但是整個swf的size也沒比較少
http://code.google.com/apis/analytics/docs/flashTrackingIntro.html
gaforflash是用來 track Flash的librqry+component
優點:不需要變更htm頁面程式碼,原始的方式是要崁入一段javascript
缺點:swf檔會增加40-50k,只支援AS3
-----------------------------------------------
1.先去下載gaforflash
2.把這2個檔analytics.swc,analytics_flash.swc複製
放到CS3安裝路徑下Components的目錄

D:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Components
這裡我建了一個google目錄

3.打開Flash CS3,注意新增檔案必須是as3檔案

4.在component面板就會生出一個google目錄跟2個icon

-----------------------------------------------
使用方式有2種,一種用component
把Analytics從library中拖到場景中
取個名字,我這裡用tracker

1.Account填入你的google analytic的帳號
2.mode填入'AS3'說明請看官方的教學
3.visualDebug是否要顯示debug訊息
填好之後就可以利用他把資料傳給google analytics
tracker.trackPageview(s);
-------------------------
另一種方法是用library,把AnalyticsLibrary拖到場景
其實是一模一樣
只是要多寫一些code,但是整個swf的size也沒比較少
import com.google.analytics.AnalyticsTracker;
import com.google.analytics.GATracker;
var tracker:AnalyticsTracker =
new GATracker( this,"UA-6035939-6", "AS3", false);
tracker.trackPageview(s);
Subscribe to:
Posts (Atom)