06 2011 档案
对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
阅读全文
Adobe AIR and Flex - Saving Serialized Objects to File
摘要:When creating any desktop application there is almost always a time when you need to store data on the computer. Now with Adobe AIR we have several options. One would be that we could use the built-in SQLite database support, for a small amount of data this is overkill. Another option is that we cou
阅读全文
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号