OldHawk

菜地一块,欢迎拍砖
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页

2008年1月13日

摘要: The following example shows how to specify a effect which gets played when an Alert control is displayed by setting the Alert control’s creationCompleteEffect style. You can also see how to embed both the normal and bold font using CSS and @font-face 阅读全文

posted @ 2008-01-13 16:03 OldHawk 阅读(10887) 评论(0) 推荐(1) 编辑

摘要: The following example shows how you can use the PopUpManager class to launch an modal Image control. 阅读全文

posted @ 2008-01-13 15:59 OldHawk 阅读(436) 评论(0) 推荐(0) 编辑

摘要: Well, I played around with it briefly this evening and it seems that you can get individual accordion headings using the Accordion class’s getHeaderAt() method, then it is just a matter of saving that reference in a variable, or applying a style directly to the returned Button reference. The example itself is pretty simple, but I’m sure the same principles apply to other styles as well 阅读全文

posted @ 2008-01-13 15:53 OldHawk 阅读(625) 评论(0) 推荐(0) 编辑

摘要: The following example shows how you can use the static UIDUtil.getUID() method to generate and retreive a unique identifier for an Object. The first time you click the Display UID button, an Alert control displays the generated UID and a string representation of the Object (yay ObjectUtil.toString()!). The second time you click the Display UID button, you’ll notice that a new parameter is added to the Object, mx_internal_uid 阅读全文

posted @ 2008-01-13 15:49 OldHawk 阅读(377) 评论(0) 推荐(1) 编辑

摘要: following example shows how you can style individual tabs in a Flex TabBar control by calling the getChildAt() method on the tab bar, and then calling setStyle() on the returned Tab reference 阅读全文

posted @ 2008-01-13 15:41 OldHawk 阅读(461) 评论(0) 推荐(0) 编辑

摘要: The following example shows how you can create a linear gradient fill for a ColumnSeries in Flex 阅读全文

posted @ 2008-01-13 15:38 OldHawk 阅读(963) 评论(0) 推荐(0) 编辑

摘要: In the following example, we look at how to add a nice animation effect with some easing to make the effect a bit more smooth 阅读全文

posted @ 2008-01-13 15:31 OldHawk 阅读(1120) 评论(1) 推荐(0) 编辑

摘要: I’ve been playing around with Flex Modules lately and thought I’d post this. It’s pretty basic, but it is kind of a “my first module” type experiment. I tried to show a few different things including: calling a module’s methods from the parent application as well as setting properties in the parent application from the loaded module 阅读全文

posted @ 2008-01-13 15:19 OldHawk 阅读(658) 评论(0) 推荐(0) 编辑

摘要: OK, I learnt this trick a few weeks ago from a co-worker. A user emailed me and asked if it was possible to embed an HTML/text file in a Flex application rather than having to load the files at runtime, similar to how you can embed images or whatnot. Not being certain, I asked the team and got this response… 阅读全文

posted @ 2008-01-13 15:10 OldHawk 阅读(494) 评论(0) 推荐(0) 编辑

摘要: Another basic little example showing how to format the text in a DateField control using the DateFormatter and the DateField control’s labelFunction property. This entry also shows the pretty basic trick of creating a separate ActionScript class file that holds the day names as constants so you don’t constantly have to think whether Monday is day 0 or day 1 (hint: it is day 1). 阅读全文

posted @ 2008-01-13 15:04 OldHawk 阅读(354) 评论(0) 推荐(0) 编辑

摘要: The following example shows how you can use the FileReference class’s browse() method to allow users to select and upload a single file to a Web server 阅读全文

posted @ 2008-01-13 14:57 OldHawk 阅读(588) 评论(1) 推荐(0) 编辑

摘要: The following example downloads a ZIP file when the user presses the Button control. You can mouse over the items in the DataGrid control’s “Type” column to see additional event information 阅读全文

posted @ 2008-01-13 14:38 OldHawk 阅读(619) 评论(0) 推荐(0) 编辑

摘要: The following example shows how you can sort an XML document by converting it into an XMLListCollection and applying a sort. You can also easily reverse the current sort by calling the SortField object’s reverse() method and refreshing the XMLListCollection object 阅读全文

posted @ 2008-01-13 14:31 OldHawk 阅读(504) 评论(0) 推荐(0) 编辑

2008年1月12日

摘要: Flash CS3 中文帮助 在线看吧,挺不错的。 阅读全文

posted @ 2008-01-12 22:31 OldHawk 阅读(402) 评论(0) 推荐(0) 编辑

2008年1月11日

摘要: FlexSpy 是一个开源的Flex 组件,这个组件很有用,它可以在运行时查看程序内各个组件的属性 阅读全文

posted @ 2008-01-11 23:08 OldHawk 阅读(1638) 评论(2) 推荐(1) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页