5255 readersVia crappydog's Adobe Blog, this article will tell you how to save some data in mobile application. You can use the PersistenceManager save key/value pairs of data in your mobile application. The PersistenceManager provides a simple method to save ...
6089 readersFlex RSLs are notoriously naive with dynamic object instantiation. Consider this application fragment var className:String = "some.flex.class"; var clazz : Class = loaderInfo.applicationDomain.getDefinition(className) as Class; var instance: Object = new clazz(); Suppose the actual class is a descendant of a Panel or it is a Data Transfer Object with the [RemoteClass] annotation. In either case,
2267 readersUsing the enum strategy can save you some heartache if you want to create type safe applications. Say you have a type characteristic of an object. For example, every time you create a new Person(), you can specify a height like new Person("tall"), new Person("average") or new Person("short"). But how do you ensure that you
6618 readersThe PersistenceManager is the data center backbone to your mobile Flex application. The reason you need to think about the persistance layer of your mobile app more than you needed to before in web and desktop development is because of the high probability of interruption and application closure. In web and desktop development if something
1680 readersLet me save you about four hours of debugging. You find yourself in the following situation: in your Flex client, you’ve allocated an instance of flash.net.NetConnection, and added an event listener, myNetStatusListener(), for its NetStatusEvent.NET_STATUS message. You call the instance’s connect() method, and your app runs fine, on every platform, and in every browser. Except
5081 readersThere are times when writing mobile apps that you want to have more fine grained control over the software keyboard and Flex 4.5 makes this very easy. Any object based on InteractiveObject now has a needsSoftKeyboard property, setting this to true will...
4866 readersFlex is a powerful application framework to build first-class mobile applications for iOS, Android, and the BlackBerry PlayBook using a single programming model, a single tool, and a single code base. If you are a Java developer, the Flex programming model is also easy to master because it is syntactically very close to Java. The
7444 readersIts quite a common thing with Flex and actionscript projects to create an Object and inside that object it will have many properties. Something in your view will be bound to the object so that the view changes with the object. So long as you change the entire object this will work fine. Where this
2848 readersMy adventures with Parsley continue! Over the last few evenings, I've extended my previous experiment:Pseudo drag-and-drop - the nodes can now be repositioned with a drag. This code doesn't the Flex DragManager, rather it invokes moveSelectedNode() on the presentation model and then the views with a message handler for SelectedMoveMessage update themselves. DynamicCommands - I've
3846 readersIt is pretty easy to get started with WebORB for PHP for Adobe Flex. Adobe Flex provides front end UI that can communicate with server side php objects using actionscript remoting.What is AS Remoting? Let’s say you have an ActionScript object Account.as which contains accountNumber, accountName parameters. If you wish to save information from user
Empowering, Informing, Connecting Creative Professionals™
The Workflow Network is a collection of Websites, services, and communities built to Empower, Inform, and Connect Creative Professionals. The websites in the Network cover a broad range of topics, services, and functions for creative professionals of many disciplines.