随笔分类 - flex
Taskbar height in Windows OS ?
摘要:[source adress]http://cookbooks.adobe.com/post_Taskbar_height_in_Windows_OS__-10823.htmlProblemI want to alert my users like MSN alert when new user login or new email , but i can't determine the height of the taskbar to display my alert window above it :( .SolutionMake new invisible window with
阅读全文
Using a Delete button to a DataGrid to remove rows.
摘要:ProblemI'd like to have a Delete button in a DataGrid column, and when that button is clicked, that row of the DataGrid is removed.SolutionIn the Delete button click handler, access the DataGrid dataProvider and use the selectedIndex property to delete the item.Detailed explanationI'd like t
阅读全文
Understanding Flex itemRenderers
摘要:Understanding Flex itemRenderers – Part 1: Inline renderersUnderstanding Flex itemRenderers – Part 2: External renderersUnderstanding Flex itemRenderers – Part 3: CommunicationUnderstanding Flex itemRenderers – Part 4: States and transitionsUnderstanding Flex itemRenderers – Part 5: Efficiency
阅读全文
Using the Button component
摘要:[source adress]http://www.adobe.com/devnet/flash/quickstart/button_component_as3.html[具体内容点击上方链接]The Button component is a resizable, rectangular button that a user can press with the mouse or the spacebar to initiate an action in the application. You can add a custom icon to a Button instance. You
阅读全文
How to validate radio buttons
摘要:[source adress]http://cookbooks.adobe.com/post_How_to_validate_radio_buttons_2-5962.html?w=relProblemFlex offers great supports for data entry validation of controls like TextInput but for other controls like radio buttons or combo-boxes, you need to add a bit more. This entry shows how to validate
阅读全文
Detecting when data is edited in the DataGrid component
摘要:[source adress]http://www.adobe.com/devnet/flash/articles/detecting_datagrid_edits.html因为文章中含有flash,所以没有转载。该文为经典中的经典,值得一看。
阅读全文
Handling data updates with the Flex AS3 DataGrid
摘要:[source adress]http://verysimple.com/2008/09/10/handling-data-updates-with-the-flex-as3-datagrid/[More like this]Detecting when data is edited in the DataGrid componentUPDATE: I don’t actually follow this technique because, although I feel it is technically correct, nobody seems to do it and Adobe d
阅读全文
对NavigatorContent应用Scroller
摘要:officeAnywhere项目:需要把form放在NavigatorContent内,折腾了半天都报错。查阅官方示例后发现,Scroller标签内必须有且只有一个容器(在此例中该容器为Group)。View Code <?xml version="1.0" encoding="utf-8"?><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xml
阅读全文
Let's Use Chinaese in Flex Successfully
摘要:[原]1. If you are developing flex based in RIA, pleaseedit the file bellow:安装目录\sdks\4.0.0\frameworks\air-config.xml 1) find the node : <managers> <manager-class>flash.fonts.JREFontManager</manager-class> <manager-class>flash.fonts.BatikFontManager</manager-class> <ma
阅读全文
SingleTon Pattern in Flex
摘要:What is singleton pattern?The singleton pattern is a design pattern that is used to restrict instantiation of a class to one object. If you create the class as a singleton then no way to create more than one instance. But, you can get that single instance in any number of classes. So all the classes
阅读全文
Maintaining Login Data in Flex
摘要:User specific login information is usually stored in session variables in any web application. However, Flex doesnt have anything called session variables in it. So how do we save this information across the whole application. Static classes come to the rescue here. This can also be achieved by use
阅读全文
Secure login using the EncryptedLocalStore in Adobe AIR
摘要:Adobe AIR has a quick and safe way to store encrypted user data when building applications. Data such as login and password can be persisted in the application using the EncryptedLocalStore available for AIR applications.To demonstrate this, I wrote a quick demo application that will store username
阅读全文
How to create an in-memory database in AIR using ActionScript and JavaScript
摘要:One of my favourite AIR features is the support of creating local database file using SQLite embedded engine. If you have SQL skills it'll be easy to storing persistent local data to your desktop application. You can use this feature to store application data, favourite users' configuration
阅读全文
浙公网安备 33010602011771号