Posts Tagged flex 3
Flex 3 Profiler
當每一次 flex 的project 完成之後,就要做測試 (這個當然!)。但flex 方面的測試方面,還要好好考慮一下 memory usage 和速度的測試。
以下的slide 就教你怎利用flex 3 的 profiler 去試驗。
買 Creative Suite 4 Web Premium or Master Collection 送 Flex builder 3
只要在 September 15, 2009 之後 買 cs4 web premium or master collection
就可以免費得到,flex builder 3 standard serial number.
只要到https://freeriatools.adobe.com/cs/ 申請就可以了~~
記得啦~買的話,記得申請一個呢~…
[Flex] Problem when tabnavigator + TextInput
When I try to use the tabnavigator component and add a TextInput into one of the view, TextInput is unable to be selected when I click on it. However, using tab in the keyboard can still select the textinput.
If I do not set the focusSkin: Embed(source=”assets/TextInput_focusSkin.png”);, the problem is gone.
I’ve made an example to duplicate the problem.
Environment:
Flash Builder 4
Flex 3.4 SDK
Browser: Firefox 3.5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | < ?xml version="1.0" encoding="utf-8"?> <mx:application xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300" viewSourceURL="srcview/index.html" > <mx:style source="css.css"/> <mx:tabnavigator width="200" height="200"> <mx:canvas label="Tab 1" width="100%" height="100%"> <mx:textinput x="10" y="10" text="test1"/> </mx:canvas> <mx:canvas label="Tab 2" width="100%" height="100%"> <mx:textinput x="10" y="10" text="test2"/> </mx:canvas> <mx:canvas label="Tab 3" width="100%" height="100%"> <mx:textinput x="10" y="10" text="test3"/> </mx:canvas> </mx:tabnavigator> </mx:application> |
[Flex] Flex 3 htmltext property對html tag支援問題
近來chowky 工作上需要利用textarea, text 上面的htmltext 的property,用來支援html。
誰不知~原來flex 3 對html的支援真的非常有限
只是支援以下的tag,看來去好像很多,但連最基本的table都不支援。
- Anchor tag (<a>)
- Bold tag (<b>)
- Break tag (<br>)
- Font tag (<font>)
- Image tag (<img>)
- Italic tag (<i>)
- List item tag (<li>)
- Paragraph tag (<p>)
- Text format tag (<textformat>)
- Underline tag (<u>)
最大問題是image tag 可用程度非常低。
很多的adobe 以知的bugs 都是關於htmltext 的。
所以chowky最尾都是放棄了img tag. 直接parse image,再譯成image class。反而更順利。
(哈,有同事被迫要用..慘…搞到非常大問題,以及用了不少”workaround” 才可以”解決”)
Note: The <img>
tag is not fully supported, and might not work in some cases. (這麼寫法是否想提醒你,不一定可行,自己好自為之)


Recent Comments