域卡的卜 Vicker’s Blog

Hong Kong Adobe Flash platform (Flex, Flash and AIR) developer
  • rss
  • Home
  • About
  • Resume
  • Flickr
  • Contact

25 了~

Vicker | July 28, 2008 | 12:23 am

一如以往~ 多謝大家先~

 

Peter

Jimmy Lee

Eva

Soki

Adonis

Alethea

Sampson

Olivia

Bert

Carlos

Andy Au Yeung

Victor Leung

Felix

Kit Chai

Jimmy Lam

 

如有遺漏~ 請見諒~

 

今年比較特別~

特別想有一個家 :)

一齊努力~!

Related posts

  • No related posts.
Comments
2 Comments »
Categories
Daily Life
Comments rss Comments rss
Trackback Trackback

Sometimes I hate Flex… Sometimes

Vicker | July 24, 2008 | 7:15 pm

Don’t get it wrong… I am not leaving Flex, most of my current developments still rely on it and I am sure it will last for several more years.

Working with Flex for nearly two years. I am sure I have the right choice however sometimes Flex do makes me mad.

  • SWFLoader content can’t be unloaded completely.
    (How many times you try to replace a loader content but you notice the content music never gone away)
  • VideoDisplay component doesn’t play .flv correctly…
    Not even those produced by Flash Video Encoder…
  • Non standard CSS
  • Math.floor (Math.random () * 4) + 6
    (Oh my god… I just want a random integer)
  • Smooth scroll List
  • Disabling Ctrl key during drag move
  • Gradient fill Container
  • Full screen Keyboard input…
    (I understand security… but that should be user’s responsibility… not developer’s obstacle) 
Flex Builder related…
  • Why can’t I export my syntax coloring settings? 
  • I don’t know which part I haven’t done yet… WHERE’S MY TODO!?!?
  • Auto building get set function please…
To be continue…
Adobe…. please… I love advancedDataGrid… but fix the old ones first…

Related posts

  • Munsang College Biology Department Website version 3 始動~! (0)
  • 時光倒流第一集 - Adobe Flex Workshop (0)
  • Flex FAQ#4: 利用 Adobe Flex 做 Video Player (0)
Comments
No Comments »
Categories
Flex
Tags
Adobe, AdvancedDataGrid, CSS, flash video encoder, Flex, Flex Builder, flv, VideoDisplay
Comments rss Comments rss
Trackback Trackback

Flex FAQ #5: 點樣做 Full Screen Application

Vicker | July 12, 2008 | 2:23 am

Flex application 有一個特點就係可以完全跳出 web browser o既框架

Adobe AIR 當然係其中一種做法~

但係 Flash player 本身 support full screen mode

所以直接用 full screen mode 就比起 AIR 直接同快喇~!

 

要用 full screen mode 首先要改動 SWFObject 或者 Object tag

主要係加入 allowFullScreen 呢個 parameter

以 Flex Builder o既 HTML template 為例

 

SWFObject:


AC_FL_RunContent(
	"src", "${swf}",
	"width", "${width}",
	"height", "${height}",
	"align", "middle",
	"id", "${application}",
	"quality", "high",
	"bgcolor", "${bgcolor}",
	"name", "${application}",
	"allowScriptAccess","sameDomain",
	"type", "application/x-shockwave-flash",
	"pluginspage", "http://www.adobe.com/go/getflashplayer"
);

 

Object tag: (要留意加左兩個地方~!)


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="${application}" width="${width}" height="${height}"
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
	<param name="movie" value="${swf}.swf" />
	<param name="quality" value="high" />
	<param name="bgcolor" value="${bgcolor}" />
	<param name="allowScriptAccess" value="sameDomain" />
	<param name="allowFullScreen" value="true" />
	<embed src="${swf}.swf" quality="high" bgcolor="${bgcolor}"
		width="${width}" height="${height}" name="${application}" align="middle"
		play="true"
		loop="false"
		quality="high"
		allowScriptAccess="sameDomain"
		allowFullScreen="true"
		type="application/x-shockwave-flash"
		pluginspage="http://www.adobe.com/go/getflashplayer">
	</embed>
</object>

 

之後 within Flex application 就可以利用 stage.displayState 開動 full screen


stage.displayState = StageDisplayState.FULL_SCREEN;

 

如果想做到 toggle full screen effect 可以利用簡單既 if… else… statement


if (stage.displayState == StageDisplayState.NORMAL)
{
	stage.displayState = StageDisplayState.FULL_SCREEN;
}
else
{
	stage.displayState = StageDisplayState.NORMAL;
}

 

 

但係要留意一點~ Full screen mode o既所有 text field 係唔可以 edit 架…

講真… 咁o既 limitation 可以話將個 application 廢左武功…

暫時都無解決辦法… Astro 都唔得…

 

Adobe Labs - Flash Player 10 Beta Release Notes

http://labs.adobe.com/technologies/flashplayer10/releasenotes.html

Limited Fullscreen Keyboard Access — In Flash Player 10, key events are supported for non-printing keys such as arrows, shift, enter, tab, space, etc.  Limited access to the keyboard will allow fullScreen games and video controls with keyboard access in a secure way.

 

背後o既原因係擔心有人 develop 假既 OS login page…

都好無奈… 如果咁既話所有 web browser o既 full screen mode 都應該 disable text input…

 

Adobe Labs - Talk:Flash Player:9:Update:Full-Screen Mode

http://labs.adobe.com/wiki/index.php/Talk:Flash_Player:9:Update:Full-Screen_Mode#Why_suspend_key_input.3F

When considering this feature, several security concerns impacted our decisions for this first release. The reason keyboard input was blocked was to help prevent phishing attacks using Flash, where full-screen is used to simulate a log-in screen, someone else’s website, etc. This also impacted our decision to add the overlay to visually inform the user that something had changed and they were in a new state.

English title: How to develop full screen application

Related posts

  • 時光倒流第一集 - Adobe Flex Workshop (0)
  • Sometimes I hate Flex… Sometimes (0)
  • Flex FAQ #3: 點樣用 Flex FileReference 下載檔案 (0)
Comments
No Comments »
Categories
Flex, RIA
Tags
Adobe, AIR, displayState, Flex, Flex Builder, Flex FAQ, full screen, stage, StageDisplayState
Comments rss Comments rss
Trackback Trackback

Adobe MAX 2008

Vicker | July 4, 2008 | 12:51 am

MAX 2008 已經 open 左 registration 一段時間~

要 reg 就要快 d o係 early bird 完之前 reg 喇~

 

2 年前去過 MAX Vegas

大開眼界而且完全改變左自己既 development path

呢 2 年可以話係賺晒~

今年 MAX San Francisco focus 將會係 Flex 4 同 Thermo 非常期待~!

希望趕得切儲錢去啦~ 哈哈

 

大家留意下 MAX 既 banner~

好有 Indianna Jones feel…

硬係覺得隻 MAX 係 Ted Patrick…

 

P.S. MAX 2009 都好吸引~ 哈哈

 

Adobe MAX 2008 NA

http://max.adobe.com/na/experience/

 

Adobe MAX 2008

http://max.adobe.com/

Related posts

  • Flex FAQ #5: 點樣做 Full Screen Application (0)
  • Adobe MAX 2006 Scheduler (0)
  • 繁忙的秋天 (0)
Comments
No Comments »
Categories
Daily Life, Flex, RIA
Tags
Adobe MAX, AIR, Flex, Ted Patrick, Thermo
Comments rss Comments rss
Trackback Trackback

Google 同 Yahoo! improve Flash indexing

Vicker | July 1, 2008 | 11:07 pm

今日 Google o係 webmaster central blog 公布左佢地已經 improve 左 Flash content 既 indexing power

所有 version 既 Flash content o係唔需要改動既情況底下都可以得到更好既 indexing result

 

同一時間 Adobe 亦o係 Adobe Developer Center 發表左 SWF searchability FAQ

裡面除左有耳熟能詳既 marketing slogan 之外

The openly published SWF specification describes the file format used to deliver rich applications and interactive content via Adobe Flash Player, which is installed on more than 98 percent of Internet-connected computers”

亦有提及到背後既原理

以及 Yahoo! 都會於稍後 update search engine

 

的確~ 咁多年以黎 Flash 都比人彈 SEO

每一次我幫人做 project analysis 既時候

第一句都係問 “application base” 定 “content base”

今次呢個 news 的確幾吸引~

但係問題係唔係就咁就解決呢?!?!

我地係唔係唔再需要寫特登寫 XHTML version / XSL / 一大堆 supportive AS?!?!

言之尚早~!

 

At least… Munsang Biology web d content 仲未 index 到~ 哈哈

 

Anyway~ should be a great start!

 

詳情:

Improved Flash indexing by Google Webmaster Central Blog
http://googlewebmastercentral.bl … flash-indexing.html

SWF searchability FAQ by Adobe Developer Center
http://www.adobe.com/devnet/flas … _searchability.html

Related posts

  • Flex FAQ #3: 點樣用 Flex FileReference 下載檔案 (0)
  • Essential ActionScript 3.0 and ActionScript 3.0 Design Patterns (0)
  • 實力? 運氣? 我信運多 d… (0)
Comments
No Comments »
Categories
Flex, RIA, Web Usability
Tags
ActionScript, Adobe, Flash, Google, SEO, SWF, XHTML, XSL, Yahoo
Comments rss Comments rss
Trackback Trackback

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Certification


Adobe MAX 2008

Categories

Archives

Tag Cloud

ACSS WCAG FLABER job hunting WYSIWYG prototype Cyber Formula VideoDisplay XHTML WMV Andy Chun YouTube PS2 Eva Shi Munsang College web page flysforum WarCraft component PHP Flex FAQ Apple AIR Tim Shiu presentation design pattern JAWS HTML Misaki Ito Lego algorithm Adobe textformat exhibition hyperlink sitemap FYP UI textfield Battlenet hea CityU Google birthday MovieClip braille business Gary Wong OSS HKICTA family depth manager ActionScript suck gundam Web Usability bobby color selector CSS stylesheet W3C frame protoype Flash meta Yahoo Molyx the core blog Flex Builder form good dog u bt Flex webxact Hacken Lee Laszlo music Chris Liang Densha Otoko accessibility AdvancedDataGrid flysbookmark freelance Adobe MAX APICTA Mac include John Koch MOV flv Experts Exchange XML OO validation color form assembly SEO Macromedia flash video encoder

Flickr

0511_web_usability_asg_a.jpg 0509_battle_system_1_5.jpg 0601_flaber_0_4_7.jpg dojang1.jpg english2.jpg vector_td msc_bio_v3_1.png wanshan.jpg iad2.jpg msc_bio_v2_3.png 467138530_19ab43538e_o 11092007102.jpg 0511_web_usability_asg_b.jpg msc_bio_v1_2.png 469811325_48b2617196_b diarybox1.jpg

Blogroll

  • Eva’s Blog
  • Way’s Blog

RSS FxAIR.org

  • ActionScript for Random Numberic Text Lucky Draw
  • Post in cookbook to win a copy of Flex 3 Pro
  • Adobe Flash Player 10 Release is out
  • Adobe CS4 Launch Seminar
  • Flex 3 + external swf with embedded video
  • Flex & AIR @ BarCamp Hong Kong on 6 Sep.
  • Mojave Experiment by Microsoft
  • FotoViewr beta
  • RIAJobs
  • Cairngorm on opensource.adobe.com
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox